diff --git a/CHANGELOG.md b/CHANGELOG.md index b5eeaf30..f0629af3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## Next Release + +- Fixes an issue with how query params were sent when using the `addCreditCard` function + ## v7.4.1 (2024-08-09) - Fix parameters for retrieving next page of child users diff --git a/examples b/examples index b1f3d75c..0492e408 160000 --- a/examples +++ b/examples @@ -1 +1 @@ -Subproject commit b1f3d75c324c2894a6d5c622ee0b31bcc6e1acb3 +Subproject commit 0492e408e1b37b2ec18bcb4a4d228ab0f458f59d diff --git a/lib/EasyPost/Http/Requestor.php b/lib/EasyPost/Http/Requestor.php index 648c5e33..0909bbde 100644 --- a/lib/EasyPost/Http/Requestor.php +++ b/lib/EasyPost/Http/Requestor.php @@ -91,41 +91,6 @@ private static function encodeObjects(mixed $data): array|string } } - /** - * URL Encodes data for GET requests. - * - * @param mixed $arr - * @param string|null $prefix - * @return string - */ - public static function urlEncode(mixed $arr, ?string $prefix = null): string - { - if (!is_array($arr)) { - return $arr; - } - - $r = []; - foreach ($arr as $k => $v) { - if (is_null($v)) { - continue; - } - - if (isset($prefix)) { - $k = $prefix . '[' . $k . ']'; - } else { - $k = $prefix . '[]'; - } - - if (is_array($v)) { - $r[] = self::urlEncode($v, $k); - } else { - $r[] = urlencode($k) . '=' . urlencode($v); - } - } - - return implode('&', $r); - } - /** * Make a request to the EasyPost API. * diff --git a/lib/EasyPost/Service/ReferralCustomerService.php b/lib/EasyPost/Service/ReferralCustomerService.php index 98c7dffe..b7377045 100644 --- a/lib/EasyPost/Service/ReferralCustomerService.php +++ b/lib/EasyPost/Service/ReferralCustomerService.php @@ -162,11 +162,11 @@ private function createStripeToken( ] ]; - $formEncodedParams = Requestor::urlEncode($creditCardDetails); - $url = "https://api.stripe.com/v1/tokens?$formEncodedParams"; + $url = 'https://api.stripe.com/v1/tokens'; $guzzleClient = new Client(); + $requestOptions['query'] = $creditCardDetails; $requestOptions['headers'] = $headers; $requestOptions['http_errors'] = false; diff --git a/test/EasyPost/BetaReferralCustomerTest.php b/test/EasyPost/BetaReferralCustomerTest.php index 598b7e0b..9cf90bb1 100644 --- a/test/EasyPost/BetaReferralCustomerTest.php +++ b/test/EasyPost/BetaReferralCustomerTest.php @@ -44,7 +44,7 @@ public function testAddPaymentMethod(): void 'primary' ); } catch (ApiException $error) { - $this->assertEquals('Invalid Payment Gateway Reference.', $error->getMessage()); + $this->assertEquals('Invalid connect integration.', $error->getMessage()); } } diff --git a/test/EasyPost/Fixture.php b/test/EasyPost/Fixture.php index 8948e591..79b7bd5c 100644 --- a/test/EasyPost/Fixture.php +++ b/test/EasyPost/Fixture.php @@ -55,11 +55,6 @@ public static function reportDate(): string return '2022-04-09'; } - public static function webhookUrl(): string - { - return self::readFixtureData()['webhook_url']; - } - /** * @return array */ @@ -156,7 +151,7 @@ public static function oneCallBuyShipment(): array */ public static function basicPickup(): array { - $pickupDate = '2023-11-24'; + $pickupDate = '2024-08-18'; $pickupData = self::readFixtureData()['pickups']['basic']; $pickupData['min_datetime'] = $pickupDate; @@ -206,7 +201,25 @@ public static function eventBytes(): mixed $eventBytesFilepath = file("$currentDir/examples/official/fixtures/event-body.json"); $data = $eventBytesFilepath[0]; - return mb_convert_encoding(json_encode(json_decode($data, true)), 'UTF-8', mb_list_encodings()); + return mb_convert_encoding(json_encode( + json_decode($data, true), + JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE + ), 'UTF-8'); + } + + public static function webhookHmacSignature(): string + { + return self::readFixtureData()['webhook_hmac_signature']; + } + + public static function webhookSecret(): string + { + return self::readFixtureData()['webhook_secret']; + } + + public static function webhookUrl(): string + { + return self::readFixtureData()['webhook_url']; } /** @@ -234,7 +247,7 @@ public static function rmaFormOtions(): array */ public static function plannedShipDate(): string { - return '2024-07-16'; + return '2024-08-16'; } /** @@ -242,7 +255,7 @@ public static function plannedShipDate(): string */ public static function desiredDeliveryDate(): string { - return '2024-07-16'; + return '2024-08-18'; } /** diff --git a/test/EasyPost/OrderTest.php b/test/EasyPost/OrderTest.php index 93b5d923..a5e704d2 100644 --- a/test/EasyPost/OrderTest.php +++ b/test/EasyPost/OrderTest.php @@ -128,13 +128,13 @@ public function testLowestRate(): void // Test lowest rate with no filters $lowestRate = $order->lowestRate(); $this->assertEquals('GroundAdvantage', $lowestRate['service']); - $this->assertEquals('11.33', $lowestRate['rate']); + $this->assertEquals('11.40', $lowestRate['rate']); $this->assertEquals('USPS', $lowestRate['carrier']); // Test lowest rate with service filter (this rate is higher than the lowest but should filter) $lowestRate = $order->lowestRate([], ['Priority']); $this->assertEquals('Priority', $lowestRate['service']); - $this->assertEquals('13.79', $lowestRate['rate']); + $this->assertEquals('14.48', $lowestRate['rate']); $this->assertEquals('USPS', $lowestRate['carrier']); // Test lowest rate with carrier filter (should error due to bad carrier) diff --git a/test/EasyPost/ReferralCustomerTest.php b/test/EasyPost/ReferralCustomerTest.php index 7411675a..300122fa 100644 --- a/test/EasyPost/ReferralCustomerTest.php +++ b/test/EasyPost/ReferralCustomerTest.php @@ -132,7 +132,7 @@ public function testReferralAddCreditCard(): void Fixture::creditCardDetails()['cvc'] ); - $this->assertStringMatchesFormat('card_%s', $creditCard->id); + $this->assertStringMatchesFormat('pm_%s', $creditCard->id); $this->assertEquals('6170', $creditCard->last4); } } diff --git a/test/EasyPost/ShipmentTest.php b/test/EasyPost/ShipmentTest.php index b68e534e..622d363d 100644 --- a/test/EasyPost/ShipmentTest.php +++ b/test/EasyPost/ShipmentTest.php @@ -356,7 +356,7 @@ public function testLowestRate(): void // Test lowestRate with service filter (this rate is higher than the lowest but should filter) $lowestRate = $shipment->lowestRate([], ['Priority']); $this->assertEquals('Priority', $lowestRate['service']); - $this->assertEquals('6.95', $lowestRate['rate']); + $this->assertEquals('6.90', $lowestRate['rate']); $this->assertEquals('USPS', $lowestRate['carrier']); // Test lowestRate with carrier filter (should error due to bad carrier) diff --git a/test/EasyPost/WebhookTest.php b/test/EasyPost/WebhookTest.php index 40576f4b..8c8d3b5b 100644 --- a/test/EasyPost/WebhookTest.php +++ b/test/EasyPost/WebhookTest.php @@ -129,15 +129,14 @@ public function testDelete(): void */ public function testValidateWebhook(): void { - $webhookSecret = 'sécret'; - $expectedHmacSignature = 'hmac-sha256-hex=e93977c8ccb20363d51a62b3fe1fc402b7829be1152da9e88cf9e8d07115a46b'; $headers = [ - 'X-Hmac-Signature' => $expectedHmacSignature + 'X-Hmac-Signature' => Fixture::webhookHmacSignature() ]; - $webhookBody = Util::validateWebhook(Fixture::eventBytes(), $headers, $webhookSecret); + $webhookBody = Util::validateWebhook(Fixture::eventBytes(), $headers, Fixture::webhookSecret()); - $this->assertEquals('batch.created', $webhookBody->description); + $this->assertEquals('tracker.updated', $webhookBody->description); + $this->assertEquals(614.4, $webhookBody->result->weight); // Ensure we convert floats properly } /** diff --git a/test/cassettes/addresses/all.yml b/test/cassettes/addresses/all.yml index c6f7788f..bbcd313c 100644 --- a/test/cassettes/addresses/all.yml +++ b/test/cassettes/addresses/all.yml @@ -21,57 +21,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: ae35d0b6656641d7e7886e4700175c10 + x-ep-request-uuid: e181587a66bcebf7e2b8ff920086f4cf cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '3082' - x-runtime: '0.040093' - x-node: bigweb42nuq - x-version-label: easypost-202311250013-a0f06fbc2c-master + content-length: '3098' + x-runtime: '0.034021' + x-node: bigweb43nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-canary: direct + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"addresses":[{"id":"adr_664b3834897e11ee97edac1f6bc539aa","object":"Address","created_at":"2023-11-22T21:30:47+00:00","updated_at":"2023-11-22T21:30:47+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},{"id":"adr_66464b3b897e11eea668ac1f6bc53342","object":"Address","created_at":"2023-11-22T21:30:46+00:00","updated_at":"2023-11-22T21:30:46+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},{"id":"adr_656e3fc6897e11eea5eaac1f6bc53342","object":"Address","created_at":"2023-11-22T21:30:45+00:00","updated_at":"2023-11-22T21:30:45+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},{"id":"adr_656a6a19897e11ee976dac1f6bc539aa","object":"Address","created_at":"2023-11-22T21:30:45+00:00","updated_at":"2023-11-22T21:30:45+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},{"id":"adr_0f6a4181897e11ee8a77ac1f6bc539ae","object":"Address","created_at":"2023-11-22T21:28:21+00:00","updated_at":"2023-11-22T21:28:21+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}}],"has_more":true}' + body: '{"addresses":[{"id":"adr_3f3c6e495a6411ef878b3cecef1b359e","object":"Address","created_at":"2024-08-14T17:40:07+00:00","updated_at":"2024-08-14T17:40:07+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":[]},{"id":"adr_3f2595325a6411efba7fac1f6bc53342","object":"Address","created_at":"2024-08-14T17:40:07+00:00","updated_at":"2024-08-14T17:40:07+00:00","name":null,"company":"EasyPost","street1":"000 unknown street","street2":null,"city":"Not A City","state":"ZZ","zip":"00001","country":"US","phone":"","email":"","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}],"details":null},"delivery":{"success":false,"errors":[{"code":"E.ADDRESS.NOT_FOUND","field":"address","message":"Address not found","suggestion":null}],"details":[]}}},{"id":"adr_3f0b9c3a5a6411ef8911ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:40:07+00:00","updated_at":"2024-08-14T17:40:07+00:00","name":null,"company":"EasyPost","street1":"000 unknown street","street2":null,"city":"Not A City","state":"ZZ","zip":"00001","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},{"id":"adr_3ef601475a6411ef8909ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:40:07+00:00","updated_at":"2024-08-14T17:40:07+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},{"id":"adr_3ed90f725a6411efba51ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:40:06+00:00","updated_at":"2024-08-14T17:40:06+00:00","name":null,"company":"EasyPost","street1":"000 unknown street","street2":null,"city":"Not A City","state":"ZZ","zip":"00001","country":"US","phone":"","email":"","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}],"details":null},"delivery":{"success":false,"errors":[{"code":"E.ADDRESS.NOT_FOUND","field":"address","message":"Address not found","suggestion":null}],"details":[]}}}],"has_more":true}' curl_info: url: 'https://api.easypost.com/v2/addresses?page_size=5' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 689 - request_size: 297 + header_size: 707 + request_size: 298 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.272734 - namelookup_time: 0.026269 - connect_time: 0.097831 - pretransfer_time: 0.166536 + total_time: 0.131108 + namelookup_time: 0.001555 + connect_time: 0.03113 + pretransfer_time: 0.062682 size_upload: 0.0 - size_download: 3082.0 - speed_download: 11300.0 + size_download: 3098.0 + speed_download: 23629.0 speed_upload: 0.0 - download_content_length: 3082.0 + download_content_length: 3098.0 upload_content_length: 0.0 - starttransfer_time: 0.272649 + starttransfer_time: 0.131084 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.21 - local_port: 53927 + local_ip: 192.168.1.75 + local_port: 52731 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 166507 - connect_time_us: 97831 - namelookup_time_us: 26269 - pretransfer_time_us: 166536 + scheme: https + appconnect_time_us: 62642 + connect_time_us: 31130 + namelookup_time_us: 1555 + pretransfer_time_us: 62682 redirect_time_us: 0 - starttransfer_time_us: 272649 - total_time_us: 272734 + starttransfer_time_us: 131084 + total_time_us: 131108 effective_method: GET capath: '' cainfo: '' diff --git a/test/cassettes/addresses/create.yml b/test/cassettes/addresses/create.yml index ed2935e6..52b1ef83 100644 --- a/test/cassettes/addresses/create.yml +++ b/test/cassettes/addresses/create.yml @@ -14,8 +14,7 @@ body: '{"address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef9121655e64afe7885562001f86fc + x-ep-request-uuid: e181587766bcebf6e2b8ff730086f32e cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/addresses/adr_d9ceb38b897511eeba09ac1f6bc53342 + location: /api/v2/addresses/adr_3eaaf0ca5a6411efba32ac1f6bc53342 content-type: 'application/json; charset=utf-8' content-length: '461' - x-runtime: '0.034876' - x-node: bigweb42nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.034509' + x-node: bigweb36nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"adr_d9ceb38b897511eeba09ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:29:35+00:00","updated_at":"2023-11-22T20:29:35+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":[]}' + body: '{"id":"adr_3eaaf0ca5a6411efba32ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:40:06+00:00","updated_at":"2024-08-14T17:40:06+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":[]}' curl_info: url: 'https://api.easypost.com/v2/addresses' content_type: 'application/json; charset=utf-8' @@ -47,33 +46,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.228187 - namelookup_time: 0.003457 - connect_time: 0.065705 - pretransfer_time: 0.129381 + total_time: 0.132585 + namelookup_time: 0.002263 + connect_time: 0.031664 + pretransfer_time: 0.065141 size_upload: 195.0 size_download: 461.0 - speed_download: 2020.0 - speed_upload: 854.0 + speed_download: 3477.0 + speed_upload: 1470.0 download_content_length: 461.0 upload_content_length: 195.0 - starttransfer_time: 0.228171 + starttransfer_time: 0.132502 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53373 + local_ip: 192.168.1.75 + local_port: 52723 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 129351 - connect_time_us: 65705 - namelookup_time_us: 3457 - pretransfer_time_us: 129381 + scheme: https + appconnect_time_us: 65070 + connect_time_us: 31664 + namelookup_time_us: 2263 + pretransfer_time_us: 65141 redirect_time_us: 0 - starttransfer_time_us: 228171 - total_time_us: 228187 + starttransfer_time_us: 132502 + total_time_us: 132585 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/addresses/createAndVerify.yml b/test/cassettes/addresses/createAndVerify.yml index 8cba41a0..8cf9a367 100644 --- a/test/cassettes/addresses/createAndVerify.yml +++ b/test/cassettes/addresses/createAndVerify.yml @@ -23,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 86adb732659c404cf442558a00049ac7 + x-ep-request-uuid: e181587c66bcebf8e2b8ff950086f559 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/addresses/adr_9cbc828aae5411eeab933cecef1b359e + location: /api/v2/addresses/adr_3fb9f3e55a6411ef8956ac1f6bc539ae content-type: 'application/json; charset=utf-8' content-length: '658' - x-runtime: '0.068169' - x-node: bigweb42nuq - x-version-label: easypost-202401051829-4cf193bd35-master + x-runtime: '0.063154' + x-node: bigweb40nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq ab82b2e6e9', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"address":{"id":"adr_9cbc828aae5411eeab933cecef1b359e","object":"Address","created_at":"2024-01-08T18:34:52+00:00","updated_at":"2024-01-08T18:34:52+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}}}' + body: '{"address":{"id":"adr_3fb9f3e55a6411ef8956ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:40:08+00:00","updated_at":"2024-08-14T17:40:08+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}}}' curl_info: url: 'https://api.easypost.com/v2/addresses/create_and_verify' content_type: 'application/json; charset=utf-8' @@ -46,35 +46,35 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.216729 - namelookup_time: 0.00148 - connect_time: 0.05786 - pretransfer_time: 0.113484 + total_time: 0.161718 + namelookup_time: 0.003701 + connect_time: 0.033281 + pretransfer_time: 0.065123 size_upload: 195.0 size_download: 658.0 - speed_download: 3036.0 - speed_upload: 899.0 + speed_download: 4068.0 + speed_upload: 1205.0 download_content_length: 658.0 upload_content_length: 195.0 - starttransfer_time: 0.2167 + starttransfer_time: 0.16168 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 172.168.100.149 - local_port: 49756 + local_ip: 192.168.1.75 + local_port: 52734 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 113404 - connect_time_us: 57860 - namelookup_time_us: 1480 - pretransfer_time_us: 113484 + scheme: https + appconnect_time_us: 65072 + connect_time_us: 33281 + namelookup_time_us: 3701 + pretransfer_time_us: 65123 redirect_time_us: 0 - starttransfer_time_us: 216700 - total_time_us: 216729 + starttransfer_time_us: 161680 + total_time_us: 161718 effective_method: POST capath: '' cainfo: '' diff --git a/test/cassettes/addresses/createVerify.yml b/test/cassettes/addresses/createVerify.yml index e9a1a63b..9c901ff4 100644 --- a/test/cassettes/addresses/createVerify.yml +++ b/test/cassettes/addresses/createVerify.yml @@ -23,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 86adb731659c404bf0217dff00049a1c + x-ep-request-uuid: e181587a66bcebf6e2b8ff740086f365 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/addresses/adr_9c2de863ae5411ee9781ac1f6bc539ae + location: /api/v2/addresses/adr_3ec0f9db5a6411ef88f0ac1f6bc539ae content-type: 'application/json; charset=utf-8' content-length: '453' - x-runtime: '0.045270' - x-node: bigweb35nuq - x-version-label: easypost-202401051829-4cf193bd35-master + x-runtime: '0.043613' + x-node: bigweb41nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq ab82b2e6e9', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"adr_9c2de863ae5411ee9781ac1f6bc539ae","object":"Address","created_at":"2024-01-08T18:34:51+00:00","updated_at":"2024-01-08T18:34:51+00:00","name":null,"company":"EasyPost","street1":"000 unknown street","street2":null,"city":"Not A City","state":"ZZ","zip":"00001","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]}' + body: '{"id":"adr_3ec0f9db5a6411ef88f0ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:40:06+00:00","updated_at":"2024-08-14T17:40:06+00:00","name":null,"company":"EasyPost","street1":"000 unknown street","street2":null,"city":"Not A City","state":"ZZ","zip":"00001","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]}' curl_info: url: 'https://api.easypost.com/v2/addresses' content_type: 'application/json; charset=utf-8' @@ -46,35 +46,35 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.196231 - namelookup_time: 0.004795 - connect_time: 0.073646 - pretransfer_time: 0.114199 + total_time: 0.142203 + namelookup_time: 0.001719 + connect_time: 0.031209 + pretransfer_time: 0.06422 size_upload: 175.0 size_download: 453.0 - speed_download: 2308.0 - speed_upload: 891.0 + speed_download: 3185.0 + speed_upload: 1230.0 download_content_length: 453.0 upload_content_length: 175.0 - starttransfer_time: 0.196192 + starttransfer_time: 0.142143 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 172.168.100.149 - local_port: 49751 + local_ip: 192.168.1.75 + local_port: 52724 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 114102 - connect_time_us: 73646 - namelookup_time_us: 4795 - pretransfer_time_us: 114199 + scheme: https + appconnect_time_us: 64158 + connect_time_us: 31209 + namelookup_time_us: 1719 + pretransfer_time_us: 64220 redirect_time_us: 0 - starttransfer_time_us: 196192 - total_time_us: 196231 + starttransfer_time_us: 142143 + total_time_us: 142203 effective_method: POST capath: '' cainfo: '' @@ -103,59 +103,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 86adb731659c404bf40b0cb000049a43 + x-ep-request-uuid: e181587666bcebf6e2b8ff750086f3a3 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/addresses/adr_9c547b29ae5411eeab603cecef1b359e + location: /api/v2/addresses/adr_3ed90f725a6411efba51ac1f6bc53342 content-type: 'application/json; charset=utf-8' content-length: '750' - x-runtime: '0.071191' - x-node: bigweb32nuq - x-version-label: easypost-202401051829-4cf193bd35-master + x-runtime: '0.054690' + x-node: bigweb39nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb1nuq ab82b2e6e9', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"adr_9c547b29ae5411eeab603cecef1b359e","object":"Address","created_at":"2024-01-08T18:34:51+00:00","updated_at":"2024-01-08T18:34:51+00:00","name":null,"company":"EasyPost","street1":"000 unknown street","street2":null,"city":"Not A City","state":"ZZ","zip":"00001","country":"US","phone":"","email":"","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}],"details":null},"delivery":{"success":false,"errors":[{"code":"E.ADDRESS.NOT_FOUND","field":"address","message":"Address not found","suggestion":null}],"details":[]}}}' + body: '{"id":"adr_3ed90f725a6411efba51ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:40:06+00:00","updated_at":"2024-08-14T17:40:06+00:00","name":null,"company":"EasyPost","street1":"000 unknown street","street2":null,"city":"Not A City","state":"ZZ","zip":"00001","country":"US","phone":"","email":"","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}],"details":null},"delivery":{"success":false,"errors":[{"code":"E.ADDRESS.NOT_FOUND","field":"address","message":"Address not found","suggestion":null}],"details":[]}}}' curl_info: url: 'https://api.easypost.com/v2/addresses' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 777 + header_size: 759 request_size: 499 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.245107 - namelookup_time: 0.001386 - connect_time: 0.05312 - pretransfer_time: 0.11526 + total_time: 0.153552 + namelookup_time: 0.001965 + connect_time: 0.031636 + pretransfer_time: 0.065411 size_upload: 191.0 size_download: 750.0 - speed_download: 3059.0 - speed_upload: 779.0 + speed_download: 4884.0 + speed_upload: 1243.0 download_content_length: 750.0 upload_content_length: 191.0 - starttransfer_time: 0.245057 + starttransfer_time: 0.153526 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 172.168.100.149 - local_port: 49752 + local_ip: 192.168.1.75 + local_port: 52725 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 115116 - connect_time_us: 53120 - namelookup_time_us: 1386 - pretransfer_time_us: 115260 + scheme: https + appconnect_time_us: 65356 + connect_time_us: 31636 + namelookup_time_us: 1965 + pretransfer_time_us: 65411 redirect_time_us: 0 - starttransfer_time_us: 245057 - total_time_us: 245107 + starttransfer_time_us: 153526 + total_time_us: 153552 effective_method: POST capath: '' cainfo: '' diff --git a/test/cassettes/addresses/createVerifyArray.yml b/test/cassettes/addresses/createVerifyArray.yml index 8062f283..cbc5005b 100644 --- a/test/cassettes/addresses/createVerifyArray.yml +++ b/test/cassettes/addresses/createVerifyArray.yml @@ -23,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 86adb72d659c404cf409f09400049a70 + x-ep-request-uuid: e181587666bcebf7e2b8ff770086f414 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/addresses/adr_9c73c3adae5411ee97a3ac1f6bc539ae + location: /api/v2/addresses/adr_3f0b9c3a5a6411ef8911ac1f6bc539ae content-type: 'application/json; charset=utf-8' content-length: '453' - x-runtime: '0.041633' - x-node: bigweb36nuq - x-version-label: easypost-202401051829-4cf193bd35-master + x-runtime: '0.050356' + x-node: bigweb42nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq ab82b2e6e9', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"adr_9c73c3adae5411ee97a3ac1f6bc539ae","object":"Address","created_at":"2024-01-08T18:34:52+00:00","updated_at":"2024-01-08T18:34:52+00:00","name":null,"company":"EasyPost","street1":"000 unknown street","street2":null,"city":"Not A City","state":"ZZ","zip":"00001","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]}' + body: '{"id":"adr_3f0b9c3a5a6411ef8911ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:40:07+00:00","updated_at":"2024-08-14T17:40:07+00:00","name":null,"company":"EasyPost","street1":"000 unknown street","street2":null,"city":"Not A City","state":"ZZ","zip":"00001","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]}' curl_info: url: 'https://api.easypost.com/v2/addresses' content_type: 'application/json; charset=utf-8' @@ -46,35 +46,35 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.192083 - namelookup_time: 0.001326 - connect_time: 0.056708 - pretransfer_time: 0.111486 + total_time: 0.148054 + namelookup_time: 0.002158 + connect_time: 0.031954 + pretransfer_time: 0.064257 size_upload: 175.0 size_download: 453.0 - speed_download: 2358.0 - speed_upload: 911.0 + speed_download: 3059.0 + speed_upload: 1182.0 download_content_length: 453.0 upload_content_length: 175.0 - starttransfer_time: 0.192053 + starttransfer_time: 0.148029 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 172.168.100.149 - local_port: 49753 + local_ip: 192.168.1.75 + local_port: 52727 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 111409 - connect_time_us: 56708 - namelookup_time_us: 1326 - pretransfer_time_us: 111486 + scheme: https + appconnect_time_us: 64210 + connect_time_us: 31954 + namelookup_time_us: 2158 + pretransfer_time_us: 64257 redirect_time_us: 0 - starttransfer_time_us: 192053 - total_time_us: 192083 + starttransfer_time_us: 148029 + total_time_us: 148054 effective_method: POST capath: '' cainfo: '' @@ -103,20 +103,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 86adb732659c404cf43f212c00049aa2 + x-ep-request-uuid: e181587966bcebf7e2b8ff780086f445 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/addresses/adr_9c972000ae5411eebfe7ac1f6bc539aa + location: /api/v2/addresses/adr_3f2595325a6411efba7fac1f6bc53342 content-type: 'application/json; charset=utf-8' content-length: '750' - x-runtime: '0.069714' - x-node: bigweb39nuq - x-version-label: easypost-202401051829-4cf193bd35-master + x-runtime: '0.058668' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq ab82b2e6e9', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"adr_9c972000ae5411eebfe7ac1f6bc539aa","object":"Address","created_at":"2024-01-08T18:34:52+00:00","updated_at":"2024-01-08T18:34:52+00:00","name":null,"company":"EasyPost","street1":"000 unknown street","street2":null,"city":"Not A City","state":"ZZ","zip":"00001","country":"US","phone":"","email":"","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}],"details":null},"delivery":{"success":false,"errors":[{"code":"E.ADDRESS.NOT_FOUND","field":"address","message":"Address not found","suggestion":null}],"details":[]}}}' + body: '{"id":"adr_3f2595325a6411efba7fac1f6bc53342","object":"Address","created_at":"2024-08-14T17:40:07+00:00","updated_at":"2024-08-14T17:40:07+00:00","name":null,"company":"EasyPost","street1":"000 unknown street","street2":null,"city":"Not A City","state":"ZZ","zip":"00001","country":"US","phone":"","email":"","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}],"details":null},"delivery":{"success":false,"errors":[{"code":"E.ADDRESS.NOT_FOUND","field":"address","message":"Address not found","suggestion":null}],"details":[]}}}' curl_info: url: 'https://api.easypost.com/v2/addresses' content_type: 'application/json; charset=utf-8' @@ -126,35 +126,35 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.248803 - namelookup_time: 0.001425 - connect_time: 0.060714 - pretransfer_time: 0.141578 + total_time: 0.155545 + namelookup_time: 0.002195 + connect_time: 0.031795 + pretransfer_time: 0.063808 size_upload: 193.0 size_download: 750.0 - speed_download: 3014.0 - speed_upload: 775.0 + speed_download: 4821.0 + speed_upload: 1240.0 download_content_length: 750.0 upload_content_length: 193.0 - starttransfer_time: 0.248769 + starttransfer_time: 0.155483 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 172.168.100.149 - local_port: 49755 + local_ip: 192.168.1.75 + local_port: 52728 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 141469 - connect_time_us: 60714 - namelookup_time_us: 1425 - pretransfer_time_us: 141578 + scheme: https + appconnect_time_us: 63756 + connect_time_us: 31795 + namelookup_time_us: 2195 + pretransfer_time_us: 63808 redirect_time_us: 0 - starttransfer_time_us: 248769 - total_time_us: 248803 + starttransfer_time_us: 155483 + total_time_us: 155545 effective_method: POST capath: '' cainfo: '' diff --git a/test/cassettes/addresses/createVerifyStrict.yml b/test/cassettes/addresses/createVerifyStrict.yml index fe6b80b5..fde643b5 100644 --- a/test/cassettes/addresses/createVerifyStrict.yml +++ b/test/cassettes/addresses/createVerifyStrict.yml @@ -14,8 +14,7 @@ body: '{"verify_strict":"true","address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,57 +23,59 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911a655e64aee7885560001f867e + x-ep-request-uuid: e181587666bcebf7e2b8ff760086f3e1 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/addresses/adr_d98074de897511eea9cbac1f6bc539aa + location: /api/v2/addresses/adr_3ef601475a6411ef8909ac1f6bc539ae content-type: 'application/json; charset=utf-8' content-length: '646' - x-runtime: '0.054472' - x-node: bigweb43nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.062098' + x-node: bigweb42nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"adr_d98074de897511eea9cbac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:29:34+00:00","updated_at":"2023-11-22T20:29:34+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}}' + body: '{"id":"adr_3ef601475a6411ef8909ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:40:07+00:00","updated_at":"2024-08-14T17:40:07+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}}' curl_info: url: 'https://api.easypost.com/v2/addresses' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 777 + header_size: 759 request_size: 526 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.26313 - namelookup_time: 0.00193 - connect_time: 0.07365 - pretransfer_time: 0.141326 + total_time: 0.177961 + namelookup_time: 0.006954 + connect_time: 0.039951 + pretransfer_time: 0.07715 size_upload: 218.0 size_download: 646.0 - speed_download: 2455.0 - speed_upload: 828.0 + speed_download: 3630.0 + speed_upload: 1224.0 download_content_length: 646.0 upload_content_length: 218.0 - starttransfer_time: 0.263112 + starttransfer_time: 0.17793 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53371 + local_ip: 192.168.1.75 + local_port: 52726 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 141297 - connect_time_us: 73650 - namelookup_time_us: 1930 - pretransfer_time_us: 141326 + scheme: https + appconnect_time_us: 77074 + connect_time_us: 39951 + namelookup_time_us: 6954 + pretransfer_time_us: 77150 redirect_time_us: 0 - starttransfer_time_us: 263112 - total_time_us: 263130 + starttransfer_time_us: 177930 + total_time_us: 177961 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/addresses/getNextPage.yml b/test/cassettes/addresses/getNextPage.yml index eccc88a5..51bfc06b 100644 --- a/test/cassettes/addresses/getNextPage.yml +++ b/test/cassettes/addresses/getNextPage.yml @@ -21,58 +21,57 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 76e1c9576567a6c3e787d5e300861b45 + x-ep-request-uuid: e181587966bcebf8e2b8ff930086f4fe cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '3082' - x-runtime: '0.040656' - x-node: bigweb32nuq - x-version-label: easypost-202311250013-a0f06fbc2c-master + content-length: '3098' + x-runtime: '0.035252' + x-node: bigweb36nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"addresses":[{"id":"adr_664b3834897e11ee97edac1f6bc539aa","object":"Address","created_at":"2023-11-22T21:30:47+00:00","updated_at":"2023-11-22T21:30:47+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},{"id":"adr_66464b3b897e11eea668ac1f6bc53342","object":"Address","created_at":"2023-11-22T21:30:46+00:00","updated_at":"2023-11-22T21:30:46+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},{"id":"adr_656e3fc6897e11eea5eaac1f6bc53342","object":"Address","created_at":"2023-11-22T21:30:45+00:00","updated_at":"2023-11-22T21:30:45+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},{"id":"adr_656a6a19897e11ee976dac1f6bc539aa","object":"Address","created_at":"2023-11-22T21:30:45+00:00","updated_at":"2023-11-22T21:30:45+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},{"id":"adr_0f6a4181897e11ee8a77ac1f6bc539ae","object":"Address","created_at":"2023-11-22T21:28:21+00:00","updated_at":"2023-11-22T21:28:21+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}}],"has_more":true}' + body: '{"addresses":[{"id":"adr_3f3c6e495a6411ef878b3cecef1b359e","object":"Address","created_at":"2024-08-14T17:40:07+00:00","updated_at":"2024-08-14T17:40:07+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":[]},{"id":"adr_3f2595325a6411efba7fac1f6bc53342","object":"Address","created_at":"2024-08-14T17:40:07+00:00","updated_at":"2024-08-14T17:40:07+00:00","name":null,"company":"EasyPost","street1":"000 unknown street","street2":null,"city":"Not A City","state":"ZZ","zip":"00001","country":"US","phone":"","email":"","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}],"details":null},"delivery":{"success":false,"errors":[{"code":"E.ADDRESS.NOT_FOUND","field":"address","message":"Address not found","suggestion":null}],"details":[]}}},{"id":"adr_3f0b9c3a5a6411ef8911ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:40:07+00:00","updated_at":"2024-08-14T17:40:07+00:00","name":null,"company":"EasyPost","street1":"000 unknown street","street2":null,"city":"Not A City","state":"ZZ","zip":"00001","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},{"id":"adr_3ef601475a6411ef8909ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:40:07+00:00","updated_at":"2024-08-14T17:40:07+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},{"id":"adr_3ed90f725a6411efba51ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:40:06+00:00","updated_at":"2024-08-14T17:40:06+00:00","name":null,"company":"EasyPost","street1":"000 unknown street","street2":null,"city":"Not A City","state":"ZZ","zip":"00001","country":"US","phone":"","email":"","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}],"details":null},"delivery":{"success":false,"errors":[{"code":"E.ADDRESS.NOT_FOUND","field":"address","message":"Address not found","suggestion":null}],"details":[]}}}],"has_more":true}' curl_info: url: 'https://api.easypost.com/v2/addresses?page_size=5' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 707 - request_size: 297 + header_size: 689 + request_size: 298 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.273885 - namelookup_time: 0.033406 - connect_time: 0.09893 - pretransfer_time: 0.166692 + total_time: 0.145658 + namelookup_time: 0.005704 + connect_time: 0.038872 + pretransfer_time: 0.073856 size_upload: 0.0 - size_download: 3082.0 - speed_download: 11252.0 + size_download: 3098.0 + speed_download: 21268.0 speed_upload: 0.0 - download_content_length: 3082.0 + download_content_length: 3098.0 upload_content_length: 0.0 - starttransfer_time: 0.273842 + starttransfer_time: 0.145579 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.41 - local_port: 52681 + local_ip: 192.168.1.75 + local_port: 52732 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 166648 - connect_time_us: 98930 - namelookup_time_us: 33406 - pretransfer_time_us: 166692 + scheme: https + appconnect_time_us: 73822 + connect_time_us: 38872 + namelookup_time_us: 5704 + pretransfer_time_us: 73856 redirect_time_us: 0 - starttransfer_time_us: 273842 - total_time_us: 273885 + starttransfer_time_us: 145579 + total_time_us: 145658 effective_method: GET capath: '' cainfo: '' @@ -80,7 +79,7 @@ - request: method: GET - url: 'https://api.easypost.com/v2/addresses?page_size=5&before_id=adr_0f6a4181897e11ee8a77ac1f6bc539ae' + url: 'https://api.easypost.com/v2/addresses?page_size=5&before_id=adr_3ed90f725a6411efba51ac1f6bc53342' headers: Host: api.easypost.com Accept-Encoding: '' @@ -99,57 +98,57 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 76e1c9586567a6c3e787d5e400861bd3 + x-ep-request-uuid: e181587666bcebf8e2b8ff940086f52f cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '3077' - x-runtime: '0.069020' - x-node: bigweb36nuq - x-version-label: easypost-202311250013-a0f06fbc2c-master + content-length: '2331' + x-runtime: '0.039585' + x-node: bigweb38nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"addresses":[{"id":"adr_0f62c4fb897e11ee8a72ac1f6bc539ae","object":"Address","created_at":"2023-11-22T21:28:21+00:00","updated_at":"2023-11-22T21:28:21+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},{"id":"adr_0e7e9acc897e11eeb99e3cecef1b359e","object":"Address","created_at":"2023-11-22T21:28:19+00:00","updated_at":"2023-11-22T21:28:19+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},{"id":"adr_0e7c4479897e11eeb99d3cecef1b359e","object":"Address","created_at":"2023-11-22T21:28:19+00:00","updated_at":"2023-11-22T21:28:20+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},{"id":"adr_01363b9b897e11eeaf05ac1f6bc53342","object":"Address","created_at":"2023-11-22T21:27:57+00:00","updated_at":"2023-11-22T21:27:57+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},{"id":"adr_013098c9897e11ee82caac1f6bc539ae","object":"Address","created_at":"2023-11-22T21:27:57+00:00","updated_at":"2023-11-22T21:27:57+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}}],"has_more":true}' + body: '{"addresses":[{"id":"adr_3ec0f9db5a6411ef88f0ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:40:06+00:00","updated_at":"2024-08-14T17:40:06+00:00","name":null,"company":"EasyPost","street1":"000 unknown street","street2":null,"city":"Not A City","state":"ZZ","zip":"00001","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},{"id":"adr_3eaaf0ca5a6411efba32ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:40:06+00:00","updated_at":"2024-08-14T17:40:06+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":[]},{"id":"adr_3bcc09125a6411ef86043cecef1b359e","object":"Address","created_at":"2024-08-14T17:40:01+00:00","updated_at":"2024-08-14T17:40:01+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":[]},{"id":"adr_3bc952e95a6411efb8f6ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:40:01+00:00","updated_at":"2024-08-14T17:40:01+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},{"id":"adr_3b29dc735a6411ef85ae3cecef1b359e","object":"Address","created_at":"2024-08-14T17:40:00+00:00","updated_at":"2024-08-14T17:40:00+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":[]}],"has_more":true}' curl_info: - url: 'https://api.easypost.com/v2/addresses?page_size=5&before_id=adr_0f6a4181897e11ee8a77ac1f6bc539ae' + url: 'https://api.easypost.com/v2/addresses?page_size=5&before_id=adr_3ed90f725a6411efba51ac1f6bc53342' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 689 - request_size: 344 + request_size: 345 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.268152 - namelookup_time: 0.00226 - connect_time: 0.067008 - pretransfer_time: 0.13217 + total_time: 0.145191 + namelookup_time: 0.001444 + connect_time: 0.034512 + pretransfer_time: 0.069687 size_upload: 0.0 - size_download: 3077.0 - speed_download: 11474.0 + size_download: 2331.0 + speed_download: 16054.0 speed_upload: 0.0 - download_content_length: 3077.0 + download_content_length: 2331.0 upload_content_length: 0.0 - starttransfer_time: 0.26794 + starttransfer_time: 0.145167 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.41 - local_port: 52682 + local_ip: 192.168.1.75 + local_port: 52733 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 132125 - connect_time_us: 67008 - namelookup_time_us: 2260 - pretransfer_time_us: 132170 + scheme: https + appconnect_time_us: 69634 + connect_time_us: 34512 + namelookup_time_us: 1444 + pretransfer_time_us: 69687 redirect_time_us: 0 - starttransfer_time_us: 267940 - total_time_us: 268152 + starttransfer_time_us: 145167 + total_time_us: 145191 effective_method: GET capath: '' cainfo: '' diff --git a/test/cassettes/addresses/retrieve.yml b/test/cassettes/addresses/retrieve.yml index b67e7172..1423bec9 100644 --- a/test/cassettes/addresses/retrieve.yml +++ b/test/cassettes/addresses/retrieve.yml @@ -14,8 +14,7 @@ body: '{"address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911c655e64b0e7885567001f884b + x-ep-request-uuid: e181587866bcebf7e2b8ff790086f47d cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/addresses/adr_daab1aa3897511ee8b46ac1f6bc539ae + location: /api/v2/addresses/adr_3f3c6e495a6411ef878b3cecef1b359e content-type: 'application/json; charset=utf-8' content-length: '461' - x-runtime: '0.039949' - x-node: bigweb39nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.040425' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"adr_daab1aa3897511ee8b46ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:29:36+00:00","updated_at":"2023-11-22T20:29:36+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":[]}' + body: '{"id":"adr_3f3c6e495a6411ef878b3cecef1b359e","object":"Address","created_at":"2024-08-14T17:40:07+00:00","updated_at":"2024-08-14T17:40:07+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":[]}' curl_info: url: 'https://api.easypost.com/v2/addresses' content_type: 'application/json; charset=utf-8' @@ -47,40 +46,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.242338 - namelookup_time: 0.001202 - connect_time: 0.065353 - pretransfer_time: 0.137064 + total_time: 0.139356 + namelookup_time: 0.002851 + connect_time: 0.032179 + pretransfer_time: 0.065005 size_upload: 195.0 size_download: 461.0 - speed_download: 1902.0 - speed_upload: 804.0 + speed_download: 3308.0 + speed_upload: 1399.0 download_content_length: 461.0 upload_content_length: 195.0 - starttransfer_time: 0.242305 + starttransfer_time: 0.139334 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53378 + local_ip: 192.168.1.75 + local_port: 52729 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 136984 - connect_time_us: 65353 - namelookup_time_us: 1202 - pretransfer_time_us: 137064 + scheme: https + appconnect_time_us: 64918 + connect_time_us: 32179 + namelookup_time_us: 2851 + pretransfer_time_us: 65005 redirect_time_us: 0 - starttransfer_time_us: 242305 - total_time_us: 242338 + starttransfer_time_us: 139334 + total_time_us: 139356 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/addresses/adr_daab1aa3897511ee8b46ac1f6bc539ae' + url: 'https://api.easypost.com/v2/addresses/adr_3f3c6e495a6411ef878b3cecef1b359e' headers: Host: api.easypost.com Accept-Encoding: '' @@ -90,8 +92,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -100,21 +101,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911a655e64b0e7885568001f887d + x-ep-request-uuid: e181587966bcebf7e2b8ff910086f4a0 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '461' - x-runtime: '0.027902' - x-node: bigweb40nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.034677' + x-node: bigweb33nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"adr_daab1aa3897511ee8b46ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:29:36+00:00","updated_at":"2023-11-22T20:29:36+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":[]}' + body: '{"id":"adr_3f3c6e495a6411ef878b3cecef1b359e","object":"Address","created_at":"2024-08-14T17:40:07+00:00","updated_at":"2024-08-14T17:40:07+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":[]}' curl_info: - url: 'https://api.easypost.com/v2/addresses/adr_daab1aa3897511ee8b46ac1f6bc539ae' + url: 'https://api.easypost.com/v2/addresses/adr_3f3c6e495a6411ef878b3cecef1b359e' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 688 @@ -122,33 +123,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.222209 - namelookup_time: 0.001058 - connect_time: 0.0644 - pretransfer_time: 0.129999 + total_time: 0.13172 + namelookup_time: 0.002227 + connect_time: 0.031532 + pretransfer_time: 0.063781 size_upload: 0.0 size_download: 461.0 - speed_download: 2074.0 + speed_download: 3499.0 speed_upload: 0.0 download_content_length: 461.0 upload_content_length: 0.0 - starttransfer_time: 0.222172 + starttransfer_time: 0.131694 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53379 + local_ip: 192.168.1.75 + local_port: 52730 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 129899 - connect_time_us: 64400 - namelookup_time_us: 1058 - pretransfer_time_us: 129999 + scheme: https + appconnect_time_us: 63751 + connect_time_us: 31532 + namelookup_time_us: 2227 + pretransfer_time_us: 63781 redirect_time_us: 0 - starttransfer_time_us: 222172 - total_time_us: 222209 + starttransfer_time_us: 131694 + total_time_us: 131720 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/addresses/verify.yml b/test/cassettes/addresses/verify.yml index a91c377a..a58f546b 100644 --- a/test/cassettes/addresses/verify.yml +++ b/test/cassettes/addresses/verify.yml @@ -14,8 +14,7 @@ body: '{"address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911f655e64b1e7885580001f88b4 + x-ep-request-uuid: e181587966bcebf8e2b8ff960086f592 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/addresses/adr_daf2c973897511eeaa98ac1f6bc539aa + location: /api/v2/addresses/adr_3fd127975a6411ef8966ac1f6bc539ae content-type: 'application/json; charset=utf-8' content-length: '461' - x-runtime: '0.048731' - x-node: bigweb38nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.031806' + x-node: bigweb35nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"adr_daf2c973897511eeaa98ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:29:37+00:00","updated_at":"2023-11-22T20:29: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":[]}' + body: '{"id":"adr_3fd127975a6411ef8966ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:40:08+00:00","updated_at":"2024-08-14T17:40:08+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":[]}' curl_info: url: 'https://api.easypost.com/v2/addresses' content_type: 'application/json; charset=utf-8' @@ -47,40 +46,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.240483 - namelookup_time: 0.001234 - connect_time: 0.062647 - pretransfer_time: 0.128051 + total_time: 0.129584 + namelookup_time: 0.001835 + connect_time: 0.031977 + pretransfer_time: 0.064736 size_upload: 195.0 size_download: 461.0 - speed_download: 1916.0 - speed_upload: 810.0 + speed_download: 3557.0 + speed_upload: 1504.0 download_content_length: 461.0 upload_content_length: 195.0 - starttransfer_time: 0.240468 + starttransfer_time: 0.129567 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53380 + local_ip: 192.168.1.75 + local_port: 52735 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 127969 - connect_time_us: 62647 - namelookup_time_us: 1234 - pretransfer_time_us: 128051 + scheme: https + appconnect_time_us: 64688 + connect_time_us: 31977 + namelookup_time_us: 1835 + pretransfer_time_us: 64736 redirect_time_us: 0 - starttransfer_time_us: 240468 - total_time_us: 240483 + starttransfer_time_us: 129567 + total_time_us: 129584 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/addresses/adr_daf2c973897511eeaa98ac1f6bc539aa/verify' + url: 'https://api.easypost.com/v2/addresses/adr_3fd127975a6411ef8966ac1f6bc539ae/verify' headers: Host: api.easypost.com Accept-Encoding: '' @@ -90,8 +92,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -100,22 +101,22 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef9120655e64b1e7885581001f88f7 + x-ep-request-uuid: e181587966bcebf8e2b8ff970086f5bc cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/addresses/adr_db1fa024897511ee8b89ac1f6bc539ae + location: /api/v2/addresses/adr_3febed655a6411efa7b3ac1f6bc539aa content-type: 'application/json; charset=utf-8' content-length: '658' - x-runtime: '0.060887' - x-node: bigweb40nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.075047' + x-node: bigweb39nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"address":{"id":"adr_db1fa024897511ee8b89ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:29:37+00:00","updated_at":"2023-11-22T20:29:37+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}}}' + body: '{"address":{"id":"adr_3febed655a6411efa7b3ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:40:08+00:00","updated_at":"2024-08-14T17:40:08+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}}}' curl_info: - url: 'https://api.easypost.com/v2/addresses/adr_daf2c973897511eeaa98ac1f6bc539aa/verify' + url: 'https://api.easypost.com/v2/addresses/adr_3fd127975a6411ef8966ac1f6bc539ae/verify' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 754 @@ -123,33 +124,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.274851 - namelookup_time: 0.005582 - connect_time: 0.072645 - pretransfer_time: 0.147368 + total_time: 0.181481 + namelookup_time: 0.002154 + connect_time: 0.03528 + pretransfer_time: 0.070613 size_upload: 0.0 size_download: 658.0 - speed_download: 2394.0 + speed_download: 3625.0 speed_upload: 0.0 download_content_length: 658.0 upload_content_length: 0.0 - starttransfer_time: 0.274823 + starttransfer_time: 0.181466 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53381 + local_ip: 192.168.1.75 + local_port: 52736 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 147344 - connect_time_us: 72645 - namelookup_time_us: 5582 - pretransfer_time_us: 147368 + scheme: https + appconnect_time_us: 70581 + connect_time_us: 35280 + namelookup_time_us: 2154 + pretransfer_time_us: 70613 redirect_time_us: 0 - starttransfer_time_us: 274823 - total_time_us: 274851 + starttransfer_time_us: 181466 + total_time_us: 181481 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/addresses/verifyInvalid.yml b/test/cassettes/addresses/verifyInvalid.yml index 7ea22560..eb57dc3f 100644 --- a/test/cassettes/addresses/verifyInvalid.yml +++ b/test/cassettes/addresses/verifyInvalid.yml @@ -14,8 +14,7 @@ body: '{"address":{"street1":"invalid"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,63 +23,67 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911a655e64b0e7885565001f87d2 + x-ep-request-uuid: e181587d66bcebf8e2b8ff980086f5fc cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/addresses/adr_da5dc652897511eeba56ac1f6bc53342 + location: /api/v2/addresses/adr_4002ae765a6411efa7c5ac1f6bc539aa content-type: 'application/json; charset=utf-8' content-length: '403' - x-runtime: '0.051935' - x-node: bigweb34nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.036930' + x-node: bigweb43nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-canary: direct + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"adr_da5dc652897511eeba56ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:29:36+00:00","updated_at":"2023-11-22T20:29:36+00:00","name":null,"company":null,"street1":"invalid","street2":null,"city":null,"state":null,"zip":null,"country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]}' + body: '{"id":"adr_4002ae765a6411efa7c5ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:40:08+00:00","updated_at":"2024-08-14T17:40:08+00:00","name":null,"company":null,"street1":"invalid","street2":null,"city":null,"state":null,"zip":null,"country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]}' curl_info: url: 'https://api.easypost.com/v2/addresses' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 759 + header_size: 777 request_size: 340 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.256677 - namelookup_time: 0.002597 - connect_time: 0.068513 - pretransfer_time: 0.133443 + total_time: 0.131412 + namelookup_time: 0.001976 + connect_time: 0.03124 + pretransfer_time: 0.062437 size_upload: 33.0 size_download: 403.0 - speed_download: 1570.0 - speed_upload: 128.0 + speed_download: 3066.0 + speed_upload: 251.0 download_content_length: 403.0 upload_content_length: 33.0 - starttransfer_time: 0.256661 + starttransfer_time: 0.131394 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53376 + local_ip: 192.168.1.75 + local_port: 52737 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 133416 - connect_time_us: 68513 - namelookup_time_us: 2597 - pretransfer_time_us: 133443 + scheme: https + appconnect_time_us: 62392 + connect_time_us: 31240 + namelookup_time_us: 1976 + pretransfer_time_us: 62437 redirect_time_us: 0 - starttransfer_time_us: 256661 - total_time_us: 256677 + starttransfer_time_us: 131394 + total_time_us: 131412 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/addresses/adr_da5dc652897511eeba56ac1f6bc53342/verify' + url: 'https://api.easypost.com/v2/addresses/adr_4002ae765a6411efa7c5ac1f6bc539aa/verify' headers: Host: api.easypost.com Accept-Encoding: '' @@ -90,8 +93,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '422' + code: 422 message: 'Unprocessable Entity' headers: x-frame-options: SAMEORIGIN @@ -100,21 +102,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef9120655e64b0e7885566001f880d + x-ep-request-uuid: e181587966bcebf8e2b8ff990086f629 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '295' - x-runtime: '0.038512' - x-node: bigweb38nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.053441' + x-node: bigweb42nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' body: '{"error":{"code":"ADDRESS.VERIFY.FAILURE","message":"Unable to verify address.","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}]}}' curl_info: - url: 'https://api.easypost.com/v2/addresses/adr_da5dc652897511eeba56ac1f6bc53342/verify' + url: 'https://api.easypost.com/v2/addresses/adr_4002ae765a6411efa7c5ac1f6bc539aa/verify' content_type: 'application/json; charset=utf-8' http_code: 422 header_size: 706 @@ -122,33 +124,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.236506 - namelookup_time: 0.003173 - connect_time: 0.065946 - pretransfer_time: 0.133574 + total_time: 0.163518 + namelookup_time: 0.001516 + connect_time: 0.034629 + pretransfer_time: 0.069728 size_upload: 0.0 size_download: 295.0 - speed_download: 1247.0 + speed_download: 1804.0 speed_upload: 0.0 download_content_length: 295.0 upload_content_length: 0.0 - starttransfer_time: 0.236454 + starttransfer_time: 0.163483 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53377 + local_ip: 192.168.1.75 + local_port: 52738 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 133466 - connect_time_us: 65946 - namelookup_time_us: 3173 - pretransfer_time_us: 133574 + scheme: https + appconnect_time_us: 69685 + connect_time_us: 34629 + namelookup_time_us: 1516 + pretransfer_time_us: 69728 redirect_time_us: 0 - starttransfer_time_us: 236454 - total_time_us: 236506 + starttransfer_time_us: 163483 + total_time_us: 163518 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/apiKeys/allApiKeys.yml b/test/cassettes/apiKeys/allApiKeys.yml index ef7ff69c..3fde5fcb 100644 --- a/test/cassettes/apiKeys/allApiKeys.yml +++ b/test/cassettes/apiKeys/allApiKeys.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,19 +21,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911e655e64b2e7885584001f89fa + x-ep-request-uuid: e181587c66bcebf9e2b8ff9a0086f65b cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '2318' - x-runtime: '0.032258' - x-node: bigweb35nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '3246' + x-runtime: '0.284650' + x-node: bigweb41nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"user_465eab8bb86844108100be2d4d5288ab","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-02-02T20:16:00Z","id":"ak_52637c844ae94297b3f76912be885327"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-02-02T20:16:00Z","id":"ak_f835b4669c0a4418adb61511b78e1a97"}],"children":[{"id":"user_3c44214dcf744d169c3f2db034fd965e","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-11-23T21:03:03Z","id":"ak_188ab9ad38954d70b92ac851610049a0"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-11-23T21:03:03Z","id":"ak_6c5514fd0f444fe5b0f56bda566211b8"}],"children":[]},{"id":"user_78019b89199646358298fd311435458f","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-12-02T22:41:09Z","id":"ak_1c0819d6045e44cca81682b567ec44dc"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-12-02T22:41:09Z","id":"ak_58a87ab75364410d8c1764929d4d2666"}],"children":[]},{"id":"user_1a2e9fb7903c4a08b2da7d7f57150370","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-12-02T22:43:07Z","id":"ak_a6f607d7ad6547238176ff377bc07644"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-12-02T22:43:07Z","id":"ak_429f66000d394fafac709c6eee3ba15c"}],"children":[]},{"id":"user_f01890d357374ac3837ff556a957b9b4","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-12-05T17:00:14Z","id":"ak_8eeb329724ae4689b22134ef4430710b"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-12-05T17:00:14Z","id":"ak_e5f84d96d2da4b81ad73b743a94dc0fd"}],"children":[]}]}' + body: '{"id":"user_465eab8bb86844108100be2d4d5288ab","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-02-02T20:16:00Z","id":"ak_52637c844ae94297b3f76912be885327"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-02-02T20:16:00Z","id":"ak_f835b4669c0a4418adb61511b78e1a97"}],"children":[{"id":"user_3c44214dcf744d169c3f2db034fd965e","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-11-23T21:03:03Z","id":"ak_188ab9ad38954d70b92ac851610049a0"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-11-23T21:03:03Z","id":"ak_6c5514fd0f444fe5b0f56bda566211b8"}],"children":[]},{"id":"user_78019b89199646358298fd311435458f","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-12-02T22:41:09Z","id":"ak_1c0819d6045e44cca81682b567ec44dc"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-12-02T22:41:09Z","id":"ak_58a87ab75364410d8c1764929d4d2666"}],"children":[]},{"id":"user_1a2e9fb7903c4a08b2da7d7f57150370","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-12-02T22:43:07Z","id":"ak_a6f607d7ad6547238176ff377bc07644"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-12-02T22:43:07Z","id":"ak_429f66000d394fafac709c6eee3ba15c"}],"children":[]},{"id":"user_f01890d357374ac3837ff556a957b9b4","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-12-05T17:00:14Z","id":"ak_8eeb329724ae4689b22134ef4430710b"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-12-05T17:00:14Z","id":"ak_e5f84d96d2da4b81ad73b743a94dc0fd"}],"children":[]},{"id":"user_4f3642aa792a49d1bbf723956cccdb9f","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2024-03-22T19:40:51Z","id":"ak_4389a7a7d2374c588c8de199a0dd6d5f"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2024-03-22T19:40:51Z","id":"ak_29e48c044c4e4c7ca885cacf94bb2d69"}],"children":[]},{"id":"user_38e8f37bca2d4b8aa932cb39af02ce58","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2024-03-26T23:01:59Z","id":"ak_818bf250044f4676ba1609f67b8e1501"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2024-03-26T23:01:59Z","id":"ak_8b3600ac5f594998956e536b909402f7"}],"children":[]}]}' curl_info: url: 'https://api.easypost.com/v2/api_keys' content_type: 'application/json; charset=utf-8' @@ -44,33 +43,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.235696 - namelookup_time: 0.006379 - connect_time: 0.070344 - pretransfer_time: 0.134087 + total_time: 0.394294 + namelookup_time: 0.003 + connect_time: 0.035997 + pretransfer_time: 0.071564 size_upload: 0.0 - size_download: 2318.0 - speed_download: 9834.0 + size_download: 3246.0 + speed_download: 8232.0 speed_upload: 0.0 - download_content_length: 2318.0 + download_content_length: 3246.0 upload_content_length: 0.0 - starttransfer_time: 0.235598 + starttransfer_time: 0.394274 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53384 + local_ip: 192.168.1.75 + local_port: 52739 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 134059 - connect_time_us: 70344 - namelookup_time_us: 6379 - pretransfer_time_us: 134087 + scheme: https + appconnect_time_us: 71513 + connect_time_us: 35997 + namelookup_time_us: 3000 + pretransfer_time_us: 71564 redirect_time_us: 0 - starttransfer_time_us: 235598 - total_time_us: 235696 + starttransfer_time_us: 394274 + total_time_us: 394294 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/apiKeys/authenticatedUserApiKeys.yml b/test/cassettes/apiKeys/authenticatedUserApiKeys.yml index d54a643a..2f8a0255 100644 --- a/test/cassettes/apiKeys/authenticatedUserApiKeys.yml +++ b/test/cassettes/apiKeys/authenticatedUserApiKeys.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,57 +21,61 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911c655e64b2e7885585001f8a2c + x-ep-request-uuid: e181587966bcebf9e2b8ffb20086f6bf cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '1715' - x-runtime: '0.074844' - x-node: bigweb36nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '2285' + x-runtime: '0.205591' + x-node: bigweb43nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-canary: direct + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"user_465eab8bb86844108100be2d4d5288ab","object":"User","parent_id":null,"name":"New Name","phone_number":"","verified":true,"created_at":"2022-02-02T20:16:00Z","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.0325","default_insurance_amount":"50.00","insurance_fee_rate":"0.005","insurance_fee_minimum":"0.25","email":"","children":[{"id":"user_3c44214dcf744d169c3f2db034fd965e","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-11-23T21:03:03Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_78019b89199646358298fd311435458f","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:41:09Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_1a2e9fb7903c4a08b2da7d7f57150370","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:43:07Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_f01890d357374ac3837ff556a957b9b4","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-05T17:00:14Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]}]}' + body: '{"id":"user_465eab8bb86844108100be2d4d5288ab","object":"User","parent_id":null,"name":"New Name","phone_number":"","verified":true,"created_at":"2022-02-02T20:16:00Z","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.0325","default_insurance_amount":"50.00","insurance_fee_rate":"0.005","insurance_fee_minimum":"0.50","email":"","children":[{"id":"user_3c44214dcf744d169c3f2db034fd965e","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-11-23T21:03:03Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_78019b89199646358298fd311435458f","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:41:09Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_1a2e9fb7903c4a08b2da7d7f57150370","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:43:07Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_f01890d357374ac3837ff556a957b9b4","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-05T17:00:14Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_4f3642aa792a49d1bbf723956cccdb9f","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2024-03-22T19:40:51Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_38e8f37bca2d4b8aa932cb39af02ce58","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2024-03-26T23:01:59Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]}]}' curl_info: url: 'https://api.easypost.com/v2/users' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 689 + header_size: 707 request_size: 282 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.266556 - namelookup_time: 0.001543 - connect_time: 0.064107 - pretransfer_time: 0.127818 + total_time: 0.302771 + namelookup_time: 0.001878 + connect_time: 0.031262 + pretransfer_time: 0.063346 size_upload: 0.0 - size_download: 1715.0 - speed_download: 6433.0 + size_download: 2285.0 + speed_download: 7546.0 speed_upload: 0.0 - download_content_length: 1715.0 + download_content_length: 2285.0 upload_content_length: 0.0 - starttransfer_time: 0.266525 + starttransfer_time: 0.302699 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53385 + local_ip: 192.168.1.75 + local_port: 52740 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 127791 - connect_time_us: 64107 - namelookup_time_us: 1543 - pretransfer_time_us: 127818 + scheme: https + appconnect_time_us: 63299 + connect_time_us: 31262 + namelookup_time_us: 1878 + pretransfer_time_us: 63346 redirect_time_us: 0 - starttransfer_time_us: 266525 - total_time_us: 266556 + starttransfer_time_us: 302699 + total_time_us: 302771 + effective_method: GET + capath: '' + cainfo: '' index: 0 - request: @@ -87,8 +90,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -97,20 +99,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef9121655e64b2e7885586001f8a75 + x-ep-request-uuid: e181587d66bcebf9e2b8ffb30086f710 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '2318' - x-runtime: '0.029791' - x-node: bigweb43nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '3246' + x-runtime: '0.207038' + x-node: bigweb32nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost x-canary: direct - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"user_465eab8bb86844108100be2d4d5288ab","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-02-02T20:16:00Z","id":"ak_52637c844ae94297b3f76912be885327"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-02-02T20:16:00Z","id":"ak_f835b4669c0a4418adb61511b78e1a97"}],"children":[{"id":"user_3c44214dcf744d169c3f2db034fd965e","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-11-23T21:03:03Z","id":"ak_188ab9ad38954d70b92ac851610049a0"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-11-23T21:03:03Z","id":"ak_6c5514fd0f444fe5b0f56bda566211b8"}],"children":[]},{"id":"user_78019b89199646358298fd311435458f","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-12-02T22:41:09Z","id":"ak_1c0819d6045e44cca81682b567ec44dc"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-12-02T22:41:09Z","id":"ak_58a87ab75364410d8c1764929d4d2666"}],"children":[]},{"id":"user_1a2e9fb7903c4a08b2da7d7f57150370","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-12-02T22:43:07Z","id":"ak_a6f607d7ad6547238176ff377bc07644"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-12-02T22:43:07Z","id":"ak_429f66000d394fafac709c6eee3ba15c"}],"children":[]},{"id":"user_f01890d357374ac3837ff556a957b9b4","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-12-05T17:00:14Z","id":"ak_8eeb329724ae4689b22134ef4430710b"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-12-05T17:00:14Z","id":"ak_e5f84d96d2da4b81ad73b743a94dc0fd"}],"children":[]}]}' + body: '{"id":"user_465eab8bb86844108100be2d4d5288ab","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-02-02T20:16:00Z","id":"ak_52637c844ae94297b3f76912be885327"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-02-02T20:16:00Z","id":"ak_f835b4669c0a4418adb61511b78e1a97"}],"children":[{"id":"user_3c44214dcf744d169c3f2db034fd965e","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-11-23T21:03:03Z","id":"ak_188ab9ad38954d70b92ac851610049a0"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-11-23T21:03:03Z","id":"ak_6c5514fd0f444fe5b0f56bda566211b8"}],"children":[]},{"id":"user_78019b89199646358298fd311435458f","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-12-02T22:41:09Z","id":"ak_1c0819d6045e44cca81682b567ec44dc"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-12-02T22:41:09Z","id":"ak_58a87ab75364410d8c1764929d4d2666"}],"children":[]},{"id":"user_1a2e9fb7903c4a08b2da7d7f57150370","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-12-02T22:43:07Z","id":"ak_a6f607d7ad6547238176ff377bc07644"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-12-02T22:43:07Z","id":"ak_429f66000d394fafac709c6eee3ba15c"}],"children":[]},{"id":"user_f01890d357374ac3837ff556a957b9b4","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-12-05T17:00:14Z","id":"ak_8eeb329724ae4689b22134ef4430710b"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-12-05T17:00:14Z","id":"ak_e5f84d96d2da4b81ad73b743a94dc0fd"}],"children":[]},{"id":"user_4f3642aa792a49d1bbf723956cccdb9f","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2024-03-22T19:40:51Z","id":"ak_4389a7a7d2374c588c8de199a0dd6d5f"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2024-03-22T19:40:51Z","id":"ak_29e48c044c4e4c7ca885cacf94bb2d69"}],"children":[]},{"id":"user_38e8f37bca2d4b8aa932cb39af02ce58","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2024-03-26T23:01:59Z","id":"ak_818bf250044f4676ba1609f67b8e1501"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2024-03-26T23:01:59Z","id":"ak_8b3600ac5f594998956e536b909402f7"}],"children":[]}]}' curl_info: url: 'https://api.easypost.com/v2/api_keys' content_type: 'application/json; charset=utf-8' @@ -120,33 +122,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.226357 - namelookup_time: 0.00118 - connect_time: 0.065503 - pretransfer_time: 0.131088 + total_time: 0.3073 + namelookup_time: 0.002341 + connect_time: 0.03247 + pretransfer_time: 0.06629 size_upload: 0.0 - size_download: 2318.0 - speed_download: 10240.0 + size_download: 3246.0 + speed_download: 10562.0 speed_upload: 0.0 - download_content_length: 2318.0 + download_content_length: 3246.0 upload_content_length: 0.0 - starttransfer_time: 0.226329 + starttransfer_time: 0.307246 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53386 + local_ip: 192.168.1.75 + local_port: 52741 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 131058 - connect_time_us: 65503 - namelookup_time_us: 1180 - pretransfer_time_us: 131088 + scheme: https + appconnect_time_us: 66236 + connect_time_us: 32470 + namelookup_time_us: 2341 + pretransfer_time_us: 66290 redirect_time_us: 0 - starttransfer_time_us: 226329 - total_time_us: 226357 + starttransfer_time_us: 307246 + total_time_us: 307300 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/apiKeys/childUserApiKeys.yml b/test/cassettes/apiKeys/childUserApiKeys.yml index b7d96426..1c371b09 100644 --- a/test/cassettes/apiKeys/childUserApiKeys.yml +++ b/test/cassettes/apiKeys/childUserApiKeys.yml @@ -14,8 +14,7 @@ body: '{"user":{"name":"Test User"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,19 +23,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911e655e64b3e7885587001f8ab3 + x-ep-request-uuid: e181587966bcebfae2b8ffb40086f778 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '691' - x-runtime: '0.709672' - x-node: bigweb38nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.527822' + x-node: bigweb34nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"user_006cc0d6eeec464bb83f157fbd106af5","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2023-11-22T20:29:39Z","default_carbon_offset":false,"has_elevate_access":false,"children":[],"api_keys":[{"object":"ApiKey","key":"","mode":"test","created_at":"2023-11-22T20:29:39Z","active":true,"id":"ak_2d894bd15fd641e7b3da8bbceb3da605"},{"object":"ApiKey","key":"","mode":"production","created_at":"2023-11-22T20:29:39Z","active":true,"id":"ak_366fad2014d34ee58588d255a35a96fc"}]}' + body: '{"id":"user_a94fe9108ceb4cc6b51bf5e9c8a2cfad","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2024-08-14T17:40:10Z","default_carbon_offset":false,"has_elevate_access":false,"children":[],"api_keys":[{"object":"ApiKey","key":"","mode":"test","created_at":"2024-08-14T17:40:10Z","active":true,"id":"ak_eea139e5893f4536ad74bfbaa9fbbc35"},{"object":"ApiKey","key":"","mode":"production","created_at":"2024-08-14T17:40:10Z","active":true,"id":"ak_365d01401e7a430c93e5d9ae4977a8e9"}]}' curl_info: url: 'https://api.easypost.com/v2/users' content_type: 'application/json; charset=utf-8' @@ -46,40 +45,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.914926 - namelookup_time: 0.001259 - connect_time: 0.064987 - pretransfer_time: 0.133818 + total_time: 0.638611 + namelookup_time: 0.003536 + connect_time: 0.036772 + pretransfer_time: 0.073023 size_upload: 29.0 size_download: 691.0 - speed_download: 755.0 - speed_upload: 31.0 + speed_download: 1082.0 + speed_upload: 45.0 download_content_length: 691.0 upload_content_length: 29.0 - starttransfer_time: 0.914911 + starttransfer_time: 0.638536 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53387 + local_ip: 192.168.1.75 + local_port: 52742 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 133732 - connect_time_us: 64987 - namelookup_time_us: 1259 - pretransfer_time_us: 133818 + scheme: https + appconnect_time_us: 72954 + connect_time_us: 36772 + namelookup_time_us: 3536 + pretransfer_time_us: 73023 redirect_time_us: 0 - starttransfer_time_us: 914911 - total_time_us: 914926 + starttransfer_time_us: 638536 + total_time_us: 638611 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/users/user_006cc0d6eeec464bb83f157fbd106af5' + url: 'https://api.easypost.com/v2/users/user_a94fe9108ceb4cc6b51bf5e9c8a2cfad' headers: Host: api.easypost.com Accept-Encoding: '' @@ -89,8 +91,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -99,58 +100,60 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911e655e64b4e7885588001f8b87 + x-ep-request-uuid: e181587966bcebfae2b8ffb50086f82b cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '284' - x-runtime: '0.038037' - x-node: bigweb32nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.106394' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"user_006cc0d6eeec464bb83f157fbd106af5","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2023-11-22T20:29:39Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]}' + body: '{"id":"user_a94fe9108ceb4cc6b51bf5e9c8a2cfad","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2024-08-14T17:40:10Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]}' curl_info: - url: 'https://api.easypost.com/v2/users/user_006cc0d6eeec464bb83f157fbd106af5' + url: 'https://api.easypost.com/v2/users/user_a94fe9108ceb4cc6b51bf5e9c8a2cfad' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 706 + header_size: 688 request_size: 320 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.228667 - namelookup_time: 0.001048 - connect_time: 0.063989 - pretransfer_time: 0.127588 + total_time: 0.216284 + namelookup_time: 0.00203 + connect_time: 0.034963 + pretransfer_time: 0.073111 size_upload: 0.0 size_download: 284.0 - speed_download: 1241.0 + speed_download: 1313.0 speed_upload: 0.0 download_content_length: 284.0 upload_content_length: 0.0 - starttransfer_time: 0.228652 + starttransfer_time: 0.216236 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53388 + local_ip: 192.168.1.75 + local_port: 52743 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 127556 - connect_time_us: 63989 - namelookup_time_us: 1048 - pretransfer_time_us: 127588 + scheme: https + appconnect_time_us: 73040 + connect_time_us: 34963 + namelookup_time_us: 2030 + pretransfer_time_us: 73111 redirect_time_us: 0 - starttransfer_time_us: 228652 - total_time_us: 228667 + starttransfer_time_us: 216236 + total_time_us: 216284 + effective_method: GET + capath: '' + cainfo: '' index: 0 - request: @@ -165,8 +168,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -175,19 +177,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911e655e64b4e7885589001f8bc7 + x-ep-request-uuid: e181587966bcebfbe2b8ffb60086f873 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '2782' - x-runtime: '0.030467' - x-node: bigweb36nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '3710' + x-runtime: '0.096990' + x-node: bigweb39nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"user_465eab8bb86844108100be2d4d5288ab","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-02-02T20:16:00Z","id":"ak_52637c844ae94297b3f76912be885327"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-02-02T20:16:00Z","id":"ak_f835b4669c0a4418adb61511b78e1a97"}],"children":[{"id":"user_3c44214dcf744d169c3f2db034fd965e","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-11-23T21:03:03Z","id":"ak_188ab9ad38954d70b92ac851610049a0"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-11-23T21:03:03Z","id":"ak_6c5514fd0f444fe5b0f56bda566211b8"}],"children":[]},{"id":"user_78019b89199646358298fd311435458f","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-12-02T22:41:09Z","id":"ak_1c0819d6045e44cca81682b567ec44dc"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-12-02T22:41:09Z","id":"ak_58a87ab75364410d8c1764929d4d2666"}],"children":[]},{"id":"user_1a2e9fb7903c4a08b2da7d7f57150370","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-12-02T22:43:07Z","id":"ak_a6f607d7ad6547238176ff377bc07644"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-12-02T22:43:07Z","id":"ak_429f66000d394fafac709c6eee3ba15c"}],"children":[]},{"id":"user_f01890d357374ac3837ff556a957b9b4","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-12-05T17:00:14Z","id":"ak_8eeb329724ae4689b22134ef4430710b"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-12-05T17:00:14Z","id":"ak_e5f84d96d2da4b81ad73b743a94dc0fd"}],"children":[]},{"id":"user_006cc0d6eeec464bb83f157fbd106af5","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2023-11-22T20:29:39Z","id":"ak_2d894bd15fd641e7b3da8bbceb3da605"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2023-11-22T20:29:39Z","id":"ak_366fad2014d34ee58588d255a35a96fc"}],"children":[]}]}' + body: '{"id":"user_465eab8bb86844108100be2d4d5288ab","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-02-02T20:16:00Z","id":"ak_52637c844ae94297b3f76912be885327"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-02-02T20:16:00Z","id":"ak_f835b4669c0a4418adb61511b78e1a97"}],"children":[{"id":"user_3c44214dcf744d169c3f2db034fd965e","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-11-23T21:03:03Z","id":"ak_188ab9ad38954d70b92ac851610049a0"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-11-23T21:03:03Z","id":"ak_6c5514fd0f444fe5b0f56bda566211b8"}],"children":[]},{"id":"user_78019b89199646358298fd311435458f","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-12-02T22:41:09Z","id":"ak_1c0819d6045e44cca81682b567ec44dc"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-12-02T22:41:09Z","id":"ak_58a87ab75364410d8c1764929d4d2666"}],"children":[]},{"id":"user_1a2e9fb7903c4a08b2da7d7f57150370","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-12-02T22:43:07Z","id":"ak_a6f607d7ad6547238176ff377bc07644"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-12-02T22:43:07Z","id":"ak_429f66000d394fafac709c6eee3ba15c"}],"children":[]},{"id":"user_f01890d357374ac3837ff556a957b9b4","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2022-12-05T17:00:14Z","id":"ak_8eeb329724ae4689b22134ef4430710b"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2022-12-05T17:00:14Z","id":"ak_e5f84d96d2da4b81ad73b743a94dc0fd"}],"children":[]},{"id":"user_4f3642aa792a49d1bbf723956cccdb9f","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2024-03-22T19:40:51Z","id":"ak_4389a7a7d2374c588c8de199a0dd6d5f"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2024-03-22T19:40:51Z","id":"ak_29e48c044c4e4c7ca885cacf94bb2d69"}],"children":[]},{"id":"user_38e8f37bca2d4b8aa932cb39af02ce58","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2024-03-26T23:01:59Z","id":"ak_818bf250044f4676ba1609f67b8e1501"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2024-03-26T23:01:59Z","id":"ak_8b3600ac5f594998956e536b909402f7"}],"children":[]},{"id":"user_a94fe9108ceb4cc6b51bf5e9c8a2cfad","keys":[{"object":"ApiKey","active":true,"key":"","mode":"test","created_at":"2024-08-14T17:40:10Z","id":"ak_eea139e5893f4536ad74bfbaa9fbbc35"},{"object":"ApiKey","active":true,"key":"","mode":"production","created_at":"2024-08-14T17:40:10Z","id":"ak_365d01401e7a430c93e5d9ae4977a8e9"}],"children":[]}]}' curl_info: url: 'https://api.easypost.com/v2/api_keys' content_type: 'application/json; charset=utf-8' @@ -197,40 +199,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.230085 - namelookup_time: 0.001892 - connect_time: 0.06993 - pretransfer_time: 0.134482 + total_time: 0.20482 + namelookup_time: 0.001958 + connect_time: 0.034922 + pretransfer_time: 0.071391 size_upload: 0.0 - size_download: 2782.0 - speed_download: 12091.0 + size_download: 3710.0 + speed_download: 18113.0 speed_upload: 0.0 - download_content_length: 2782.0 + download_content_length: 3710.0 upload_content_length: 0.0 - starttransfer_time: 0.230072 + starttransfer_time: 0.204747 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53389 + local_ip: 192.168.1.75 + local_port: 52744 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 134455 - connect_time_us: 69930 - namelookup_time_us: 1892 - pretransfer_time_us: 134482 + scheme: https + appconnect_time_us: 71346 + connect_time_us: 34922 + namelookup_time_us: 1958 + pretransfer_time_us: 71391 redirect_time_us: 0 - starttransfer_time_us: 230072 - total_time_us: 230085 + starttransfer_time_us: 204747 + total_time_us: 204820 + effective_method: GET + capath: '' + cainfo: '' index: 0 - request: method: DELETE - url: 'https://api.easypost.com/v2/users/user_006cc0d6eeec464bb83f157fbd106af5' + url: 'https://api.easypost.com/v2/users/user_a94fe9108ceb4cc6b51bf5e9c8a2cfad' headers: Host: api.easypost.com Accept-Encoding: '' @@ -240,8 +245,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '204' + code: 204 message: 'No Content' headers: x-frame-options: SAMEORIGIN @@ -250,18 +254,18 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911b655e64b4e78855a1001f8c0b + x-ep-request-uuid: e181587b66bcebfbe2b8ffb70086f8b0 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - x-runtime: '0.116661' + x-runtime: '0.070228' x-node: bigweb40nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' curl_info: - url: 'https://api.easypost.com/v2/users/user_006cc0d6eeec464bb83f157fbd106af5' + url: 'https://api.easypost.com/v2/users/user_a94fe9108ceb4cc6b51bf5e9c8a2cfad' content_type: null http_code: 204 header_size: 628 @@ -269,33 +273,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.317169 - namelookup_time: 0.001153 - connect_time: 0.064185 - pretransfer_time: 0.13438 + total_time: 0.165446 + namelookup_time: 0.001712 + connect_time: 0.031402 + pretransfer_time: 0.062752 size_upload: 0.0 size_download: 0.0 speed_download: 0.0 speed_upload: 0.0 download_content_length: 0.0 upload_content_length: 0.0 - starttransfer_time: 0.317146 + starttransfer_time: 0.165427 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53390 + local_ip: 192.168.1.75 + local_port: 52745 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 134353 - connect_time_us: 64185 - namelookup_time_us: 1153 - pretransfer_time_us: 134380 + scheme: https + appconnect_time_us: 62715 + connect_time_us: 31402 + namelookup_time_us: 1712 + pretransfer_time_us: 62752 redirect_time_us: 0 - starttransfer_time_us: 317146 - total_time_us: 317169 + starttransfer_time_us: 165427 + total_time_us: 165446 + effective_method: DELETE + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/batches/addRemoveShipment.yml b/test/cassettes/batches/addRemoveShipment.yml index 76877e41..afcf99f2 100644 --- a/test/cassettes/batches/addRemoveShipment.yml +++ b/test/cassettes/batches/addRemoveShipment.yml @@ -11,11 +11,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"First","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' + body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"GroundAdvantage","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,58 +23,61 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f873655e6547e7885e27001f49df + x-ep-request-uuid: e181587a66bceb9de2b8f7bc00869e81 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_eed0d1cf54d945a9921fda00c17705ab + location: /api/v2/shipments/shp_1a413e0158c345558d080d634954f66a content-type: 'application/json; charset=utf-8' - content-length: '7619' - x-runtime: '1.185872' - x-node: bigweb31nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '6549' + x-runtime: '1.099307' + x-node: bigweb36nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:32:07Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105440282036494","updated_at":"2023-11-22T20:32:08Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_34813b66897611eeba403cecef1b359e","object":"Address","created_at":"2023-11-22T20:32:07+00:00","updated_at":"2023-11-22T20:32:07+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_438f77bf536e4327a0bf20a38dbd125d","object":"Parcel","created_at":"2023-11-22T20:32:07Z","updated_at":"2023-11-22T20:32:07Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_65ff4e7a98d94574906dc340e66da861","created_at":"2023-11-22T20:32:08Z","updated_at":"2023-11-22T20:32:08Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:32: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\/20231122\/e8d86fed183add45ecbc90260b15ea068d.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_a14395b62b1f45438e7ed125bd504422","object":"Rate","created_at":"2023-11-22T20:32:07Z","updated_at":"2023-11-22T20:32:07Z","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_eed0d1cf54d945a9921fda00c17705ab","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_7cb2aece09ba42f3bf45504f8008699a","object":"Rate","created_at":"2023-11-22T20:32:07Z","updated_at":"2023-11-22T20:32:07Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_eed0d1cf54d945a9921fda00c17705ab","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_943edd8ebbed4d838bfb41fdea59728b","object":"Rate","created_at":"2023-11-22T20:32:07Z","updated_at":"2023-11-22T20:32:07Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_eed0d1cf54d945a9921fda00c17705ab","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_77df8eabb3d348669d4ebb80bab45125","object":"Rate","created_at":"2023-11-22T20:32:07Z","updated_at":"2023-11-22T20:32:07Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_eed0d1cf54d945a9921fda00c17705ab","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_26fc8fe7b9374612a6b48612e881b2c0","object":"Rate","created_at":"2023-11-22T20:32:07Z","updated_at":"2023-11-22T20:32:07Z","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_eed0d1cf54d945a9921fda00c17705ab","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_943edd8ebbed4d838bfb41fdea59728b","object":"Rate","created_at":"2023-11-22T20:32:08Z","updated_at":"2023-11-22T20:32:08Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_eed0d1cf54d945a9921fda00c17705ab","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_6c292a8c7c454558a3ba4eabf0a2850c","object":"Tracker","mode":"test","tracking_code":"9400100105440282036494","status":"unknown","status_detail":"unknown","created_at":"2023-11-22T20:32:08Z","updated_at":"2023-11-22T20:32:08Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_eed0d1cf54d945a9921fda00c17705ab","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzZjMjkyYThjN2M0NTQ1NThhM2JhNGVhYmYwYTI4NTBj"},"to_address":{"id":"adr_347f09ab897611eebb73ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:32:07+00:00","updated_at":"2023-11-22T20:32:07+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_34813b66897611eeba403cecef1b359e","object":"Address","created_at":"2023-11-22T20:32:07+00:00","updated_at":"2023-11-22T20:32:07+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_347f09ab897611eebb73ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:32:07+00:00","updated_at":"2023-11-22T20:32:07+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_eed0d1cf54d945a9921fda00c17705ab","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:38:37Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196078","updated_at":"2024-08-14T17:38:38Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_09a53f9e5a6411ef87a8ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:38:37+00:00","updated_at":"2024-08-14T17:38:37+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_a82b623fbf634143a464493fd304c931","object":"Parcel","created_at":"2024-08-14T17:38:37Z","updated_at":"2024-08-14T17:38:37Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_e8e7ed482cf345d18519b4e0e02240d3","created_at":"2024-08-14T17:38:38Z","updated_at":"2024-08-14T17:38:38Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:38: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\/20240814\/e882d9b4c14a1942fe8ae6288598107036.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_7efe394af75442a480c925cedfaa6dc4","object":"Rate","created_at":"2024-08-14T17:38:37Z","updated_at":"2024-08-14T17:38:37Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_1a413e0158c345558d080d634954f66a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_c20fb15af6f14be49c7ea55ce530f15c","object":"Rate","created_at":"2024-08-14T17:38:37Z","updated_at":"2024-08-14T17:38:37Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_1a413e0158c345558d080d634954f66a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_455e194b0fac4d629c0850e990fd650e","object":"Rate","created_at":"2024-08-14T17:38:37Z","updated_at":"2024-08-14T17:38:37Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_1a413e0158c345558d080d634954f66a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_455e194b0fac4d629c0850e990fd650e","object":"Rate","created_at":"2024-08-14T17:38:38Z","updated_at":"2024-08-14T17:38:38Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_1a413e0158c345558d080d634954f66a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_4a096b5f556e499898cdcd51fd53bb92","object":"Tracker","mode":"test","tracking_code":"9400100105807075196078","status":"unknown","status_detail":"unknown","created_at":"2024-08-14T17:38:38Z","updated_at":"2024-08-14T17:38:38Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_1a413e0158c345558d080d634954f66a","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzRhMDk2YjVmNTU2ZTQ5OTg5OGNkY2Q1MWZkNTNiYjky"},"to_address":{"id":"adr_09a315415a6411efa7873cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:37+00:00","updated_at":"2024-08-14T17:38:37+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_09a53f9e5a6411ef87a8ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:38:37+00:00","updated_at":"2024-08-14T17:38:37+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_09a315415a6411efa7873cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:37+00:00","updated_at":"2024-08-14T17:38:37+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_1a413e0158c345558d080d634954f66a","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' http_code: 201 header_size: 760 - request_size: 861 + request_size: 871 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.393203 - namelookup_time: 0.001281 - connect_time: 0.064533 - pretransfer_time: 0.134271 - size_upload: 553.0 - size_download: 7619.0 - speed_download: 5468.0 - speed_upload: 396.0 - download_content_length: 7619.0 - upload_content_length: 553.0 - starttransfer_time: 1.392249 + total_time: 1.201967 + namelookup_time: 0.002324 + connect_time: 0.032162 + pretransfer_time: 0.063327 + size_upload: 563.0 + size_download: 6549.0 + speed_download: 5448.0 + speed_upload: 468.0 + download_content_length: 6549.0 + upload_content_length: 563.0 + starttransfer_time: 1.196921 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53594 + local_ip: 192.168.1.75 + local_port: 52588 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 134206 - connect_time_us: 64533 - namelookup_time_us: 1281 - pretransfer_time_us: 134271 + scheme: https + appconnect_time_us: 63282 + connect_time_us: 32162 + namelookup_time_us: 2324 + pretransfer_time_us: 63327 redirect_time_us: 0 - starttransfer_time_us: 1392249 - total_time_us: 1393203 + starttransfer_time_us: 1196921 + total_time_us: 1201967 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: @@ -92,8 +94,7 @@ body: '[]' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -102,19 +103,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f873655e6548e7885e28001f4b21 + x-ep-request-uuid: e181587a66bceb9ee2b8f7bd00869f6f cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '383' - x-runtime: '0.039569' - x-node: bigweb39nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.040803' + x-node: bigweb41nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"batch_21e8a1d23dd8473782833bcf08835ece","object":"Batch","mode":"test","state":"created","num_shipments":0,"reference":null,"created_at":"2023-11-22T20:32:08Z","updated_at":"2023-11-22T20:32: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}' + body: '{"id":"batch_3ce2c1176a154c088a753289c8a75204","object":"Batch","mode":"test","state":"created","num_shipments":0,"reference":null,"created_at":"2024-08-14T17:38:38Z","updated_at":"2024-08-14T17:38: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}' curl_info: url: 'https://api.easypost.com/v2/batches' content_type: 'application/json; charset=utf-8' @@ -124,40 +125,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.234228 - namelookup_time: 0.00117 - connect_time: 0.064553 - pretransfer_time: 0.129636 + total_time: 0.156121 + namelookup_time: 0.002019 + connect_time: 0.034664 + pretransfer_time: 0.071432 size_upload: 2.0 size_download: 383.0 - speed_download: 1635.0 - speed_upload: 8.0 + speed_download: 2453.0 + speed_upload: 12.0 download_content_length: 383.0 upload_content_length: 2.0 - starttransfer_time: 0.234193 + starttransfer_time: 0.156098 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53595 + local_ip: 192.168.1.75 + local_port: 52589 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 129609 - connect_time_us: 64553 - namelookup_time_us: 1170 - pretransfer_time_us: 129636 + scheme: https + appconnect_time_us: 71389 + connect_time_us: 34664 + namelookup_time_us: 2019 + pretransfer_time_us: 71432 redirect_time_us: 0 - starttransfer_time_us: 234193 - total_time_us: 234228 + starttransfer_time_us: 156098 + total_time_us: 156121 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: POST - url: 'https://api.easypost.com/v2/batches/batch_21e8a1d23dd8473782833bcf08835ece/add_shipments' + url: 'https://api.easypost.com/v2/batches/batch_3ce2c1176a154c088a753289c8a75204/add_shipments' headers: Host: api.easypost.com Expect: '' @@ -166,11 +170,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"shipments":[{"id":"shp_eed0d1cf54d945a9921fda00c17705ab"}]}' + body: '{"shipments":[{"id":"shp_1a413e0158c345558d080d634954f66a"}]}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -179,62 +182,66 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f870655e6549e7885e29001f4b5b + x-ep-request-uuid: e181587766bceb9fe2b8f7d500869f95 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '542' - x-runtime: '0.052611' - x-node: bigweb35nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.046089' + x-node: bigweb43nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-canary: direct + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"batch_21e8a1d23dd8473782833bcf08835ece","object":"Batch","mode":"test","state":"created","num_shipments":1,"reference":null,"created_at":"2023-11-22T20:32:08Z","updated_at":"2023-11-22T20:32:08Z","scan_form":null,"shipments":[{"batch_status":"postage_purchased","batch_message":null,"reference":null,"tracking_code":"9400100105440282036494","id":"shp_eed0d1cf54d945a9921fda00c17705ab"}],"status":{"created":0,"queued_for_purchase":0,"creation_failed":0,"postage_purchased":1,"postage_purchase_failed":0},"pickup":null,"label_url":null}' + body: '{"id":"batch_3ce2c1176a154c088a753289c8a75204","object":"Batch","mode":"test","state":"created","num_shipments":1,"reference":null,"created_at":"2024-08-14T17:38:38Z","updated_at":"2024-08-14T17:38:38Z","scan_form":null,"shipments":[{"batch_status":"postage_purchased","batch_message":null,"reference":null,"tracking_code":"9400100105807075196078","id":"shp_1a413e0158c345558d080d634954f66a"}],"status":{"created":0,"queued_for_purchase":0,"creation_failed":0,"postage_purchased":1,"postage_purchase_failed":0},"pickup":null,"label_url":null}' curl_info: - url: 'https://api.easypost.com/v2/batches/batch_21e8a1d23dd8473782833bcf08835ece/add_shipments' + url: 'https://api.easypost.com/v2/batches/batch_3ce2c1176a154c088a753289c8a75204/add_shipments' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 688 + header_size: 706 request_size: 419 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.246452 - namelookup_time: 0.001317 - connect_time: 0.064347 - pretransfer_time: 0.130121 + total_time: 0.154009 + namelookup_time: 0.002135 + connect_time: 0.04191 + pretransfer_time: 0.075153 size_upload: 61.0 size_download: 542.0 - speed_download: 2199.0 - speed_upload: 247.0 + speed_download: 3519.0 + speed_upload: 396.0 download_content_length: 542.0 upload_content_length: 61.0 - starttransfer_time: 0.246421 + starttransfer_time: 0.153932 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53596 + local_ip: 192.168.1.75 + local_port: 52590 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 130064 - connect_time_us: 64347 - namelookup_time_us: 1317 - pretransfer_time_us: 130121 + scheme: https + appconnect_time_us: 75056 + connect_time_us: 41910 + namelookup_time_us: 2135 + pretransfer_time_us: 75153 redirect_time_us: 0 - starttransfer_time_us: 246421 - total_time_us: 246452 + starttransfer_time_us: 153932 + total_time_us: 154009 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: POST - url: 'https://api.easypost.com/v2/batches/batch_21e8a1d23dd8473782833bcf08835ece/remove_shipments' + url: 'https://api.easypost.com/v2/batches/batch_3ce2c1176a154c088a753289c8a75204/remove_shipments' headers: Host: api.easypost.com Expect: '' @@ -243,11 +250,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"shipments":[{"id":"shp_eed0d1cf54d945a9921fda00c17705ab"}]}' + body: '{"shipments":[{"id":"shp_1a413e0158c345558d080d634954f66a"}]}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -256,21 +262,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f875655e6549e7885e2a001f4bb8 + x-ep-request-uuid: e181587a66bceb9fe2b8f7d600869fae cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '385' - x-runtime: '0.061705' - x-node: bigweb42nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.039669' + x-node: bigweb36nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"batch_21e8a1d23dd8473782833bcf08835ece","object":"Batch","mode":"test","state":"purchased","num_shipments":0,"reference":null,"created_at":"2023-11-22T20:32:08Z","updated_at":"2023-11-22T20:32:09Z","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}' + body: '{"id":"batch_3ce2c1176a154c088a753289c8a75204","object":"Batch","mode":"test","state":"purchased","num_shipments":0,"reference":null,"created_at":"2024-08-14T17:38:38Z","updated_at":"2024-08-14T17:38: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}' curl_info: - url: 'https://api.easypost.com/v2/batches/batch_21e8a1d23dd8473782833bcf08835ece/remove_shipments' + url: 'https://api.easypost.com/v2/batches/batch_3ce2c1176a154c088a753289c8a75204/remove_shipments' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 688 @@ -278,33 +284,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.260226 - namelookup_time: 0.001097 - connect_time: 0.064276 - pretransfer_time: 0.133684 + total_time: 0.142572 + namelookup_time: 0.002283 + connect_time: 0.031772 + pretransfer_time: 0.064252 size_upload: 61.0 size_download: 385.0 - speed_download: 1479.0 - speed_upload: 234.0 + speed_download: 2700.0 + speed_upload: 427.0 download_content_length: 385.0 upload_content_length: 61.0 - starttransfer_time: 0.2602 + starttransfer_time: 0.142511 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53597 + local_ip: 192.168.1.75 + local_port: 52591 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 133584 - connect_time_us: 64276 - namelookup_time_us: 1097 - pretransfer_time_us: 133684 + scheme: https + appconnect_time_us: 64176 + connect_time_us: 31772 + namelookup_time_us: 2283 + pretransfer_time_us: 64252 redirect_time_us: 0 - starttransfer_time_us: 260200 - total_time_us: 260226 + starttransfer_time_us: 142511 + total_time_us: 142572 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/batches/all.yml b/test/cassettes/batches/all.yml index f7485cac..102e8856 100644 --- a/test/cassettes/batches/all.yml +++ b/test/cassettes/batches/all.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,56 +21,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f872655e6555e788613f001f5776 + x-ep-request-uuid: e181587a66bceb9fe2b8f7da0086a025 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '7164' - x-runtime: '0.136084' - x-node: bigweb43nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '2674' + x-runtime: '0.084022' + x-node: bigweb35nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"batches":[{"id":"batch_8750e326518c46718ffd7a22d233d564","object":"Batch","mode":"test","state":"creating","num_shipments":1,"reference":null,"created_at":"2023-11-22T19:56:07Z","updated_at":"2023-11-22T19:56:07Z","scan_form":{"id":"sf_c46913507e404be28eb240b2721de3f2","object":"ScanForm","created_at":"2023-11-22T19:56:07Z","updated_at":"2023-11-22T19:56:07Z","tracking_codes":["9400100105440282027522"],"address":{"id":"adr_2c4a0566897111eeb033ac1f6bc539aa","object":"Address","created_at":"2023-11-22T19:56:06+00:00","updated_at":"2023-11-22T19:56:06+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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\/20231122\/e8bcd5ffb337ba4305a3bff8eedc073b41.pdf","form_file_type":null,"batch_id":"batch_8750e326518c46718ffd7a22d233d564","confirmation":null},"shipments":[{"batch_status":"postage_purchased","batch_message":null,"reference":null,"tracking_code":"9400100105440282027522","id":"shp_ace1ff54107e4c78b97bfcb9c570f553"}],"status":{"created":0,"queued_for_purchase":0,"creation_failed":0,"postage_purchased":1,"postage_purchase_failed":0},"pickup":null,"label_url":null},{"id":"batch_cf7cd0e1d8f545d58184f4b8e56385bf","object":"Batch","mode":"test","state":"creating","num_shipments":1,"reference":null,"created_at":"2023-11-22T19:56:09Z","updated_at":"2023-11-22T19:56:09Z","scan_form":{"id":"sf_c50bf012a81242018a166ede7e80e9d9","object":"ScanForm","created_at":"2023-11-22T19:56:09Z","updated_at":"2023-11-22T19:56:09Z","tracking_codes":["9400100105440282027553"],"address":{"id":"adr_2d7126f2897111eebfb0ac1f6bc53342","object":"Address","created_at":"2023-11-22T19:56:08+00:00","updated_at":"2023-11-22T19:56:08+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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\/20231122\/e8160f3befb06b486bb62da947c2396344.pdf","form_file_type":null,"batch_id":"batch_cf7cd0e1d8f545d58184f4b8e56385bf","confirmation":null},"shipments":[{"batch_status":"postage_purchased","batch_message":null,"reference":null,"tracking_code":"9400100105440282027553","id":"shp_1e3d31deb3eb43c6aee6a93c12dd099a"}],"status":{"created":0,"queued_for_purchase":0,"creation_failed":0,"postage_purchased":1,"postage_purchase_failed":0},"pickup":null,"label_url":null},{"id":"batch_d9c6e27270624d7e8c15ce99a55181f2","object":"Batch","mode":"test","state":"creating","num_shipments":1,"reference":null,"created_at":"2023-11-22T19:56:24Z","updated_at":"2023-11-22T19:56:24Z","scan_form":null,"shipments":[{"batch_status":"postage_purchased","batch_message":null,"reference":null,"tracking_code":"9400100105440282027645","id":"shp_971cedec77924442bd2306a48777cf8b"}],"status":{"created":0,"queued_for_purchase":0,"creation_failed":0,"postage_purchased":1,"postage_purchase_failed":0},"pickup":{"id":"pickup_7e61752ff5134d1ca7fce25e1b7bbb1f","object":"Pickup","created_at":"2023-11-22T19:56:24Z","updated_at":"2023-11-22T19:56:24Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2022-12-09T00:00:00Z","max_datetime":"2022-12-09T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_370789ec897111eeb7d2ac1f6bc539aa","object":"Address","created_at":"2023-11-22T19:56:24+00:00","updated_at":"2023-11-22T19:56:24+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":[]},"label_url":null},{"id":"batch_51484cfa27c4404d90ffd7782d83bbbf","object":"Batch","mode":"test","state":"creating","num_shipments":1,"reference":null,"created_at":"2023-11-22T19:56:26Z","updated_at":"2023-11-22T19:56:26Z","scan_form":null,"shipments":[{"batch_status":"postage_purchased","batch_message":null,"reference":null,"tracking_code":"9400100105440282027652","id":"shp_aa3d36701334431fa8f2edb0913facce"}],"status":{"created":0,"queued_for_purchase":0,"creation_failed":0,"postage_purchased":1,"postage_purchase_failed":0},"pickup":{"id":"pickup_c68dfe6a3c1f4221b43c6c077b4ce552","object":"Pickup","created_at":"2023-11-22T19:56:26Z","updated_at":"2023-11-22T19:56:26Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2022-12-09T00:00:00Z","max_datetime":"2022-12-09T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_383d7158897111ee84903cecef1b359e","object":"Address","created_at":"2023-11-22T19:56:26+00:00","updated_at":"2023-11-22T19:56:26+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":[]},"label_url":null},{"id":"batch_ce6fecfa9e4a4f578e16f4dca9a8da97","object":"Batch","mode":"test","state":"creating","num_shipments":1,"reference":null,"created_at":"2023-11-22T19:56:28Z","updated_at":"2023-11-22T19:56:28Z","scan_form":null,"shipments":[{"batch_status":"postage_purchased","batch_message":null,"reference":null,"tracking_code":"9400100105440282027676","id":"shp_f56ed92b9a954569ae3042cf8410f7f2"}],"status":{"created":0,"queued_for_purchase":0,"creation_failed":0,"postage_purchased":1,"postage_purchase_failed":0},"pickup":{"id":"pickup_388dc1fa38974009931d7b1d0dc48cbb","object":"Pickup","created_at":"2023-11-22T19:56:28Z","updated_at":"2023-11-22T19:56:28Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2022-12-09T00:00:00Z","max_datetime":"2022-12-09T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_395f78e9897111ee85463cecef1b359e","object":"Address","created_at":"2023-11-22T19:56:28+00:00","updated_at":"2023-11-22T19:56:28+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":[]},"label_url":null}],"has_more":true}' + body: '{"batches":[{"id":"batch_2cf5d935fafe46c7a31798ccd0cf616b","object":"Batch","mode":"test","state":"purchased","num_shipments":1,"reference":null,"created_at":"2024-08-14T17:37:53Z","updated_at":"2024-08-14T17:37:55Z","scan_form":null,"shipments":[{"batch_status":"postage_purchased","batch_message":null,"reference":null,"tracking_code":"9400100105807075195491","id":"shp_7901b8f196a54a03b1435c7496bcad10"}],"status":{"created":0,"queued_for_purchase":0,"creation_failed":0,"postage_purchased":1,"postage_purchase_failed":0},"pickup":null,"label_url":null},{"id":"batch_419c2a774222420b94ca6e915f06bfd0","object":"Batch","mode":"test","state":"purchased","num_shipments":1,"reference":null,"created_at":"2024-08-14T17:37:54Z","updated_at":"2024-08-14T17:37:55Z","scan_form":null,"shipments":[{"batch_status":"postage_purchased","batch_message":null,"reference":null,"tracking_code":"9400100105807075195507","id":"shp_adf84f2ffe8a49c7a2e9b46fc98bf628"}],"status":{"created":0,"queued_for_purchase":0,"creation_failed":0,"postage_purchased":1,"postage_purchase_failed":0},"pickup":null,"label_url":null},{"id":"batch_2f115d5821df4d88bd15656015626d4d","object":"Batch","mode":"test","state":"label_generated","num_shipments":1,"reference":null,"created_at":"2024-08-14T17:38:32Z","updated_at":"2024-08-14T17:38:38Z","scan_form":null,"shipments":[{"batch_status":"postage_purchased","batch_message":null,"reference":null,"tracking_code":"9400100105807075195965","id":"shp_3b9e2541493247728360f3c2b43df567"}],"status":{"created":0,"queued_for_purchase":0,"creation_failed":0,"postage_purchased":1,"postage_purchase_failed":0},"pickup":null,"label_url":"https:\/\/easypost-files.s3.us-west-2.amazonaws.com\/files\/batch\/20240814\/e8b24262ae292642998527edae0f55b914.zpl"},{"id":"batch_3ce2c1176a154c088a753289c8a75204","object":"Batch","mode":"test","state":"created","num_shipments":0,"reference":null,"created_at":"2024-08-14T17:38:38Z","updated_at":"2024-08-14T17:38: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},{"id":"batch_fa7dc70d080d4dccb967ecb2c6472393","object":"Batch","mode":"test","state":"created","num_shipments":1,"reference":null,"created_at":"2024-08-14T17:38:39Z","updated_at":"2024-08-14T17:38:39Z","scan_form":null,"shipments":[{"batch_status":"created","batch_message":null,"reference":null,"tracking_code":null,"id":"shp_e2c916bfd9b345728a012a558a0fa456"}],"status":{"created":1,"queued_for_purchase":0,"creation_failed":0,"postage_purchased":0,"postage_purchase_failed":0},"pickup":null,"label_url":null}],"has_more":true}' curl_info: url: 'https://api.easypost.com/v2/batches?page_size=5' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 707 + header_size: 689 request_size: 296 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.338448 - namelookup_time: 0.001166 - connect_time: 0.06819 - pretransfer_time: 0.135295 + total_time: 0.193073 + namelookup_time: 0.002954 + connect_time: 0.035219 + pretransfer_time: 0.071772 size_upload: 0.0 - size_download: 7164.0 - speed_download: 21167.0 + size_download: 2674.0 + speed_download: 13849.0 speed_upload: 0.0 - download_content_length: 7164.0 + download_content_length: 2674.0 upload_content_length: 0.0 - starttransfer_time: 0.338382 + starttransfer_time: 0.19295 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53604 + local_ip: 192.168.1.75 + local_port: 52595 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 135211 - connect_time_us: 68190 - namelookup_time_us: 1166 - pretransfer_time_us: 135295 + scheme: https + appconnect_time_us: 71716 + connect_time_us: 35219 + namelookup_time_us: 2954 + pretransfer_time_us: 71772 redirect_time_us: 0 - starttransfer_time_us: 338382 - total_time_us: 338448 + starttransfer_time_us: 192950 + total_time_us: 193073 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/batches/buy.yml b/test/cassettes/batches/buy.yml index 887c50f6..58b130ca 100644 --- a/test/cassettes/batches/buy.yml +++ b/test/cassettes/batches/buy.yml @@ -11,11 +11,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"batch":{"shipments":[{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"First","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}]}}' + body: '{"batch":{"shipments":[{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"GroundAdvantage","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}]}}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -24,62 +23,65 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f877655e6546e7885e25001f495d + x-ep-request-uuid: e181587b66bceb71e2b8f735008679b4 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '384' - x-runtime: '0.043034' - x-node: bigweb35nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.051712' + x-node: bigweb33nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"batch_a051ea4cc9b44f82ac5df40168501d64","object":"Batch","mode":"test","state":"creating","num_shipments":1,"reference":null,"created_at":"2023-11-22T20:32:06Z","updated_at":"2023-11-22T20:32:06Z","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}' + body: '{"id":"batch_2cf5d935fafe46c7a31798ccd0cf616b","object":"Batch","mode":"test","state":"creating","num_shipments":1,"reference":null,"created_at":"2024-08-14T17:37:53Z","updated_at":"2024-08-14T17:37: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}' curl_info: url: 'https://api.easypost.com/v2/batches' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 688 - request_size: 872 + request_size: 882 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.245684 - namelookup_time: 0.001049 - connect_time: 0.064906 - pretransfer_time: 0.132117 - size_upload: 566.0 + total_time: 0.217746 + namelookup_time: 0.064445 + connect_time: 0.093831 + pretransfer_time: 0.133249 + size_upload: 576.0 size_download: 384.0 - speed_download: 1562.0 - speed_upload: 2303.0 + speed_download: 1763.0 + speed_upload: 2645.0 download_content_length: 384.0 - upload_content_length: 566.0 - starttransfer_time: 0.245648 + upload_content_length: 576.0 + starttransfer_time: 0.217717 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53592 + local_ip: 192.168.1.75 + local_port: 52545 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 132038 - connect_time_us: 64906 - namelookup_time_us: 1049 - pretransfer_time_us: 132117 + scheme: https + appconnect_time_us: 132687 + connect_time_us: 93831 + namelookup_time_us: 64445 + pretransfer_time_us: 133249 redirect_time_us: 0 - starttransfer_time_us: 245648 - total_time_us: 245684 + starttransfer_time_us: 217717 + total_time_us: 217746 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: POST - url: 'https://api.easypost.com/v2/batches/batch_a051ea4cc9b44f82ac5df40168501d64/buy' + url: 'https://api.easypost.com/v2/batches/batch_2cf5d935fafe46c7a31798ccd0cf616b/buy' headers: Host: api.easypost.com Expect: '' @@ -91,8 +93,7 @@ body: '[]' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -101,21 +102,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f871655e6547e7885e26001f498d + x-ep-request-uuid: e181587666bceb71e2b8f736008679dc cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '524' - x-runtime: '0.077652' - x-node: bigweb33nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.063091' + x-node: bigweb36nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"batch_a051ea4cc9b44f82ac5df40168501d64","object":"Batch","mode":"test","state":"created","num_shipments":1,"reference":null,"created_at":"2023-11-22T20:32:06Z","updated_at":"2023-11-22T20:32:07Z","scan_form":null,"shipments":[{"batch_status":"queued_for_purchase","batch_message":null,"reference":null,"tracking_code":null,"id":"shp_308d711b95e44f4390245d21aef893ef"}],"status":{"created":1,"queued_for_purchase":0,"creation_failed":0,"postage_purchased":0,"postage_purchase_failed":0},"pickup":null,"label_url":null}' + body: '{"id":"batch_2cf5d935fafe46c7a31798ccd0cf616b","object":"Batch","mode":"test","state":"created","num_shipments":1,"reference":null,"created_at":"2024-08-14T17:37:53Z","updated_at":"2024-08-14T17:37:53Z","scan_form":null,"shipments":[{"batch_status":"queued_for_purchase","batch_message":null,"reference":null,"tracking_code":null,"id":"shp_7901b8f196a54a03b1435c7496bcad10"}],"status":{"created":1,"queued_for_purchase":0,"creation_failed":0,"postage_purchased":0,"postage_purchase_failed":0},"pickup":null,"label_url":null}' curl_info: - url: 'https://api.easypost.com/v2/batches/batch_a051ea4cc9b44f82ac5df40168501d64/buy' + url: 'https://api.easypost.com/v2/batches/batch_2cf5d935fafe46c7a31798ccd0cf616b/buy' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 688 @@ -123,33 +124,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.284321 - namelookup_time: 0.001161 - connect_time: 0.065848 - pretransfer_time: 0.139998 + total_time: 0.160223 + namelookup_time: 0.00236 + connect_time: 0.031673 + pretransfer_time: 0.06359 size_upload: 2.0 size_download: 524.0 - speed_download: 1842.0 - speed_upload: 7.0 + speed_download: 3270.0 + speed_upload: 12.0 download_content_length: 524.0 upload_content_length: 2.0 - starttransfer_time: 0.284291 + starttransfer_time: 0.160193 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53593 + local_ip: 192.168.1.75 + local_port: 52546 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 139928 - connect_time_us: 65848 - namelookup_time_us: 1161 - pretransfer_time_us: 139998 + scheme: https + appconnect_time_us: 63519 + connect_time_us: 31673 + namelookup_time_us: 2360 + pretransfer_time_us: 63590 redirect_time_us: 0 - starttransfer_time_us: 284291 - total_time_us: 284321 + starttransfer_time_us: 160193 + total_time_us: 160223 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/batches/create.yml b/test/cassettes/batches/create.yml index bf5381ac..69de301a 100644 --- a/test/cassettes/batches/create.yml +++ b/test/cassettes/batches/create.yml @@ -14,8 +14,7 @@ body: '{"batch":{"shipments":[{"from_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"to_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"}}]}}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -24,56 +23,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f877655e6545e7885e0a001f4856 + x-ep-request-uuid: e181587b66bceb9fe2b8f7d700869fd6 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '384' - x-runtime: '0.052682' - x-node: bigweb32nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.056694' + x-node: bigweb41nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"batch_826d84b0af6d4e82b7552fe595e69315","object":"Batch","mode":"test","state":"creating","num_shipments":1,"reference":null,"created_at":"2023-11-22T20:32:05Z","updated_at":"2023-11-22T20:32: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}' + body: '{"id":"batch_fa7dc70d080d4dccb967ecb2c6472393","object":"Batch","mode":"test","state":"creating","num_shipments":1,"reference":null,"created_at":"2024-08-14T17:38:39Z","updated_at":"2024-08-14T17:38: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}' curl_info: url: 'https://api.easypost.com/v2/batches' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 706 + header_size: 688 request_size: 778 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.254775 - namelookup_time: 0.001198 - connect_time: 0.064584 - pretransfer_time: 0.132615 + total_time: 0.156735 + namelookup_time: 0.002651 + connect_time: 0.032416 + pretransfer_time: 0.065898 size_upload: 472.0 size_download: 384.0 - speed_download: 1507.0 - speed_upload: 1852.0 + speed_download: 2449.0 + speed_upload: 3011.0 download_content_length: 384.0 upload_content_length: 472.0 - starttransfer_time: 0.254726 + starttransfer_time: 0.156648 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53588 + local_ip: 192.168.1.75 + local_port: 52592 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 132547 - connect_time_us: 64584 - namelookup_time_us: 1198 - pretransfer_time_us: 132615 + scheme: https + appconnect_time_us: 65827 + connect_time_us: 32416 + namelookup_time_us: 2651 + pretransfer_time_us: 65898 redirect_time_us: 0 - starttransfer_time_us: 254726 - total_time_us: 254775 + starttransfer_time_us: 156648 + total_time_us: 156735 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/batches/createScanForm.yml b/test/cassettes/batches/createScanForm.yml index 9a06dd15..aae10659 100644 --- a/test/cassettes/batches/createScanForm.yml +++ b/test/cassettes/batches/createScanForm.yml @@ -11,11 +11,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"batch":{"shipments":[{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"First","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}]}}' + body: '{"batch":{"shipments":[{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"GroundAdvantage","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}]}}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -24,62 +23,65 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f876655e654fe788613c001f5191 + x-ep-request-uuid: ce89012266bcecf1e2b908370085bbbd cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '384' - x-runtime: '0.058434' - x-node: bigweb41nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.054254' + x-node: bigweb39nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb1nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"batch_f67a3cbe61c7450b87d2400fe6350850","object":"Batch","mode":"test","state":"creating","num_shipments":1,"reference":null,"created_at":"2023-11-22T20:32:15Z","updated_at":"2023-11-22T20:32: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}' + body: '{"id":"batch_777762375ae9401fb875a7a8893f42ed","object":"Batch","mode":"test","state":"creating","num_shipments":1,"reference":null,"created_at":"2024-08-14T17:44:17Z","updated_at":"2024-08-14T17:44: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}' curl_info: url: 'https://api.easypost.com/v2/batches' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 688 - request_size: 872 + request_size: 882 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.267453 - namelookup_time: 0.004932 - connect_time: 0.074866 - pretransfer_time: 0.144399 - size_upload: 566.0 + total_time: 0.192587 + namelookup_time: 0.025067 + connect_time: 0.059407 + pretransfer_time: 0.099825 + size_upload: 576.0 size_download: 384.0 - speed_download: 1435.0 - speed_upload: 2116.0 + speed_download: 1993.0 + speed_upload: 2990.0 download_content_length: 384.0 - upload_content_length: 566.0 - starttransfer_time: 0.267425 + upload_content_length: 576.0 + starttransfer_time: 0.192568 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.131 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53601 + local_ip: 192.168.1.75 + local_port: 52943 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 144308 - connect_time_us: 74866 - namelookup_time_us: 4932 - pretransfer_time_us: 144399 + scheme: https + appconnect_time_us: 99495 + connect_time_us: 59407 + namelookup_time_us: 25067 + pretransfer_time_us: 99825 redirect_time_us: 0 - starttransfer_time_us: 267425 - total_time_us: 267453 + starttransfer_time_us: 192568 + total_time_us: 192587 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: POST - url: 'https://api.easypost.com/v2/batches/batch_f67a3cbe61c7450b87d2400fe6350850/buy' + url: 'https://api.easypost.com/v2/batches/batch_777762375ae9401fb875a7a8893f42ed/buy' headers: Host: api.easypost.com Expect: '' @@ -91,8 +93,7 @@ body: '[]' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -101,21 +102,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f875655e654fe788613d001f51d0 + x-ep-request-uuid: ce89012066bcecf1e2b908380085bc08 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '524' - x-runtime: '0.071911' - x-node: bigweb34nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.071879' + x-node: bigweb38nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb1nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"batch_f67a3cbe61c7450b87d2400fe6350850","object":"Batch","mode":"test","state":"created","num_shipments":1,"reference":null,"created_at":"2023-11-22T20:32:15Z","updated_at":"2023-11-22T20:32:15Z","scan_form":null,"shipments":[{"batch_status":"queued_for_purchase","batch_message":null,"reference":null,"tracking_code":null,"id":"shp_51b03a17fbbb4b73a18cbc83242a8750"}],"status":{"created":1,"queued_for_purchase":0,"creation_failed":0,"postage_purchased":0,"postage_purchase_failed":0},"pickup":null,"label_url":null}' + body: '{"id":"batch_777762375ae9401fb875a7a8893f42ed","object":"Batch","mode":"test","state":"created","num_shipments":1,"reference":null,"created_at":"2024-08-14T17:44:17Z","updated_at":"2024-08-14T17:44:17Z","scan_form":null,"shipments":[{"batch_status":"queued_for_purchase","batch_message":null,"reference":null,"tracking_code":null,"id":"shp_6c0a5a39a9ca456881dc4710c5e5d148"}],"status":{"created":1,"queued_for_purchase":0,"creation_failed":0,"postage_purchased":0,"postage_purchase_failed":0},"pickup":null,"label_url":null}' curl_info: - url: 'https://api.easypost.com/v2/batches/batch_f67a3cbe61c7450b87d2400fe6350850/buy' + url: 'https://api.easypost.com/v2/batches/batch_777762375ae9401fb875a7a8893f42ed/buy' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 688 @@ -123,40 +124,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.266105 - namelookup_time: 0.001081 - connect_time: 0.063473 - pretransfer_time: 0.129473 + total_time: 0.183349 + namelookup_time: 0.001528 + connect_time: 0.035099 + pretransfer_time: 0.071705 size_upload: 2.0 size_download: 524.0 - speed_download: 1969.0 - speed_upload: 7.0 + speed_download: 2857.0 + speed_upload: 10.0 download_content_length: 524.0 upload_content_length: 2.0 - starttransfer_time: 0.266061 + starttransfer_time: 0.183295 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.131 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53602 + local_ip: 192.168.1.75 + local_port: 52944 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 129398 - connect_time_us: 63473 - namelookup_time_us: 1081 - pretransfer_time_us: 129473 + scheme: https + appconnect_time_us: 71632 + connect_time_us: 35099 + namelookup_time_us: 1528 + pretransfer_time_us: 71705 redirect_time_us: 0 - starttransfer_time_us: 266061 - total_time_us: 266105 + starttransfer_time_us: 183295 + total_time_us: 183349 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: POST - url: 'https://api.easypost.com/v2/batches/batch_f67a3cbe61c7450b87d2400fe6350850/scan_form' + url: 'https://api.easypost.com/v2/batches/batch_777762375ae9401fb875a7a8893f42ed/scan_form' headers: Host: api.easypost.com Expect: '' @@ -168,8 +172,7 @@ body: '[]' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -178,56 +181,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f870655e6555e788613e001f572c + x-ep-request-uuid: ce89012566bcecf7e2b908760085c182 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '856' - x-runtime: '0.089837' - x-node: bigweb43nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.073714' + x-node: bigweb39nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb1nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"batch_f67a3cbe61c7450b87d2400fe6350850","object":"Batch","mode":"test","state":"purchased","num_shipments":1,"reference":null,"created_at":"2023-11-22T20:32:15Z","updated_at":"2023-11-22T20:32:21Z","scan_form":{"id":"sf_6fa27ef9a483477192baf50c1aa2d78b","object":"ScanForm","created_at":"2023-11-22T20:32:21Z","updated_at":"2023-11-22T20:32:21Z","tracking_codes":[],"address":null,"status":"creating","message":null,"form_url":null,"form_file_type":null,"batch_id":"batch_f67a3cbe61c7450b87d2400fe6350850","confirmation":null},"shipments":[{"batch_status":"postage_purchased","batch_message":null,"reference":null,"tracking_code":"9400100105440282036579","id":"shp_51b03a17fbbb4b73a18cbc83242a8750"}],"status":{"created":0,"queued_for_purchase":0,"creation_failed":0,"postage_purchased":1,"postage_purchase_failed":0},"pickup":null,"label_url":null}' + body: '{"id":"batch_777762375ae9401fb875a7a8893f42ed","object":"Batch","mode":"test","state":"purchased","num_shipments":1,"reference":null,"created_at":"2024-08-14T17:44:17Z","updated_at":"2024-08-14T17:44:23Z","scan_form":{"id":"sf_57992e5556a64e3d8499c011615c8699","object":"ScanForm","created_at":"2024-08-14T17:44:23Z","updated_at":"2024-08-14T17:44:23Z","tracking_codes":[],"address":null,"status":"creating","message":null,"form_url":null,"form_file_type":null,"batch_id":"batch_777762375ae9401fb875a7a8893f42ed","confirmation":null},"shipments":[{"batch_status":"postage_purchased","batch_message":null,"reference":null,"tracking_code":"9400100105807075199970","id":"shp_6c0a5a39a9ca456881dc4710c5e5d148"}],"status":{"created":0,"queued_for_purchase":0,"creation_failed":0,"postage_purchased":1,"postage_purchase_failed":0},"pickup":null,"label_url":null}' curl_info: - url: 'https://api.easypost.com/v2/batches/batch_f67a3cbe61c7450b87d2400fe6350850/scan_form' + url: 'https://api.easypost.com/v2/batches/batch_777762375ae9401fb875a7a8893f42ed/scan_form' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 706 + header_size: 688 request_size: 355 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.294224 - namelookup_time: 0.001245 - connect_time: 0.064788 - pretransfer_time: 0.138581 + total_time: 0.187722 + namelookup_time: 0.002232 + connect_time: 0.036734 + pretransfer_time: 0.075606 size_upload: 2.0 size_download: 856.0 - speed_download: 2909.0 - speed_upload: 6.0 + speed_download: 4559.0 + speed_upload: 10.0 download_content_length: 856.0 upload_content_length: 2.0 - starttransfer_time: 0.294113 + starttransfer_time: 0.187702 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.131 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53603 + local_ip: 192.168.1.75 + local_port: 52960 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 138515 - connect_time_us: 64788 - namelookup_time_us: 1245 - pretransfer_time_us: 138581 + scheme: https + appconnect_time_us: 75494 + connect_time_us: 36734 + namelookup_time_us: 2232 + pretransfer_time_us: 75606 redirect_time_us: 0 - starttransfer_time_us: 294113 - total_time_us: 294224 + starttransfer_time_us: 187702 + total_time_us: 187722 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/batches/label.yml b/test/cassettes/batches/label.yml index 95ad605c..49ee7d4f 100644 --- a/test/cassettes/batches/label.yml +++ b/test/cassettes/batches/label.yml @@ -11,11 +11,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"batch":{"shipments":[{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"First","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}]}}' + body: '{"batch":{"shipments":[{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"GroundAdvantage","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}]}}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -24,62 +23,65 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f877655e6549e7885e2b001f4c0d + x-ep-request-uuid: ce89012166bceb98e2b8f7b90084681c cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '384' - x-runtime: '0.044400' - x-node: bigweb34nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.051783' + x-node: bigweb33nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb1nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"batch_0579cc81a7d24f528b81ad671bf212da","object":"Batch","mode":"test","state":"creating","num_shipments":1,"reference":null,"created_at":"2023-11-22T20:32:09Z","updated_at":"2023-11-22T20:32:09Z","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}' + body: '{"id":"batch_2f115d5821df4d88bd15656015626d4d","object":"Batch","mode":"test","state":"creating","num_shipments":1,"reference":null,"created_at":"2024-08-14T17:38:32Z","updated_at":"2024-08-14T17:38:32Z","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}' curl_info: url: 'https://api.easypost.com/v2/batches' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 688 - request_size: 872 + request_size: 882 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.240948 - namelookup_time: 0.001164 - connect_time: 0.063453 - pretransfer_time: 0.132061 - size_upload: 566.0 + total_time: 0.153566 + namelookup_time: 0.002887 + connect_time: 0.03361 + pretransfer_time: 0.067882 + size_upload: 576.0 size_download: 384.0 - speed_download: 1593.0 - speed_upload: 2349.0 + speed_download: 2500.0 + speed_upload: 3750.0 download_content_length: 384.0 - upload_content_length: 566.0 - starttransfer_time: 0.240917 + upload_content_length: 576.0 + starttransfer_time: 0.153534 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.131 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53598 + local_ip: 192.168.1.75 + local_port: 52585 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 131966 - connect_time_us: 63453 - namelookup_time_us: 1164 - pretransfer_time_us: 132061 + scheme: https + appconnect_time_us: 67828 + connect_time_us: 33610 + namelookup_time_us: 2887 + pretransfer_time_us: 67882 redirect_time_us: 0 - starttransfer_time_us: 240917 - total_time_us: 240948 + starttransfer_time_us: 153534 + total_time_us: 153566 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: POST - url: 'https://api.easypost.com/v2/batches/batch_0579cc81a7d24f528b81ad671bf212da/buy' + url: 'https://api.easypost.com/v2/batches/batch_2f115d5821df4d88bd15656015626d4d/buy' headers: Host: api.easypost.com Expect: '' @@ -91,8 +93,7 @@ body: '[]' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -101,21 +102,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f872655e654ae7885e2c001f4c41 + x-ep-request-uuid: ce89012266bceb98e2b8f7ba00846843 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '524' - x-runtime: '0.059685' - x-node: bigweb41nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.062531' + x-node: bigweb38nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb1nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"batch_0579cc81a7d24f528b81ad671bf212da","object":"Batch","mode":"test","state":"created","num_shipments":1,"reference":null,"created_at":"2023-11-22T20:32:09Z","updated_at":"2023-11-22T20:32:09Z","scan_form":null,"shipments":[{"batch_status":"queued_for_purchase","batch_message":null,"reference":null,"tracking_code":null,"id":"shp_1001eb76fc57489dba3b4b090906daed"}],"status":{"created":1,"queued_for_purchase":0,"creation_failed":0,"postage_purchased":0,"postage_purchase_failed":0},"pickup":null,"label_url":null}' + body: '{"id":"batch_2f115d5821df4d88bd15656015626d4d","object":"Batch","mode":"test","state":"created","num_shipments":1,"reference":null,"created_at":"2024-08-14T17:38:32Z","updated_at":"2024-08-14T17:38:32Z","scan_form":null,"shipments":[{"batch_status":"queued_for_purchase","batch_message":null,"reference":null,"tracking_code":null,"id":"shp_3b9e2541493247728360f3c2b43df567"}],"status":{"created":1,"queued_for_purchase":0,"creation_failed":0,"postage_purchased":0,"postage_purchase_failed":0},"pickup":null,"label_url":null}' curl_info: - url: 'https://api.easypost.com/v2/batches/batch_0579cc81a7d24f528b81ad671bf212da/buy' + url: 'https://api.easypost.com/v2/batches/batch_2f115d5821df4d88bd15656015626d4d/buy' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 688 @@ -123,40 +124,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.254331 - namelookup_time: 0.001094 - connect_time: 0.06311 - pretransfer_time: 0.130095 + total_time: 0.173484 + namelookup_time: 0.002163 + connect_time: 0.036045 + pretransfer_time: 0.073415 size_upload: 2.0 size_download: 524.0 - speed_download: 2060.0 - speed_upload: 7.0 + speed_download: 3020.0 + speed_upload: 11.0 download_content_length: 524.0 upload_content_length: 2.0 - starttransfer_time: 0.254316 + starttransfer_time: 0.173424 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.131 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53599 + local_ip: 192.168.1.75 + local_port: 52586 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 130020 - connect_time_us: 63110 - namelookup_time_us: 1094 - pretransfer_time_us: 130095 + scheme: https + appconnect_time_us: 73307 + connect_time_us: 36045 + namelookup_time_us: 2163 + pretransfer_time_us: 73415 redirect_time_us: 0 - starttransfer_time_us: 254316 - total_time_us: 254331 + starttransfer_time_us: 173424 + total_time_us: 173484 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: POST - url: 'https://api.easypost.com/v2/batches/batch_0579cc81a7d24f528b81ad671bf212da/label' + url: 'https://api.easypost.com/v2/batches/batch_2f115d5821df4d88bd15656015626d4d/label' headers: Host: api.easypost.com Expect: '' @@ -168,8 +172,7 @@ body: '{"file_format":"ZPL"}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -178,21 +181,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f876655e654fe788613b001f5150 + x-ep-request-uuid: e181587666bceb9de2b8f7bb00869e63 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '551' - x-runtime: '0.046841' - x-node: bigweb31nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.035446' + x-node: bigweb40nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"batch_0579cc81a7d24f528b81ad671bf212da","object":"Batch","mode":"test","state":"label_generating","num_shipments":1,"reference":null,"created_at":"2023-11-22T20:32:09Z","updated_at":"2023-11-22T20:32:15Z","scan_form":null,"shipments":[{"batch_status":"postage_purchased","batch_message":null,"reference":null,"tracking_code":"9400100105440282036500","id":"shp_1001eb76fc57489dba3b4b090906daed"}],"status":{"created":0,"queued_for_purchase":0,"creation_failed":0,"postage_purchased":1,"postage_purchase_failed":0},"pickup":null,"label_url":null}' + body: '{"id":"batch_2f115d5821df4d88bd15656015626d4d","object":"Batch","mode":"test","state":"label_generating","num_shipments":1,"reference":null,"created_at":"2024-08-14T17:38:32Z","updated_at":"2024-08-14T17:38:37Z","scan_form":null,"shipments":[{"batch_status":"postage_purchased","batch_message":null,"reference":null,"tracking_code":"9400100105807075195965","id":"shp_3b9e2541493247728360f3c2b43df567"}],"status":{"created":0,"queued_for_purchase":0,"creation_failed":0,"postage_purchased":1,"postage_purchase_failed":0},"pickup":null,"label_url":null}' curl_info: - url: 'https://api.easypost.com/v2/batches/batch_0579cc81a7d24f528b81ad671bf212da/label' + url: 'https://api.easypost.com/v2/batches/batch_2f115d5821df4d88bd15656015626d4d/label' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 688 @@ -200,33 +203,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.240532 - namelookup_time: 0.001067 - connect_time: 0.065633 - pretransfer_time: 0.129427 + total_time: 0.132982 + namelookup_time: 0.002275 + connect_time: 0.031887 + pretransfer_time: 0.065419 size_upload: 21.0 size_download: 551.0 - speed_download: 2290.0 - speed_upload: 87.0 + speed_download: 4143.0 + speed_upload: 157.0 download_content_length: 551.0 upload_content_length: 21.0 - starttransfer_time: 0.240476 + starttransfer_time: 0.132953 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53600 + local_ip: 192.168.1.75 + local_port: 52587 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 129400 - connect_time_us: 65633 - namelookup_time_us: 1067 - pretransfer_time_us: 129427 + scheme: https + appconnect_time_us: 65346 + connect_time_us: 31887 + namelookup_time_us: 2275 + pretransfer_time_us: 65419 redirect_time_us: 0 - starttransfer_time_us: 240476 - total_time_us: 240532 + starttransfer_time_us: 132953 + total_time_us: 132982 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/batches/retrieve.yml b/test/cassettes/batches/retrieve.yml index e5bd93c1..23b974f4 100644 --- a/test/cassettes/batches/retrieve.yml +++ b/test/cassettes/batches/retrieve.yml @@ -14,8 +14,7 @@ body: '{"batch":{"shipments":[{"from_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"to_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"}}]}}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -24,19 +23,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f873655e6546e7885e23001f48f3 + x-ep-request-uuid: e181587966bceb9fe2b8f7d800869ff6 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '384' - x-runtime: '0.051446' + x-runtime: '0.049844' x-node: bigweb41nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"batch_ece69d07bebf4fa79c074c325829cde8","object":"Batch","mode":"test","state":"creating","num_shipments":1,"reference":null,"created_at":"2023-11-22T20:32:06Z","updated_at":"2023-11-22T20:32:06Z","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}' + body: '{"id":"batch_73878b8d3dca4ba3b457fa8eb684aaa5","object":"Batch","mode":"test","state":"creating","num_shipments":1,"reference":null,"created_at":"2024-08-14T17:38:39Z","updated_at":"2024-08-14T17:38: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}' curl_info: url: 'https://api.easypost.com/v2/batches' content_type: 'application/json; charset=utf-8' @@ -46,40 +45,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.262424 - namelookup_time: 0.008221 - connect_time: 0.070527 - pretransfer_time: 0.146828 + total_time: 0.148559 + namelookup_time: 0.002029 + connect_time: 0.031564 + pretransfer_time: 0.063774 size_upload: 472.0 size_download: 384.0 - speed_download: 1463.0 - speed_upload: 1798.0 + speed_download: 2584.0 + speed_upload: 3177.0 download_content_length: 384.0 upload_content_length: 472.0 - starttransfer_time: 0.262393 + starttransfer_time: 0.148529 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53590 + local_ip: 192.168.1.75 + local_port: 52593 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 146767 - connect_time_us: 70527 - namelookup_time_us: 8221 - pretransfer_time_us: 146828 + scheme: https + appconnect_time_us: 63698 + connect_time_us: 31564 + namelookup_time_us: 2029 + pretransfer_time_us: 63774 redirect_time_us: 0 - starttransfer_time_us: 262393 - total_time_us: 262424 + starttransfer_time_us: 148529 + total_time_us: 148559 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/batches/batch_ece69d07bebf4fa79c074c325829cde8' + url: 'https://api.easypost.com/v2/batches/batch_73878b8d3dca4ba3b457fa8eb684aaa5' headers: Host: api.easypost.com Accept-Encoding: '' @@ -89,8 +91,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -99,21 +100,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f872655e6546e7885e24001f492e + x-ep-request-uuid: e181587a66bceb9fe2b8f7d90086a00f cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '512' - x-runtime: '0.027800' - x-node: bigweb39nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.027272' + x-node: bigweb38nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"batch_ece69d07bebf4fa79c074c325829cde8","object":"Batch","mode":"test","state":"created","num_shipments":1,"reference":null,"created_at":"2023-11-22T20:32:06Z","updated_at":"2023-11-22T20:32:06Z","scan_form":null,"shipments":[{"batch_status":"created","batch_message":null,"reference":null,"tracking_code":null,"id":"shp_17f4a8f2e83141abbbf4b9b25b4d8cd6"}],"status":{"created":1,"queued_for_purchase":0,"creation_failed":0,"postage_purchased":0,"postage_purchase_failed":0},"pickup":null,"label_url":null}' + body: '{"id":"batch_73878b8d3dca4ba3b457fa8eb684aaa5","object":"Batch","mode":"test","state":"created","num_shipments":1,"reference":null,"created_at":"2024-08-14T17:38:39Z","updated_at":"2024-08-14T17:38:39Z","scan_form":null,"shipments":[{"batch_status":"created","batch_message":null,"reference":null,"tracking_code":null,"id":"shp_5c6cb33b96e344dfa5683faf35189c71"}],"status":{"created":1,"queued_for_purchase":0,"creation_failed":0,"postage_purchased":0,"postage_purchase_failed":0},"pickup":null,"label_url":null}' curl_info: - url: 'https://api.easypost.com/v2/batches/batch_ece69d07bebf4fa79c074c325829cde8' + url: 'https://api.easypost.com/v2/batches/batch_73878b8d3dca4ba3b457fa8eb684aaa5' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 688 @@ -121,33 +122,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.237167 - namelookup_time: 0.00338 - connect_time: 0.066457 - pretransfer_time: 0.145675 + total_time: 0.135752 + namelookup_time: 0.002267 + connect_time: 0.035355 + pretransfer_time: 0.071676 size_upload: 0.0 size_download: 512.0 - speed_download: 2158.0 + speed_download: 3771.0 speed_upload: 0.0 download_content_length: 512.0 upload_content_length: 0.0 - starttransfer_time: 0.237153 + starttransfer_time: 0.135719 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53591 + local_ip: 192.168.1.75 + local_port: 52594 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 145639 - connect_time_us: 66457 - namelookup_time_us: 3380 - pretransfer_time_us: 145675 + scheme: https + appconnect_time_us: 71617 + connect_time_us: 35355 + namelookup_time_us: 2267 + pretransfer_time_us: 71676 redirect_time_us: 0 - starttransfer_time_us: 237153 - total_time_us: 237167 + starttransfer_time_us: 135719 + total_time_us: 135752 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/beta/rate/retrieveLowestStatelessRates.yml b/test/cassettes/beta/rate/retrieveLowestStatelessRates.yml index 13b8ddf7..ebb4c892 100644 --- a/test/cassettes/beta/rate/retrieveLowestStatelessRates.yml +++ b/test/cassettes/beta/rate/retrieveLowestStatelessRates.yml @@ -14,8 +14,7 @@ body: '{"shipment":{"from_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"to_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"}}}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -24,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f871655e6544e7885e09001f47af + x-ep-request-uuid: e181587d66bcebfce2b8ffb90086f9c6 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '3269' - x-runtime: '0.504988' + content-length: '2364' + x-runtime: '0.548771' vary: Origin - x-node: bigweb34nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-node: bigweb35nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"from_address":{"object":"Address","name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","phone":"","email":""},"to_address":{"object":"Address","name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":""},"rates":[{"object":"Rate","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,"carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"object":"Rate","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"object":"Rate","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"object":"Rate","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"object":"Rate","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,"carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"parcel":{"object":"Parcel","length":10,"width":8,"height":4,"weight":15.4},"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Unauthorized. Please check credentials and try again"}]}' + body: '{"from_address":{"object":"Address","name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","phone":"","email":""},"to_address":{"object":"Address","name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":""},"rates":[{"object":"Rate","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"object":"Rate","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","list_rate":"8.25","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"object":"Rate","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"parcel":{"object":"Parcel","length":10,"width":8,"height":4,"weight":15.4},"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"}]}' curl_info: url: 'https://api.easypost.com/beta/rates' content_type: 'application/json; charset=utf-8' @@ -47,33 +46,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.697622 - namelookup_time: 0.001015 - connect_time: 0.062676 - pretransfer_time: 0.129169 + total_time: 0.658095 + namelookup_time: 0.002626 + connect_time: 0.03571 + pretransfer_time: 0.072895 size_upload: 459.0 - size_download: 3269.0 - speed_download: 4685.0 - speed_upload: 657.0 - download_content_length: 3269.0 + size_download: 2364.0 + speed_download: 3592.0 + speed_upload: 697.0 + download_content_length: 2364.0 upload_content_length: 459.0 - starttransfer_time: 0.697585 + starttransfer_time: 0.658014 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53587 + local_ip: 192.168.1.75 + local_port: 52747 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 129097 - connect_time_us: 62676 - namelookup_time_us: 1015 - pretransfer_time_us: 129169 + scheme: https + appconnect_time_us: 72823 + connect_time_us: 35710 + namelookup_time_us: 2626 + pretransfer_time_us: 72895 redirect_time_us: 0 - starttransfer_time_us: 697585 - total_time_us: 697622 + starttransfer_time_us: 658014 + total_time_us: 658095 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/beta/rate/retrieveStatelessRates.yml b/test/cassettes/beta/rate/retrieveStatelessRates.yml index fb4b6354..e2d9ef23 100644 --- a/test/cassettes/beta/rate/retrieveStatelessRates.yml +++ b/test/cassettes/beta/rate/retrieveStatelessRates.yml @@ -14,8 +14,7 @@ body: '{"shipment":{"from_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"to_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"}}}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -24,56 +23,60 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f873655e6544e7885e08001f46e9 + x-ep-request-uuid: e181587766bcebfbe2b8ffb80086f8de cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '3269' - x-runtime: '0.658946' + content-length: '2364' + x-runtime: '0.690682' vary: Origin - x-node: bigweb36nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-node: bigweb32nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-canary: direct + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"from_address":{"object":"Address","name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","phone":"","email":""},"to_address":{"object":"Address","name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":""},"rates":[{"object":"Rate","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,"carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"object":"Rate","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,"carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"object":"Rate","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"object":"Rate","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"object":"Rate","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"parcel":{"object":"Parcel","length":10,"width":8,"height":4,"weight":15.4},"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Unauthorized. Please check credentials and try again"}]}' + body: '{"from_address":{"object":"Address","name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","phone":"","email":""},"to_address":{"object":"Address","name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":""},"rates":[{"object":"Rate","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"object":"Rate","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","list_rate":"8.25","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"object":"Rate","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"parcel":{"object":"Parcel","length":10,"width":8,"height":4,"weight":15.4},"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"}]}' curl_info: url: 'https://api.easypost.com/beta/rates' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 703 + header_size: 721 request_size: 765 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.858794 - namelookup_time: 0.001199 - connect_time: 0.063451 - pretransfer_time: 0.135106 + total_time: 0.790534 + namelookup_time: 0.001855 + connect_time: 0.031202 + pretransfer_time: 0.062952 size_upload: 459.0 - size_download: 3269.0 - speed_download: 3806.0 - speed_upload: 534.0 - download_content_length: 3269.0 + size_download: 2364.0 + speed_download: 2990.0 + speed_upload: 580.0 + download_content_length: 2364.0 upload_content_length: 459.0 - starttransfer_time: 0.858757 + starttransfer_time: 0.790458 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53586 + local_ip: 192.168.1.75 + local_port: 52746 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 134698 - connect_time_us: 63451 - namelookup_time_us: 1199 - pretransfer_time_us: 135106 + scheme: https + appconnect_time_us: 62904 + connect_time_us: 31202 + namelookup_time_us: 1855 + pretransfer_time_us: 62952 redirect_time_us: 0 - starttransfer_time_us: 858757 - total_time_us: 858794 + starttransfer_time_us: 790458 + total_time_us: 790534 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/beta/referral_customers/addPaymentMethod.yml b/test/cassettes/beta/referral_customers/addPaymentMethod.yml index 9a8797cd..490b364d 100644 --- a/test/cassettes/beta/referral_customers/addPaymentMethod.yml +++ b/test/cassettes/beta/referral_customers/addPaymentMethod.yml @@ -14,8 +14,7 @@ body: '{"payment_method":{"stripe_customer_id":"cus_123","payment_method_reference":"ba_123","priority":"primary"}}' response: status: - http_version: '1.1' - code: '422' + code: 422 message: 'Unprocessable Entity' headers: x-frame-options: SAMEORIGIN @@ -24,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f877655e6543e7885e06001f4629 + x-ep-request-uuid: e181587766bcebfce2b8ffba0086fa91 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '121' - x-runtime: '0.059858' + content-length: '115' + x-runtime: '0.037942' vary: Origin x-node: bigweb36nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"error":{"code":"BILLING.INVALID_PAYMENT_GATEWAY_REFERENCE","message":"Invalid Payment Gateway Reference.","errors":[]}}' + body: '{"error":{"code":"BILLING.INVALID_PAYMENT_GATEWAY_REFERENCE","message":"Invalid connect integration.","errors":[]}}' curl_info: url: 'https://api.easypost.com/beta/referral_customers/payment_method' content_type: 'application/json; charset=utf-8' @@ -47,33 +46,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.258133 - namelookup_time: 0.001197 - connect_time: 0.06504 - pretransfer_time: 0.131881 + total_time: 0.135016 + namelookup_time: 0.002318 + connect_time: 0.032022 + pretransfer_time: 0.064096 size_upload: 108.0 - size_download: 121.0 - speed_download: 468.0 - speed_upload: 418.0 - download_content_length: 121.0 + size_download: 115.0 + speed_download: 851.0 + speed_upload: 799.0 + download_content_length: 115.0 upload_content_length: 108.0 - starttransfer_time: 0.25811 + starttransfer_time: 0.134988 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53584 + local_ip: 192.168.1.75 + local_port: 52748 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 131816 - connect_time_us: 65040 - namelookup_time_us: 1197 - pretransfer_time_us: 131881 + scheme: https + appconnect_time_us: 64041 + connect_time_us: 32022 + namelookup_time_us: 2318 + pretransfer_time_us: 64096 redirect_time_us: 0 - starttransfer_time_us: 258110 - total_time_us: 258133 + starttransfer_time_us: 134988 + total_time_us: 135016 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/beta/referral_customers/refundByAmount.yml b/test/cassettes/beta/referral_customers/refundByAmount.yml index 4d2e685b..b91e8ecc 100644 --- a/test/cassettes/beta/referral_customers/refundByAmount.yml +++ b/test/cassettes/beta/referral_customers/refundByAmount.yml @@ -14,8 +14,7 @@ body: '{"refund_amount":"2000"}' response: status: - http_version: '1.1' - code: '422' + code: 422 message: 'Unprocessable Entity' headers: x-frame-options: SAMEORIGIN @@ -24,18 +23,18 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f875655e6543e7885e07001f4659 + x-ep-request-uuid: e181587666bcebfde2b8ffbb0086fac0 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '147' - x-runtime: '0.390839' + x-runtime: '0.410398' vary: Origin - x-node: bigweb40nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-node: bigweb42nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' body: '{"error":{"code":"TRANSACTION.AMOUNT_INVALID","message":"Refund amount is invalid. Please use a valid amount or escalate to finance.","errors":[]}}' curl_info: @@ -47,33 +46,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.579537 - namelookup_time: 0.001026 - connect_time: 0.062385 - pretransfer_time: 0.125052 + total_time: 0.518428 + namelookup_time: 0.002452 + connect_time: 0.035385 + pretransfer_time: 0.070951 size_upload: 24.0 size_download: 147.0 - speed_download: 253.0 - speed_upload: 41.0 + speed_download: 283.0 + speed_upload: 46.0 download_content_length: 147.0 upload_content_length: 24.0 - starttransfer_time: 0.579492 + starttransfer_time: 0.518348 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53585 + local_ip: 192.168.1.75 + local_port: 52749 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 125017 - connect_time_us: 62385 - namelookup_time_us: 1026 - pretransfer_time_us: 125052 + scheme: https + appconnect_time_us: 70894 + connect_time_us: 35385 + namelookup_time_us: 2452 + pretransfer_time_us: 70951 redirect_time_us: 0 - starttransfer_time_us: 579492 - total_time_us: 579537 + starttransfer_time_us: 518348 + total_time_us: 518428 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/beta/referral_customers/refundByPaymentLog.yml b/test/cassettes/beta/referral_customers/refundByPaymentLog.yml index 8c0cc8da..8169f832 100644 --- a/test/cassettes/beta/referral_customers/refundByPaymentLog.yml +++ b/test/cassettes/beta/referral_customers/refundByPaymentLog.yml @@ -14,8 +14,7 @@ body: '{"payment_log_id":"paylog_123"}' response: status: - http_version: '1.1' - code: '422' + code: 422 message: 'Unprocessable Entity' headers: x-frame-options: SAMEORIGIN @@ -24,56 +23,60 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f877655e6543e7885e05001f45e6 + x-ep-request-uuid: e181587766bcebfde2b8ffd30086fb5b cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '117' - x-runtime: '0.041815' + x-runtime: '0.031455' vary: Origin - x-node: bigweb36nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-node: bigweb43nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-canary: direct + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' body: '{"error":{"code":"TRANSACTION.DOES_NOT_EXIST","message":"We could not find a transaction with that id.","errors":[]}}' curl_info: url: 'https://api.easypost.com/beta/referral_customers/refunds' content_type: 'application/json; charset=utf-8' http_code: 422 - header_size: 720 + header_size: 738 request_size: 357 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.237681 - namelookup_time: 0.00101 - connect_time: 0.063093 - pretransfer_time: 0.131615 + total_time: 0.131149 + namelookup_time: 0.002073 + connect_time: 0.032084 + pretransfer_time: 0.065987 size_upload: 31.0 size_download: 117.0 - speed_download: 492.0 - speed_upload: 130.0 + speed_download: 892.0 + speed_upload: 236.0 download_content_length: 117.0 upload_content_length: 31.0 - starttransfer_time: 0.237649 + starttransfer_time: 0.131078 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53583 + local_ip: 192.168.1.75 + local_port: 52750 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 131563 - connect_time_us: 63093 - namelookup_time_us: 1010 - pretransfer_time_us: 131615 + scheme: https + appconnect_time_us: 65917 + connect_time_us: 32084 + namelookup_time_us: 2073 + pretransfer_time_us: 65987 redirect_time_us: 0 - starttransfer_time_us: 237649 - total_time_us: 237681 + starttransfer_time_us: 131078 + total_time_us: 131149 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/carrier_accounts/all.yml b/test/cassettes/carrier_accounts/all.yml index 7f852814..1b2e677c 100644 --- a/test/cassettes/carrier_accounts/all.yml +++ b/test/cassettes/carrier_accounts/all.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,17 +21,17 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f872655e653fe7885de2001f426b + x-ep-request-uuid: e181587a66bcebffe2b8ffdc0086fd48 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '9271' - x-runtime: '0.123051' - x-node: bigweb39nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.120884' + x-node: bigweb42nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' body: '[{"id":"ca_8dc116debcdb49b5a66a2ddee4612600","object":"CarrierAccount","type":"UspsAccount","clone":false,"created_at":"2022-02-02T20:16:00Z","updated_at":"2022-02-03T18:01:23Z","description":"USPS Account","reference":null,"billing_type":"easypost","readable":"USPS","logo":null,"fields":{"credentials":{"company_name":{"visibility":"visible","label":"Account Holder Name","value":"EasyPost PHP Tests"},"address_street":{"visibility":"visible","label":"Street Address","value":"2889 Ashton Blvd"},"address_city":{"visibility":"visible","label":"City","value":"Lehi"},"address_state":{"visibility":"visible","label":"State","value":"UT"},"address_zip":{"visibility":"visible","label":"ZIP Code","value":"84043"},"phone":{"visibility":"visible","label":"Phone Number","value":""},"email":{"visibility":"visible","label":"Email Address","value":"dev+easypost-php@easypost.com"},"shipper_id":{"visibility":"visible","label":"Shipper Identifier (Optional)","value":""}}},"credentials":{"company_name":"EasyPost PHP Tests","address_street":"2889 Ashton Blvd","address_city":"Lehi","address_state":"UT","address_zip":"84043","phone":"","email":"dev+easypost-php@easypost.com","shipper_id":""},"test_credentials":null},{"id":"ca_5c0e4a9f106846abbe3a8d803b3d9dc4","object":"CarrierAccount","type":"DhlExpressDefaultAccount","clone":false,"created_at":"2022-02-02T20:16:00Z","updated_at":"2022-02-02T20:16:00Z","description":"DHL Express Account","reference":null,"billing_type":"easypost","readable":"DHL Express","logo":null,"fields":{"credentials":[]},"credentials":[],"test_credentials":null},{"id":"ca_495d701f4f7c464f86dfd10e6515b4c9","object":"CarrierAccount","type":"LsoDefaultAccount","clone":false,"created_at":"2022-02-02T20:16:00Z","updated_at":"2022-02-02T20:16:00Z","description":"LSO Account","reference":null,"billing_type":"easypost","readable":"LSO","logo":null,"fields":{"credentials":[]},"credentials":[],"test_credentials":null},{"id":"ca_cd846680a6f74c23891086de730769d6","object":"CarrierAccount","type":"DhlEcsAccount","clone":false,"created_at":"2022-08-16T17:43:41Z","updated_at":"2022-08-16T17:43:41Z","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_91e6857e8cb6455180f8ef8a3db8baaa","object":"CarrierAccount","type":"DhlEcsAccount","clone":false,"created_at":"2022-12-06T21:24:01Z","updated_at":"2022-12-06T21:24:02Z","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"}},{"id":"ca_5e8c4f41363b432594441dbf98e4032e","object":"CarrierAccount","type":"DhlEcsAccount","clone":false,"created_at":"2022-12-12T23:00:25Z","updated_at":"2022-12-12T23:00:25Z","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_23d193562e8e459bbd937c2aad3dd092","object":"CarrierAccount","type":"DhlEcsAccount","clone":false,"created_at":"2022-12-12T23:00:48Z","updated_at":"2022-12-12T23:00:48Z","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_cb65fc8581184ea38a3108f9e9d1e81c","object":"CarrierAccount","type":"DhlEcsAccount","clone":false,"created_at":"2023-02-23T00:06:30Z","updated_at":"2023-02-23T00:06:31Z","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":"654321"},"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":"654321","distribution_center":"USLAX1"},"test_credentials":{"client_id":"123456","client_secret":"********","pickup_id":"123456","distribution_center":"USLAX1"}}]' curl_info: @@ -44,33 +43,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.322931 - namelookup_time: 0.003158 - connect_time: 0.065635 - pretransfer_time: 0.134306 + total_time: 0.234334 + namelookup_time: 0.002172 + connect_time: 0.035558 + pretransfer_time: 0.071081 size_upload: 0.0 size_download: 9271.0 - speed_download: 28708.0 + speed_download: 39563.0 speed_upload: 0.0 download_content_length: 9271.0 upload_content_length: 0.0 - starttransfer_time: 0.322568 + starttransfer_time: 0.234235 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53571 + local_ip: 192.168.1.75 + local_port: 52759 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 134230 - connect_time_us: 65635 - namelookup_time_us: 3158 - pretransfer_time_us: 134306 + scheme: https + appconnect_time_us: 71027 + connect_time_us: 35558 + namelookup_time_us: 2172 + pretransfer_time_us: 71081 redirect_time_us: 0 - starttransfer_time_us: 322568 - total_time_us: 322931 + starttransfer_time_us: 234235 + total_time_us: 234334 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/carrier_accounts/create.yml b/test/cassettes/carrier_accounts/create.yml index 3b73c7f0..d58e8a46 100644 --- a/test/cassettes/carrier_accounts/create.yml +++ b/test/cassettes/carrier_accounts/create.yml @@ -14,8 +14,7 @@ body: '{"carrier_account":{"type":"DhlEcsAccount","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"}}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,62 +23,66 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f870655e6540e7885de6001f43b1 + x-ep-request-uuid: e181587c66bcebfde2b8ffd40086fb83 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1469' - x-runtime: '0.106539' - x-node: bigweb34nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.082702' + x-node: bigweb43nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-canary: direct + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"ca_2703006745c04d928be4753a7e46e57d","object":"CarrierAccount","type":"DhlEcsAccount","clone":false,"created_at":"2023-11-22T20:32:00Z","updated_at":"2023-11-22T20:32:00Z","description":"DHL eCommerce Solutions Account","reference":null,"billing_type":"carrier","readable":"DHL eCommerce Solutions","logo":null,"fields":[],"credentials":[],"test_credentials":[]}' + body: '{"id":"ca_f6ba137946ae4086bce8fa31c54b17fe","object":"CarrierAccount","type":"DhlEcsAccount","clone":false,"created_at":"2024-08-14T17:40:13Z","updated_at":"2024-08-14T17:40:13Z","description":"DHL eCommerce Solutions Account","reference":null,"billing_type":"carrier","readable":"DHL eCommerce Solutions","logo":null,"fields":[],"credentials":[],"test_credentials":[]}' curl_info: url: 'https://api.easypost.com/v2/carrier_accounts' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 694 + header_size: 712 request_size: 592 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.303832 - namelookup_time: 0.001353 - connect_time: 0.064758 - pretransfer_time: 0.131817 + total_time: 0.179793 + namelookup_time: 0.002729 + connect_time: 0.032522 + pretransfer_time: 0.06404 size_upload: 277.0 size_download: 1469.0 - speed_download: 4834.0 - speed_upload: 911.0 + speed_download: 8170.0 + speed_upload: 1540.0 download_content_length: 1469.0 upload_content_length: 277.0 - starttransfer_time: 0.303748 + starttransfer_time: 0.179777 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53575 + local_ip: 192.168.1.75 + local_port: 52751 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 131691 - connect_time_us: 64758 - namelookup_time_us: 1353 - pretransfer_time_us: 131817 + scheme: https + appconnect_time_us: 63995 + connect_time_us: 32522 + namelookup_time_us: 2729 + pretransfer_time_us: 64040 redirect_time_us: 0 - starttransfer_time_us: 303748 - total_time_us: 303832 + starttransfer_time_us: 179777 + total_time_us: 179793 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: DELETE - url: 'https://api.easypost.com/v2/carrier_accounts/ca_2703006745c04d928be4753a7e46e57d' + url: 'https://api.easypost.com/v2/carrier_accounts/ca_f6ba137946ae4086bce8fa31c54b17fe' headers: Host: api.easypost.com Accept-Encoding: '' @@ -89,8 +92,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -99,21 +101,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f871655e6540e7885de7001f43ef + x-ep-request-uuid: e181587c66bcebfde2b8ffd50086fbc0 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '2' - x-runtime: '0.124022' + x-runtime: '0.061597' x-node: bigweb35nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' body: '[]' curl_info: - url: 'https://api.easypost.com/v2/carrier_accounts/ca_2703006745c04d928be4753a7e46e57d' + url: 'https://api.easypost.com/v2/carrier_accounts/ca_f6ba137946ae4086bce8fa31c54b17fe' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 686 @@ -121,33 +123,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.316536 - namelookup_time: 0.001323 - connect_time: 0.063243 - pretransfer_time: 0.128049 + total_time: 0.168903 + namelookup_time: 0.001555 + connect_time: 0.034792 + pretransfer_time: 0.069648 size_upload: 0.0 size_download: 2.0 - speed_download: 6.0 + speed_download: 11.0 speed_upload: 0.0 download_content_length: 2.0 upload_content_length: 0.0 - starttransfer_time: 0.316461 + starttransfer_time: 0.168876 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53576 + local_ip: 192.168.1.75 + local_port: 52752 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 127959 - connect_time_us: 63243 - namelookup_time_us: 1323 - pretransfer_time_us: 128049 + scheme: https + appconnect_time_us: 69617 + connect_time_us: 34792 + namelookup_time_us: 1555 + pretransfer_time_us: 69648 redirect_time_us: 0 - starttransfer_time_us: 316461 - total_time_us: 316536 + starttransfer_time_us: 168876 + total_time_us: 168903 + effective_method: DELETE + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/carrier_accounts/createWithCustomWorkflow.yml b/test/cassettes/carrier_accounts/createWithCustomWorkflow.yml index e5924e3a..9828b0ca 100644 --- a/test/cassettes/carrier_accounts/createWithCustomWorkflow.yml +++ b/test/cassettes/carrier_accounts/createWithCustomWorkflow.yml @@ -14,8 +14,7 @@ body: '{"carrier_account":{"type":"FedexAccount","registration_data":{"some":"data"}}}' response: status: - http_version: '1.1' - code: '422' + code: 422 message: 'Unprocessable Entity' headers: x-frame-options: SAMEORIGIN @@ -24,17 +23,17 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f875655e653ee7885de1001f4223 + x-ep-request-uuid: e181587a66bcebfee2b8ffd80086fc6e cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1347' - x-runtime: '0.041178' - x-node: bigweb41nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.020529' + x-node: bigweb36nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' body: '{"error":{"code":"UNPROCESSABLE_ENTITY","message":"The request was understood, but cannot be processed.","errors":[{"field":"shipping_streets","message":"must be present and a string"},{"field":"shipping_city","message":"must be present and a string"},{"field":"shipping_state","message":"must be present and a string"},{"field":"shipping_postal_code","message":"must be present and a string"},{"field":"shipping_country_code","message":"must be present and a string"},{"field":"corporate_first_name","message":"must be present and a string"},{"field":"corporate_last_name","message":"must be present and a string"},{"field":"corporate_job_title","message":"must be present and a string"},{"field":"corporate_company_name","message":"must be present and a string"},{"field":"corporate_phone_number","message":"must be present and a string"},{"field":"corporate_email_address","message":"must be present and a string"},{"field":"corporate_streets","message":"must be present and a string"},{"field":"corporate_city","message":"must be present and a string"},{"field":"corporate_state","message":"must be present and a string"},{"field":"corporate_postal_code","message":"must be present and a string"},{"field":"corporate_country_code","message":"must be present and a string"},{"field":"account_number","message":"must be present and a string"}]}}' curl_info: @@ -46,33 +45,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.231793 - namelookup_time: 0.001367 - connect_time: 0.062926 - pretransfer_time: 0.126994 + total_time: 0.128119 + namelookup_time: 0.00194 + connect_time: 0.035203 + pretransfer_time: 0.07155 size_upload: 79.0 size_download: 1347.0 - speed_download: 5811.0 - speed_upload: 340.0 + speed_download: 10513.0 + speed_upload: 616.0 download_content_length: 1347.0 upload_content_length: 79.0 - starttransfer_time: 0.231773 + starttransfer_time: 0.128088 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53570 + local_ip: 192.168.1.75 + local_port: 52755 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 126966 - connect_time_us: 62926 - namelookup_time_us: 1367 - pretransfer_time_us: 126994 + scheme: https + appconnect_time_us: 71484 + connect_time_us: 35203 + namelookup_time_us: 1940 + pretransfer_time_us: 71550 redirect_time_us: 0 - starttransfer_time_us: 231773 - total_time_us: 231793 + starttransfer_time_us: 128088 + total_time_us: 128119 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/carrier_accounts/create_ups.yml b/test/cassettes/carrier_accounts/create_ups.yml index 9e888aa5..5849214c 100644 --- a/test/cassettes/carrier_accounts/create_ups.yml +++ b/test/cassettes/carrier_accounts/create_ups.yml @@ -23,19 +23,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6754031e668dafcae78bb4ad002eae7b + x-ep-request-uuid: e181587866bcebfee2b8ffd60086fbfd cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '1392' - x-runtime: '0.096106' - x-node: bigweb35nuq - x-version-label: easypost-202407092027-324ee50b5a-master + content-length: '1388' + x-runtime: '0.088214' + x-node: bigweb41nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb4nuq fa152d4755', 'extlb1nuq fa152d4755'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"ca_7ca26177f5ae42429027f6f40c80fad0","object":"CarrierAccount","type":"UpsAccount","clone":false,"created_at":"2024-07-09T21:46:50Z","updated_at":"2024-07-09T21:46:50Z","description":null,"reference":null,"billing_type":"carrier","readable":"UPS","logo":null,"fields":[],"credentials":[],"test_credentials":[]}' + body: '{"id":"ca_b1968143bc0843c681bdf9022fa56c01","object":"CarrierAccount","type":"UpsAccount","clone":false,"created_at":"2024-08-14T17:40:14Z","updated_at":"2024-08-14T17:40:14Z","description":null,"reference":null,"billing_type":"carrier","readable":"UPS","logo":null,"fields":[],"credentials":[],"test_credentials":[]}' curl_info: url: 'https://api.easypost.com/v2/ups_oauth_registrations' content_type: 'application/json; charset=utf-8' @@ -45,35 +45,35 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.569285 - namelookup_time: 0.025107 - connect_time: 0.169711 - pretransfer_time: 0.325097 + total_time: 0.184623 + namelookup_time: 0.002278 + connect_time: 0.031561 + pretransfer_time: 0.063377 size_upload: 78.0 - size_download: 1392.0 - speed_download: 2445.0 - speed_upload: 137.0 - download_content_length: 1392.0 + size_download: 1388.0 + speed_download: 7518.0 + speed_upload: 422.0 + download_content_length: 1388.0 upload_content_length: 78.0 - starttransfer_time: 0.569251 + starttransfer_time: 0.184586 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.20 - local_port: 59855 + local_ip: 192.168.1.75 + local_port: 52753 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 325029 - connect_time_us: 169711 - namelookup_time_us: 25107 - pretransfer_time_us: 325097 + scheme: https + appconnect_time_us: 63323 + connect_time_us: 31561 + namelookup_time_us: 2278 + pretransfer_time_us: 63377 redirect_time_us: 0 - starttransfer_time_us: 569251 - total_time_us: 569285 + starttransfer_time_us: 184586 + total_time_us: 184623 effective_method: POST capath: '' cainfo: '' @@ -81,7 +81,7 @@ - request: method: DELETE - url: 'https://api.easypost.com/v2/carrier_accounts/ca_7ca26177f5ae42429027f6f40c80fad0' + url: 'https://api.easypost.com/v2/carrier_accounts/ca_b1968143bc0843c681bdf9022fa56c01' headers: Host: api.easypost.com Accept-Encoding: '' @@ -100,21 +100,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 67540321668dafcae78bb4ae002eaee5 + x-ep-request-uuid: e181587666bcebfee2b8ffd70086fc39 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '2' - x-runtime: '0.062256' - x-node: bigweb35nuq - x-version-label: easypost-202407092027-324ee50b5a-master + x-runtime: '0.063497' + x-node: bigweb36nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb4nuq fa152d4755', 'extlb1nuq fa152d4755'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' body: '[]' curl_info: - url: 'https://api.easypost.com/v2/carrier_accounts/ca_7ca26177f5ae42429027f6f40c80fad0' + url: 'https://api.easypost.com/v2/carrier_accounts/ca_b1968143bc0843c681bdf9022fa56c01' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 686 @@ -122,35 +122,35 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.494344 - namelookup_time: 0.001172 - connect_time: 0.135907 - pretransfer_time: 0.288911 + total_time: 0.159146 + namelookup_time: 0.001444 + connect_time: 0.030851 + pretransfer_time: 0.062969 size_upload: 0.0 size_download: 2.0 - speed_download: 4.0 + speed_download: 12.0 speed_upload: 0.0 download_content_length: 2.0 upload_content_length: 0.0 - starttransfer_time: 0.494308 + starttransfer_time: 0.159113 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.20 - local_port: 59856 + local_ip: 192.168.1.75 + local_port: 52754 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 288815 - connect_time_us: 135907 - namelookup_time_us: 1172 - pretransfer_time_us: 288911 + scheme: https + appconnect_time_us: 62921 + connect_time_us: 30851 + namelookup_time_us: 1444 + pretransfer_time_us: 62969 redirect_time_us: 0 - starttransfer_time_us: 494308 - total_time_us: 494344 + starttransfer_time_us: 159113 + total_time_us: 159146 effective_method: DELETE capath: '' cainfo: '' diff --git a/test/cassettes/carrier_accounts/delete.yml b/test/cassettes/carrier_accounts/delete.yml index d16b6cb6..22dd77e3 100644 --- a/test/cassettes/carrier_accounts/delete.yml +++ b/test/cassettes/carrier_accounts/delete.yml @@ -14,8 +14,7 @@ body: '{"carrier_account":{"type":"DhlEcsAccount","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"}}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f877655e653fe7885de4001f431b + x-ep-request-uuid: e181587766bcec00e2b8fffc0086ff6a cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1469' - x-runtime: '0.113567' - x-node: bigweb43nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.067220' + x-node: bigweb32nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost x-canary: direct - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"ca_c1b30d4d048640f3996356329af78766","object":"CarrierAccount","type":"DhlEcsAccount","clone":false,"created_at":"2023-11-22T20:31:59Z","updated_at":"2023-11-22T20:31:59Z","description":"DHL eCommerce Solutions Account","reference":null,"billing_type":"carrier","readable":"DHL eCommerce Solutions","logo":null,"fields":[],"credentials":[],"test_credentials":[]}' + body: '{"id":"ca_948dfcf71ceb45998b2820584167406b","object":"CarrierAccount","type":"DhlEcsAccount","clone":false,"created_at":"2024-08-14T17:40:17Z","updated_at":"2024-08-14T17:40:17Z","description":"DHL eCommerce Solutions Account","reference":null,"billing_type":"carrier","readable":"DHL eCommerce Solutions","logo":null,"fields":[],"credentials":[],"test_credentials":[]}' curl_info: url: 'https://api.easypost.com/v2/carrier_accounts' content_type: 'application/json; charset=utf-8' @@ -47,40 +46,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.315601 - namelookup_time: 0.003261 - connect_time: 0.066581 - pretransfer_time: 0.135135 + total_time: 0.175715 + namelookup_time: 0.004069 + connect_time: 0.037002 + pretransfer_time: 0.072537 size_upload: 277.0 size_download: 1469.0 - speed_download: 4654.0 - speed_upload: 877.0 + speed_download: 8360.0 + speed_upload: 1576.0 download_content_length: 1469.0 upload_content_length: 277.0 - starttransfer_time: 0.315422 + starttransfer_time: 0.175695 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53573 + local_ip: 192.168.1.75 + local_port: 52768 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 135069 - connect_time_us: 66581 - namelookup_time_us: 3261 - pretransfer_time_us: 135135 + scheme: https + appconnect_time_us: 72472 + connect_time_us: 37002 + namelookup_time_us: 4069 + pretransfer_time_us: 72537 redirect_time_us: 0 - starttransfer_time_us: 315422 - total_time_us: 315601 + starttransfer_time_us: 175695 + total_time_us: 175715 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: DELETE - url: 'https://api.easypost.com/v2/carrier_accounts/ca_c1b30d4d048640f3996356329af78766' + url: 'https://api.easypost.com/v2/carrier_accounts/ca_948dfcf71ceb45998b2820584167406b' headers: Host: api.easypost.com Accept-Encoding: '' @@ -90,8 +92,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -100,21 +101,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f872655e6540e7885de5001f436c + x-ep-request-uuid: e181587666bcec01e2b8fffd0086ff96 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '2' - x-runtime: '0.118001' - x-node: bigweb33nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.050496' + x-node: bigweb35nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' body: '[]' curl_info: - url: 'https://api.easypost.com/v2/carrier_accounts/ca_c1b30d4d048640f3996356329af78766' + url: 'https://api.easypost.com/v2/carrier_accounts/ca_948dfcf71ceb45998b2820584167406b' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 686 @@ -122,33 +123,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.310042 - namelookup_time: 0.001141 - connect_time: 0.063485 - pretransfer_time: 0.127829 + total_time: 0.164248 + namelookup_time: 0.002274 + connect_time: 0.03557 + pretransfer_time: 0.072872 size_upload: 0.0 size_download: 2.0 - speed_download: 6.0 + speed_download: 12.0 speed_upload: 0.0 download_content_length: 2.0 upload_content_length: 0.0 - starttransfer_time: 0.310025 + starttransfer_time: 0.164216 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53574 + local_ip: 192.168.1.75 + local_port: 52769 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 127803 - connect_time_us: 63485 - namelookup_time_us: 1141 - pretransfer_time_us: 127829 + scheme: https + appconnect_time_us: 72802 + connect_time_us: 35570 + namelookup_time_us: 2274 + pretransfer_time_us: 72872 redirect_time_us: 0 - starttransfer_time_us: 310025 - total_time_us: 310042 + starttransfer_time_us: 164216 + total_time_us: 164248 + effective_method: DELETE + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/carrier_accounts/retrieve.yml b/test/cassettes/carrier_accounts/retrieve.yml index 7ec0c00c..fe6bb9e2 100644 --- a/test/cassettes/carrier_accounts/retrieve.yml +++ b/test/cassettes/carrier_accounts/retrieve.yml @@ -14,8 +14,7 @@ body: '{"carrier_account":{"type":"DhlEcsAccount","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"}}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,19 +23,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f874655e6541e7885de8001f4432 + x-ep-request-uuid: e181587a66bcebfee2b8ffd90086fc9c cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1469' - x-runtime: '0.110552' - x-node: bigweb40nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.077066' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"ca_1503e1ebf7be4cbbac75c571fca83357","object":"CarrierAccount","type":"DhlEcsAccount","clone":false,"created_at":"2023-11-22T20:32:01Z","updated_at":"2023-11-22T20:32:01Z","description":"DHL eCommerce Solutions Account","reference":null,"billing_type":"carrier","readable":"DHL eCommerce Solutions","logo":null,"fields":[],"credentials":[],"test_credentials":[]}' + body: '{"id":"ca_fc765b5598c94332a859530699b8ff0c","object":"CarrierAccount","type":"DhlEcsAccount","clone":false,"created_at":"2024-08-14T17:40:14Z","updated_at":"2024-08-14T17:40:14Z","description":"DHL eCommerce Solutions Account","reference":null,"billing_type":"carrier","readable":"DHL eCommerce Solutions","logo":null,"fields":[],"credentials":[],"test_credentials":[]}' curl_info: url: 'https://api.easypost.com/v2/carrier_accounts' content_type: 'application/json; charset=utf-8' @@ -46,40 +45,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.310702 - namelookup_time: 0.000958 - connect_time: 0.063258 - pretransfer_time: 0.129032 + total_time: 0.184873 + namelookup_time: 0.002624 + connect_time: 0.034859 + pretransfer_time: 0.070371 size_upload: 277.0 size_download: 1469.0 - speed_download: 4728.0 - speed_upload: 891.0 + speed_download: 7945.0 + speed_upload: 1498.0 download_content_length: 1469.0 upload_content_length: 277.0 - starttransfer_time: 0.310669 + starttransfer_time: 0.184853 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53577 + local_ip: 192.168.1.75 + local_port: 52756 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 128976 - connect_time_us: 63258 - namelookup_time_us: 958 - pretransfer_time_us: 129032 + scheme: https + appconnect_time_us: 70297 + connect_time_us: 34859 + namelookup_time_us: 2624 + pretransfer_time_us: 70371 redirect_time_us: 0 - starttransfer_time_us: 310669 - total_time_us: 310702 + starttransfer_time_us: 184853 + total_time_us: 184873 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/carrier_accounts/ca_1503e1ebf7be4cbbac75c571fca83357' + url: 'https://api.easypost.com/v2/carrier_accounts/ca_fc765b5598c94332a859530699b8ff0c' headers: Host: api.easypost.com Accept-Encoding: '' @@ -89,8 +91,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -99,21 +100,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f871655e6541e7885de9001f4491 + x-ep-request-uuid: e181587666bcebfee2b8ffda0086fcd7 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1469' - x-runtime: '0.031264' + x-runtime: '0.031221' x-node: bigweb38nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"ca_1503e1ebf7be4cbbac75c571fca83357","object":"CarrierAccount","type":"DhlEcsAccount","clone":false,"created_at":"2023-11-22T20:32:01Z","updated_at":"2023-11-22T20:32:01Z","description":"DHL eCommerce Solutions Account","reference":null,"billing_type":"carrier","readable":"DHL eCommerce Solutions","logo":null,"fields":[],"credentials":[],"test_credentials":[]}' + body: '{"id":"ca_fc765b5598c94332a859530699b8ff0c","object":"CarrierAccount","type":"DhlEcsAccount","clone":false,"created_at":"2024-08-14T17:40:14Z","updated_at":"2024-08-14T17:40:14Z","description":"DHL eCommerce Solutions Account","reference":null,"billing_type":"carrier","readable":"DHL eCommerce Solutions","logo":null,"fields":[],"credentials":[],"test_credentials":[]}' curl_info: - url: 'https://api.easypost.com/v2/carrier_accounts/ca_1503e1ebf7be4cbbac75c571fca83357' + url: 'https://api.easypost.com/v2/carrier_accounts/ca_fc765b5598c94332a859530699b8ff0c' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 689 @@ -121,40 +122,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.228988 - namelookup_time: 0.001048 - connect_time: 0.06526 - pretransfer_time: 0.13286 + total_time: 0.137811 + namelookup_time: 0.001934 + connect_time: 0.034806 + pretransfer_time: 0.070273 size_upload: 0.0 size_download: 1469.0 - speed_download: 6415.0 + speed_download: 10659.0 speed_upload: 0.0 download_content_length: 1469.0 upload_content_length: 0.0 - starttransfer_time: 0.228887 + starttransfer_time: 0.137778 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53578 + local_ip: 192.168.1.75 + local_port: 52757 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 132771 - connect_time_us: 65260 - namelookup_time_us: 1048 - pretransfer_time_us: 132860 + scheme: https + appconnect_time_us: 70234 + connect_time_us: 34806 + namelookup_time_us: 1934 + pretransfer_time_us: 70273 redirect_time_us: 0 - starttransfer_time_us: 228887 - total_time_us: 228988 + starttransfer_time_us: 137778 + total_time_us: 137811 + effective_method: GET + capath: '' + cainfo: '' index: 0 - request: method: DELETE - url: 'https://api.easypost.com/v2/carrier_accounts/ca_1503e1ebf7be4cbbac75c571fca83357' + url: 'https://api.easypost.com/v2/carrier_accounts/ca_fc765b5598c94332a859530699b8ff0c' headers: Host: api.easypost.com Accept-Encoding: '' @@ -164,8 +168,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -174,56 +177,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f876655e6541e7885dea001f44ce + x-ep-request-uuid: e181587766bcebfee2b8ffdb0086fd07 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '2' - x-runtime: '0.114028' - x-node: bigweb43nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.065611' + x-node: bigweb33nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' body: '[]' curl_info: - url: 'https://api.easypost.com/v2/carrier_accounts/ca_1503e1ebf7be4cbbac75c571fca83357' + url: 'https://api.easypost.com/v2/carrier_accounts/ca_fc765b5598c94332a859530699b8ff0c' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 704 + header_size: 686 request_size: 332 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.323601 - namelookup_time: 0.001481 - connect_time: 0.066066 - pretransfer_time: 0.143152 + total_time: 0.174564 + namelookup_time: 0.002064 + connect_time: 0.035095 + pretransfer_time: 0.071054 size_upload: 0.0 size_download: 2.0 - speed_download: 6.0 + speed_download: 11.0 speed_upload: 0.0 download_content_length: 2.0 upload_content_length: 0.0 - starttransfer_time: 0.323554 + starttransfer_time: 0.174532 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53579 + local_ip: 192.168.1.75 + local_port: 52758 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 143075 - connect_time_us: 66066 - namelookup_time_us: 1481 - pretransfer_time_us: 143152 + scheme: https + appconnect_time_us: 70997 + connect_time_us: 35095 + namelookup_time_us: 2064 + pretransfer_time_us: 71054 redirect_time_us: 0 - starttransfer_time_us: 323554 - total_time_us: 323601 + starttransfer_time_us: 174532 + total_time_us: 174564 + effective_method: DELETE + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/carrier_accounts/types.yml b/test/cassettes/carrier_accounts/types.yml index 84715bbb..3d4a2e18 100644 --- a/test/cassettes/carrier_accounts/types.yml +++ b/test/cassettes/carrier_accounts/types.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,19 +21,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f871655e653fe7885de3001f42cc + x-ep-request-uuid: e181587c66bcec01e2b900150086ffc1 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '38621' - x-runtime: '0.032397' - x-node: bigweb39nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '41628' + x-runtime: '0.067147' + x-node: bigweb35nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '[{"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"},"manifesting_enabled":{"visibility":"checkbox","label":"I have contacted Spee-Dee at manifest@speedeedelivery.com and they have activated FTP manifesting for my account through EasyPost."}}}},{"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"}}}}]' + body: '[{"object":"CarrierType","type":"AccurateAccount","readable":"Accurate","logo":null,"fields":{"credentials":{"username":{"visibility":"visible","label":"Accurate username"},"password":{"visibility":"password","label":"Accurate password"}},"test_credentials":{"username":{"visibility":"visible","label":"Accurate test username"},"password":{"visibility":"password","label":"Accurate test password"}}}},{"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":"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":"BluestreakAccount","readable":"Bluestreak","logo":null,"fields":{"credentials":{"username":{"visibility":"visible","label":"Bluestreak username"},"password":{"visibility":"password","label":"Bluestreak password"}},"test_credentials":{"username":{"visibility":"visible","label":"Bluestreak test username"},"password":{"visibility":"password","label":"Bluestreak test password"}}}},{"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"}},"test_credentials":{"username":{"visibility":"visible","label":"CDL Last Mile Solutions customer test username"},"password":{"visibility":"password","label":"CDL Last Mile Solutions customer test password"}}}},{"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":"CSLogisticsAccount","readable":"CSLogistics","logo":null,"fields":{"credentials":{"username":{"visibility":"visible","label":"CSLogistics username"},"password":{"visibility":"password","label":"CSLogistics password"}},"test_credentials":{"username":{"visibility":"visible","label":"CSLogistics test username"},"password":{"visibility":"password","label":"CSLogistics test 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":"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"},"gkp_username":{"visibility":"visible","label":"DHL Paket GKP Username"},"gkp_password":{"visibility":"password","label":"DHL Paket GKP Password"}},"test_credentials":{"account_number":{"visibility":"visible","label":"DHL Paket Account Number (EKP)"},"contract_id":{"visibility":"visible","label":"DHL Paket Contract Participation Value"},"gkp_username":{"visibility":"visible","label":"DHL Paket GKP Username"},"gkp_password":{"visibility":"password","label":"DHL Paket GKP Password"}}}},{"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":"DoorDashAccount","readable":"DoorDash","logo":null,"fields":{"credentials":{"developer_id":{"visibility":"visible","label":"DoorDash Developer ID"},"key_id":{"visibility":"visible","label":"DoorDash Key ID"},"signing_secret":{"visibility":"password","label":"DoorDash Signing Secret"},"pickup_external_business_id":{"visibility":"visible","label":"DoorDash Pickup External Business ID"}},"test_credentials":{"developer_id":{"visibility":"visible","label":"DoorDash Test Developer ID"},"key_id":{"visibility":"visible","label":"DoorDash Test Key ID"},"signing_secret":{"visibility":"password","label":"DoorDash Test Signing Secret"},"pickup_external_business_id":{"visibility":"visible","label":"DoorDash Test Pickup External Business ID"}}}},{"object":"CarrierType","type":"DouglasAccount","readable":"Douglas","logo":null,"fields":{"credentials":{"username":{"visibility":"visible","label":"Douglas username"},"password":{"visibility":"password","label":"Douglas password"}},"test_credentials":{"username":{"visibility":"visible","label":"Douglas test username"},"password":{"visibility":"password","label":"Douglas test password"}}}},{"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":"EPostGlobalV2Account","readable":"EPost Global V2","logo":null,"fields":{"credentials":{"api_key":{"visibility":"masked","label":"EPostGlobalV2 API Key"},"api_username":{"visibility":"visible","label":"EPostGlobalV2 API Username"},"auth_token":{"visibility":"password","label":"EPostGlobalV2 Auth Token"}},"test_credentials":{"api_key":{"visibility":"masked","label":"EPostGlobalV2 Test API Key"},"api_username":{"visibility":"visible","label":"EPostGlobalV2 Test API Username"},"auth_token":{"visibility":"password","label":"EPostGlobalV2 Test Auth Token"}}}},{"object":"CarrierType","type":"EstafetaAccount","readable":"Estafeta","logo":null,"fields":{"credentials":{"customer_number":{"visibility":"visible","label":"Customer Number"},"hub_id":{"visibility":"visible","label":"Office Number"}}}},{"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"},"fedex_claims_login_user_id":{"visibility":"visible","label":"FedEx Production Claims User ID"},"fedex_claims_user_password":{"visibility":"masked","label":"FedEx Production Claims User 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":"FirstChoiceAccount","readable":"First Choice","logo":null,"fields":{"credentials":{"username":{"visibility":"visible","label":"First Choice username"},"password":{"visibility":"password","label":"First Choice password"},"account_number":{"visibility":"visible","label":"First Choice account number"},"customer_key":{"visibility":"visible","label":"First Choice customer key"},"customer_code":{"visibility":"visible","label":"First Choice customer code"},"api_key":{"visibility":"masked","label":"First Choice api key"}},"test_credentials":{"username":{"visibility":"visible","label":"Test First Choice username"},"password":{"visibility":"password","label":"Test First Choice password"},"account_number":{"visibility":"visible","label":"Test First Choice account number"},"customer_key":{"visibility":"visible","label":"Test First Choice customer key"},"customer_code":{"visibility":"visible","label":"Test First Choice customer code"},"api_key":{"visibility":"masked","label":"Test First Choice api key"}}}},{"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":"GioAccount","readable":"Gio","logo":null,"fields":{"credentials":{"username":{"visibility":"visible","label":"Gio username"},"password":{"visibility":"password","label":"Gio password"}},"test_credentials":{"username":{"visibility":"visible","label":"Gio test username"},"password":{"visibility":"password","label":"Gio test password"}}}},{"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":"HenryAccount","readable":"Henry","logo":null,"fields":{"credentials":{"username":{"visibility":"visible","label":"Henry username"},"password":{"visibility":"password","label":"Henry password"}},"test_credentials":{"username":{"visibility":"visible","label":"Henry test username"},"password":{"visibility":"password","label":"Henry test password"}}}},{"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"},"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":"JetAccount","readable":"Jet","logo":null,"fields":{"credentials":{"username":{"visibility":"visible","label":"Jet username"},"password":{"visibility":"password","label":"Jet password"}},"test_credentials":{"username":{"visibility":"visible","label":"Jet test username"},"password":{"visibility":"password","label":"Jet test password"}}}},{"object":"CarrierType","type":"JitsuAccount","readable":"Jitsu","logo":null,"fields":{"credentials":{"api_key":{"visibility":"masked","label":"Client Secret"}},"test_credentials":{"api_key":{"visibility":"masked","label":"Client Secret"}}}},{"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":"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":"OntracV3Account","readable":"OnTrac V3","logo":null,"fields":{"credentials":{"api_key":{"visibility":"masked","label":"OntracV3 API Key"},"api_id":{"visibility":"visible","label":"OntracV3 API ID"},"facility":{"visibility":"visible","label":"OntracV3 Customer Branch"},"injection_contact":{"visibility":"visible","label":"Tender at Address Contact"},"injection_street1":{"visibility":"visible","label":"Tender at Address Street1"},"injection_street2":{"visibility":"visible","label":"Tender at Address Street2"},"injection_city":{"visibility":"visible","label":"Tender at Address City"},"injection_state":{"visibility":"visible","label":"Tender at Address State"},"injection_zip":{"visibility":"visible","label":"Tender at Address Postal Code"},"injection_country":{"visibility":"visible","label":"Tender at Address Country Code"},"injection_phone":{"visibility":"visible","label":"Tender at Address Phone"},"injection_instruction":{"visibility":"visible","label":"Tender at Address Instruction"}}}},{"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":"QuickAccount","readable":"Quick","logo":null,"fields":{"credentials":{"username":{"visibility":"visible","label":"Quick username"},"password":{"visibility":"password","label":"Quick password"}},"test_credentials":{"username":{"visibility":"visible","label":"Quick test username"},"password":{"visibility":"password","label":"Quick test 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":"TccAccount","readable":"Tcc","logo":null,"fields":{"credentials":{"username":{"visibility":"visible","label":"Tcc username"},"password":{"visibility":"password","label":"Tcc password"}},"test_credentials":{"username":{"visibility":"visible","label":"Tcc test username"},"password":{"visibility":"password","label":"Tcc test password"}}}},{"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"},"oauth_status":{"visibility":"readonly","label":"OAuth Authorization Status"},"partner_oauth_url":{"visibility":"readonly","label":"OAuth Portal URL"}},"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"},"oauth_status":{"visibility":"readonly","label":"OAuth Authorization Status"},"partner_oauth_url":{"visibility":"readonly","label":"OAuth Portal URL"}}}},{"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)"},"oauth_status":{"visibility":"readonly","label":"OAuth Authorization Status"},"partner_oauth_url":{"visibility":"readonly","label":"OAuth Portal URL"}}}},{"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"}}}}]' curl_info: url: 'https://api.easypost.com/v2/carrier_types' content_type: 'application/json; charset=utf-8' @@ -44,33 +43,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.313807 - namelookup_time: 0.001565 - connect_time: 0.063321 - pretransfer_time: 0.128171 + total_time: 0.242328 + namelookup_time: 0.00255 + connect_time: 0.036013 + pretransfer_time: 0.072849 size_upload: 0.0 - size_download: 38621.0 - speed_download: 123072.0 + size_download: 41628.0 + speed_download: 171783.0 speed_upload: 0.0 - download_content_length: 38621.0 + download_content_length: 41628.0 upload_content_length: 0.0 - starttransfer_time: 0.251664 + starttransfer_time: 0.177158 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53572 + local_ip: 192.168.1.75 + local_port: 52770 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 128117 - connect_time_us: 63321 - namelookup_time_us: 1565 - pretransfer_time_us: 128171 + scheme: https + appconnect_time_us: 72791 + connect_time_us: 36013 + namelookup_time_us: 2550 + pretransfer_time_us: 72849 redirect_time_us: 0 - starttransfer_time_us: 251664 - total_time_us: 313807 + starttransfer_time_us: 177158 + total_time_us: 242328 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/carrier_accounts/update.yml b/test/cassettes/carrier_accounts/update.yml index 13fa9510..94be3263 100644 --- a/test/cassettes/carrier_accounts/update.yml +++ b/test/cassettes/carrier_accounts/update.yml @@ -23,19 +23,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 1f7ff67a668db350e798c45d0032c503 + x-ep-request-uuid: e181587d66bcec00e2b8fff80086fea1 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1469' - x-runtime: '0.086550' - x-node: bigweb40nuq - x-version-label: easypost-202407092027-324ee50b5a-master + x-runtime: '0.066651' + x-node: bigweb33nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb3nuq fa152d4755', 'extlb2nuq fa152d4755'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"ca_2ffe0d6ea57d44069f96e8343e01d134","object":"CarrierAccount","type":"DhlEcsAccount","clone":false,"created_at":"2024-07-09T22:01:52Z","updated_at":"2024-07-09T22:01:52Z","description":"DHL eCommerce Solutions Account","reference":null,"billing_type":"carrier","readable":"DHL eCommerce Solutions","logo":null,"fields":[],"credentials":[],"test_credentials":[]}' + body: '{"id":"ca_10257732a3014aec8ce161f04255188c","object":"CarrierAccount","type":"DhlEcsAccount","clone":false,"created_at":"2024-08-14T17:40:16Z","updated_at":"2024-08-14T17:40:16Z","description":"DHL eCommerce Solutions Account","reference":null,"billing_type":"carrier","readable":"DHL eCommerce Solutions","logo":null,"fields":[],"credentials":[],"test_credentials":[]}' curl_info: url: 'https://api.easypost.com/v2/carrier_accounts' content_type: 'application/json; charset=utf-8' @@ -45,35 +45,35 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.530043 - namelookup_time: 0.003049 - connect_time: 0.146971 - pretransfer_time: 0.299929 + total_time: 0.172759 + namelookup_time: 0.001737 + connect_time: 0.034974 + pretransfer_time: 0.070245 size_upload: 277.0 size_download: 1469.0 - speed_download: 2771.0 - speed_upload: 522.0 + speed_download: 8503.0 + speed_upload: 1603.0 download_content_length: 1469.0 upload_content_length: 277.0 - starttransfer_time: 0.530017 + starttransfer_time: 0.172735 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.20 - local_port: 60262 + local_ip: 192.168.1.75 + local_port: 52764 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 299749 - connect_time_us: 146971 - namelookup_time_us: 3049 - pretransfer_time_us: 299929 + scheme: https + appconnect_time_us: 70202 + connect_time_us: 34974 + namelookup_time_us: 1737 + pretransfer_time_us: 70245 redirect_time_us: 0 - starttransfer_time_us: 530017 - total_time_us: 530043 + starttransfer_time_us: 172735 + total_time_us: 172759 effective_method: POST capath: '' cainfo: '' @@ -81,7 +81,7 @@ - request: method: GET - url: 'https://api.easypost.com/v2/carrier_accounts/ca_2ffe0d6ea57d44069f96e8343e01d134' + url: 'https://api.easypost.com/v2/carrier_accounts/ca_10257732a3014aec8ce161f04255188c' headers: Host: api.easypost.com Accept-Encoding: '' @@ -100,21 +100,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 1f7ff677668db350e798c45e0032c59c + x-ep-request-uuid: e181587866bcec00e2b8fff90086fed0 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1469' - x-runtime: '0.035548' - x-node: bigweb42nuq - x-version-label: easypost-202407092027-324ee50b5a-master + x-runtime: '0.032232' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb4nuq fa152d4755', 'extlb2nuq fa152d4755'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"ca_2ffe0d6ea57d44069f96e8343e01d134","object":"CarrierAccount","type":"DhlEcsAccount","clone":false,"created_at":"2024-07-09T22:01:52Z","updated_at":"2024-07-09T22:01:52Z","description":"DHL eCommerce Solutions Account","reference":null,"billing_type":"carrier","readable":"DHL eCommerce Solutions","logo":null,"fields":[],"credentials":[],"test_credentials":[]}' + body: '{"id":"ca_10257732a3014aec8ce161f04255188c","object":"CarrierAccount","type":"DhlEcsAccount","clone":false,"created_at":"2024-08-14T17:40:16Z","updated_at":"2024-08-14T17:40:16Z","description":"DHL eCommerce Solutions Account","reference":null,"billing_type":"carrier","readable":"DHL eCommerce Solutions","logo":null,"fields":[],"credentials":[],"test_credentials":[]}' curl_info: - url: 'https://api.easypost.com/v2/carrier_accounts/ca_2ffe0d6ea57d44069f96e8343e01d134' + url: 'https://api.easypost.com/v2/carrier_accounts/ca_10257732a3014aec8ce161f04255188c' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 689 @@ -122,35 +122,35 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.462106 - namelookup_time: 0.000968 - connect_time: 0.136148 - pretransfer_time: 0.280391 + total_time: 0.129145 + namelookup_time: 0.001798 + connect_time: 0.031208 + pretransfer_time: 0.063671 size_upload: 0.0 size_download: 1469.0 - speed_download: 3178.0 + speed_download: 11374.0 speed_upload: 0.0 download_content_length: 1469.0 upload_content_length: 0.0 - starttransfer_time: 0.462072 + starttransfer_time: 0.129081 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.20 - local_port: 60263 + local_ip: 192.168.1.75 + local_port: 52765 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 280299 - connect_time_us: 136148 - namelookup_time_us: 968 - pretransfer_time_us: 280391 + scheme: https + appconnect_time_us: 63620 + connect_time_us: 31208 + namelookup_time_us: 1798 + pretransfer_time_us: 63671 redirect_time_us: 0 - starttransfer_time_us: 462072 - total_time_us: 462106 + starttransfer_time_us: 129081 + total_time_us: 129145 effective_method: GET capath: '' cainfo: '' @@ -158,7 +158,7 @@ - request: method: PATCH - url: 'https://api.easypost.com/v2/carrier_accounts/ca_2ffe0d6ea57d44069f96e8343e01d134' + url: 'https://api.easypost.com/v2/carrier_accounts/ca_10257732a3014aec8ce161f04255188c' headers: Host: api.easypost.com Expect: '' @@ -179,58 +179,57 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 67540322668db351e798c45f00319cc8 + x-ep-request-uuid: e181587d66bcec00e2b8fffa0086fefe cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1459' - x-runtime: '0.213593' - x-node: bigweb32nuq - x-version-label: easypost-202407092027-324ee50b5a-master + x-runtime: '0.087536' + x-node: bigweb41nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb4nuq fa152d4755', 'extlb1nuq fa152d4755'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"ca_2ffe0d6ea57d44069f96e8343e01d134","object":"CarrierAccount","type":"DhlEcsAccount","clone":false,"created_at":"2024-07-09T22:01:52Z","updated_at":"2024-07-09T22:01:53Z","description":"My custom description","reference":null,"billing_type":"carrier","readable":"DHL eCommerce Solutions","logo":null,"fields":[],"credentials":[],"test_credentials":[]}' + body: '{"id":"ca_10257732a3014aec8ce161f04255188c","object":"CarrierAccount","type":"DhlEcsAccount","clone":false,"created_at":"2024-08-14T17:40:16Z","updated_at":"2024-08-14T17:40:16Z","description":"My custom description","reference":null,"billing_type":"carrier","readable":"DHL eCommerce Solutions","logo":null,"fields":[],"credentials":[],"test_credentials":[]}' curl_info: - url: 'https://api.easypost.com/v2/carrier_accounts/ca_2ffe0d6ea57d44069f96e8343e01d134' + url: 'https://api.easypost.com/v2/carrier_accounts/ca_10257732a3014aec8ce161f04255188c' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 707 + header_size: 689 request_size: 410 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.641964 - namelookup_time: 0.00116 - connect_time: 0.142065 - pretransfer_time: 0.279365 + total_time: 0.187234 + namelookup_time: 0.001836 + connect_time: 0.031683 + pretransfer_time: 0.066601 size_upload: 59.0 size_download: 1459.0 - speed_download: 2272.0 - speed_upload: 91.0 + speed_download: 7792.0 + speed_upload: 315.0 download_content_length: 1459.0 upload_content_length: 59.0 - starttransfer_time: 0.641941 + starttransfer_time: 0.187155 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.20 - local_port: 60264 + local_ip: 192.168.1.75 + local_port: 52766 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 279316 - connect_time_us: 142065 - namelookup_time_us: 1160 - pretransfer_time_us: 279365 + scheme: https + appconnect_time_us: 66528 + connect_time_us: 31683 + namelookup_time_us: 1836 + pretransfer_time_us: 66601 redirect_time_us: 0 - starttransfer_time_us: 641941 - total_time_us: 641964 + starttransfer_time_us: 187155 + total_time_us: 187234 effective_method: PATCH capath: '' cainfo: '' @@ -238,7 +237,7 @@ - request: method: DELETE - url: 'https://api.easypost.com/v2/carrier_accounts/ca_2ffe0d6ea57d44069f96e8343e01d134' + url: 'https://api.easypost.com/v2/carrier_accounts/ca_10257732a3014aec8ce161f04255188c' headers: Host: api.easypost.com Accept-Encoding: '' @@ -257,21 +256,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6754031f668db352e798c46300319daf + x-ep-request-uuid: e181587b66bcec00e2b8fffb0086ff3a cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '2' - x-runtime: '0.062378' - x-node: bigweb53nuq - x-version-label: easypost-202407092027-324ee50b5a-master + x-runtime: '0.060943' + x-node: bigweb40nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb3nuq fa152d4755', 'extlb1nuq fa152d4755'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' body: '[]' curl_info: - url: 'https://api.easypost.com/v2/carrier_accounts/ca_2ffe0d6ea57d44069f96e8343e01d134' + url: 'https://api.easypost.com/v2/carrier_accounts/ca_10257732a3014aec8ce161f04255188c' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 686 @@ -279,35 +278,35 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.49259 - namelookup_time: 0.000986 - connect_time: 0.142402 - pretransfer_time: 0.2853 + total_time: 0.159173 + namelookup_time: 0.002185 + connect_time: 0.033557 + pretransfer_time: 0.065447 size_upload: 0.0 size_download: 2.0 - speed_download: 4.0 + speed_download: 12.0 speed_upload: 0.0 download_content_length: 2.0 upload_content_length: 0.0 - starttransfer_time: 0.492559 + starttransfer_time: 0.159113 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.20 - local_port: 60268 + local_ip: 192.168.1.75 + local_port: 52767 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 285209 - connect_time_us: 142402 - namelookup_time_us: 986 - pretransfer_time_us: 285300 + scheme: https + appconnect_time_us: 65395 + connect_time_us: 33557 + namelookup_time_us: 2185 + pretransfer_time_us: 65447 redirect_time_us: 0 - starttransfer_time_us: 492559 - total_time_us: 492590 + starttransfer_time_us: 159113 + total_time_us: 159173 effective_method: DELETE capath: '' cainfo: '' diff --git a/test/cassettes/carrier_accounts/update_ups.yml b/test/cassettes/carrier_accounts/update_ups.yml index af3ee00c..e5a50da6 100644 --- a/test/cassettes/carrier_accounts/update_ups.yml +++ b/test/cassettes/carrier_accounts/update_ups.yml @@ -23,19 +23,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 67540321668db352e798c46400319e54 + x-ep-request-uuid: e181587d66bcebffe2b8fff40086fd9d cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '1404' - x-runtime: '0.099291' - x-node: bigweb38nuq - x-version-label: easypost-202407092027-324ee50b5a-master + content-length: '1420' + x-runtime: '0.239964' + x-node: bigweb34nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb3nuq fa152d4755', 'extlb1nuq fa152d4755'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"ca_abab1d73e47943938a56326d10d0776b","object":"CarrierAccount","type":"UpsAccount","clone":false,"created_at":"2024-07-09T22:01:54Z","updated_at":"2024-07-09T22:01:54Z","description":null,"reference":null,"billing_type":"carrier","readable":"UPS","logo":null,"fields":[],"credentials":[],"test_credentials":[]}' + body: '{"id":"ca_b67dad1962d94759b9d47c31a3c245cd","object":"CarrierAccount","type":"UpsAccount","clone":false,"created_at":"2024-08-14T17:40:15Z","updated_at":"2024-08-14T17:40:15Z","description":null,"reference":null,"billing_type":"carrier","readable":"UPS","logo":null,"fields":[],"credentials":[],"test_credentials":[]}' curl_info: url: 'https://api.easypost.com/v2/ups_oauth_registrations' content_type: 'application/json; charset=utf-8' @@ -45,35 +45,35 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.538196 - namelookup_time: 0.001377 - connect_time: 0.138061 - pretransfer_time: 0.291193 + total_time: 0.348442 + namelookup_time: 0.002537 + connect_time: 0.034826 + pretransfer_time: 0.072128 size_upload: 78.0 - size_download: 1404.0 - speed_download: 2608.0 - speed_upload: 144.0 - download_content_length: 1404.0 + size_download: 1420.0 + speed_download: 4075.0 + speed_upload: 223.0 + download_content_length: 1420.0 upload_content_length: 78.0 - starttransfer_time: 0.538149 + starttransfer_time: 0.348371 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.20 - local_port: 60269 + local_ip: 192.168.1.75 + local_port: 52760 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 291133 - connect_time_us: 138061 - namelookup_time_us: 1377 - pretransfer_time_us: 291193 + scheme: https + appconnect_time_us: 72046 + connect_time_us: 34826 + namelookup_time_us: 2537 + pretransfer_time_us: 72128 redirect_time_us: 0 - starttransfer_time_us: 538149 - total_time_us: 538196 + starttransfer_time_us: 348371 + total_time_us: 348442 effective_method: POST capath: '' cainfo: '' @@ -81,7 +81,7 @@ - request: method: GET - url: 'https://api.easypost.com/v2/carrier_accounts/ca_abab1d73e47943938a56326d10d0776b' + url: 'https://api.easypost.com/v2/carrier_accounts/ca_b67dad1962d94759b9d47c31a3c245cd' headers: Host: api.easypost.com Accept-Encoding: '' @@ -100,21 +100,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 67540320668db353e798c47c00319f28 + x-ep-request-uuid: e181587d66bcebffe2b8fff50086fe0f cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '1404' - x-runtime: '0.037830' - x-node: bigweb42nuq - x-version-label: easypost-202407092027-324ee50b5a-master + content-length: '1420' + x-runtime: '0.129408' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb3nuq fa152d4755', 'extlb1nuq fa152d4755'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"ca_abab1d73e47943938a56326d10d0776b","object":"CarrierAccount","type":"UpsAccount","clone":false,"created_at":"2024-07-09T22:01:54Z","updated_at":"2024-07-09T22:01:54Z","description":null,"reference":null,"billing_type":"carrier","readable":"UPS","logo":null,"fields":[],"credentials":[],"test_credentials":[]}' + body: '{"id":"ca_b67dad1962d94759b9d47c31a3c245cd","object":"CarrierAccount","type":"UpsAccount","clone":false,"created_at":"2024-08-14T17:40:15Z","updated_at":"2024-08-14T17:40:15Z","description":null,"reference":null,"billing_type":"carrier","readable":"UPS","logo":null,"fields":[],"credentials":[],"test_credentials":[]}' curl_info: - url: 'https://api.easypost.com/v2/carrier_accounts/ca_abab1d73e47943938a56326d10d0776b' + url: 'https://api.easypost.com/v2/carrier_accounts/ca_b67dad1962d94759b9d47c31a3c245cd' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 689 @@ -122,35 +122,35 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.480215 - namelookup_time: 0.001224 - connect_time: 0.144826 - pretransfer_time: 0.297933 + total_time: 0.229087 + namelookup_time: 0.001906 + connect_time: 0.031486 + pretransfer_time: 0.065886 size_upload: 0.0 - size_download: 1404.0 - speed_download: 2923.0 + size_download: 1420.0 + speed_download: 6198.0 speed_upload: 0.0 - download_content_length: 1404.0 + download_content_length: 1420.0 upload_content_length: 0.0 - starttransfer_time: 0.480186 + starttransfer_time: 0.229022 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.20 - local_port: 60270 + local_ip: 192.168.1.75 + local_port: 52761 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 297877 - connect_time_us: 144826 - namelookup_time_us: 1224 - pretransfer_time_us: 297933 + scheme: https + appconnect_time_us: 65814 + connect_time_us: 31486 + namelookup_time_us: 1906 + pretransfer_time_us: 65886 redirect_time_us: 0 - starttransfer_time_us: 480186 - total_time_us: 480215 + starttransfer_time_us: 229022 + total_time_us: 229087 effective_method: GET capath: '' cainfo: '' @@ -158,7 +158,7 @@ - request: method: PATCH - url: 'https://api.easypost.com/v2/ups_oauth_registrations/ca_abab1d73e47943938a56326d10d0776b' + url: 'https://api.easypost.com/v2/ups_oauth_registrations/ca_b67dad1962d94759b9d47c31a3c245cd' headers: Host: api.easypost.com Expect: '' @@ -179,21 +179,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6754031e668db353e798c47e00319fb8 + x-ep-request-uuid: e181587a66bcebffe2b8fff60086fe42 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '1400' - x-runtime: '0.072803' - x-node: bigweb40nuq - x-version-label: easypost-202407092027-324ee50b5a-master + content-length: '1396' + x-runtime: '0.068094' + x-node: bigweb36nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb3nuq fa152d4755', 'extlb1nuq fa152d4755'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"ca_abab1d73e47943938a56326d10d0776b","object":"CarrierAccount","type":"UpsAccount","clone":false,"created_at":"2024-07-09T22:01:54Z","updated_at":"2024-07-09T22:01:55Z","description":null,"reference":null,"billing_type":"carrier","readable":"UPS","logo":null,"fields":[],"credentials":[],"test_credentials":[]}' + body: '{"id":"ca_b67dad1962d94759b9d47c31a3c245cd","object":"CarrierAccount","type":"UpsAccount","clone":false,"created_at":"2024-08-14T17:40:15Z","updated_at":"2024-08-14T17:40:15Z","description":null,"reference":null,"billing_type":"carrier","readable":"UPS","logo":null,"fields":[],"credentials":[],"test_credentials":[]}' curl_info: - url: 'https://api.easypost.com/v2/ups_oauth_registrations/ca_abab1d73e47943938a56326d10d0776b' + url: 'https://api.easypost.com/v2/ups_oauth_registrations/ca_b67dad1962d94759b9d47c31a3c245cd' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 689 @@ -201,35 +201,35 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.496408 - namelookup_time: 0.00119 - connect_time: 0.144791 - pretransfer_time: 0.282148 + total_time: 0.177725 + namelookup_time: 0.002558 + connect_time: 0.035114 + pretransfer_time: 0.073278 size_upload: 58.0 - size_download: 1400.0 - speed_download: 2820.0 - speed_upload: 116.0 - download_content_length: 1400.0 + size_download: 1396.0 + speed_download: 7854.0 + speed_upload: 326.0 + download_content_length: 1396.0 upload_content_length: 58.0 - starttransfer_time: 0.496363 + starttransfer_time: 0.177639 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.20 - local_port: 60272 + local_ip: 192.168.1.75 + local_port: 52762 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 282090 - connect_time_us: 144791 - namelookup_time_us: 1190 - pretransfer_time_us: 282148 + scheme: https + appconnect_time_us: 73204 + connect_time_us: 35114 + namelookup_time_us: 2558 + pretransfer_time_us: 73278 redirect_time_us: 0 - starttransfer_time_us: 496363 - total_time_us: 496408 + starttransfer_time_us: 177639 + total_time_us: 177725 effective_method: PATCH capath: '' cainfo: '' @@ -237,7 +237,7 @@ - request: method: DELETE - url: 'https://api.easypost.com/v2/carrier_accounts/ca_abab1d73e47943938a56326d10d0776b' + url: 'https://api.easypost.com/v2/carrier_accounts/ca_b67dad1962d94759b9d47c31a3c245cd' headers: Host: api.easypost.com Accept-Encoding: '' @@ -256,58 +256,57 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6754031c668db354e798c47f0031a055 + x-ep-request-uuid: e181587a66bcec00e2b8fff70086fe6c cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '2' - x-runtime: '0.064436' - x-node: bigweb43nuq - x-version-label: easypost-202407092027-324ee50b5a-master + x-runtime: '0.065005' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb3nuq fa152d4755', 'extlb1nuq fa152d4755'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' body: '[]' curl_info: - url: 'https://api.easypost.com/v2/carrier_accounts/ca_abab1d73e47943938a56326d10d0776b' + url: 'https://api.easypost.com/v2/carrier_accounts/ca_b67dad1962d94759b9d47c31a3c245cd' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 704 + header_size: 686 request_size: 332 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.487325 - namelookup_time: 0.001181 - connect_time: 0.130724 - pretransfer_time: 0.276682 + total_time: 0.171474 + namelookup_time: 0.001919 + connect_time: 0.035195 + pretransfer_time: 0.070244 size_upload: 0.0 size_download: 2.0 - speed_download: 4.0 + speed_download: 11.0 speed_upload: 0.0 download_content_length: 2.0 upload_content_length: 0.0 - starttransfer_time: 0.487301 + starttransfer_time: 0.171454 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.20 - local_port: 60273 + local_ip: 192.168.1.75 + local_port: 52763 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 276624 - connect_time_us: 130724 - namelookup_time_us: 1181 - pretransfer_time_us: 276682 + scheme: https + appconnect_time_us: 70215 + connect_time_us: 35195 + namelookup_time_us: 1919 + pretransfer_time_us: 70244 redirect_time_us: 0 - starttransfer_time_us: 487301 - total_time_us: 487325 + starttransfer_time_us: 171454 + total_time_us: 171474 effective_method: DELETE capath: '' cainfo: '' diff --git a/test/cassettes/carrier_metadata/retrieveCarrierMetadata.yml b/test/cassettes/carrier_metadata/retrieveCarrierMetadata.yml index adee3ddc..8d6973d8 100644 --- a/test/cassettes/carrier_metadata/retrieveCarrierMetadata.yml +++ b/test/cassettes/carrier_metadata/retrieveCarrierMetadata.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,20 +21,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f877655e653de7885dc9001f40b7 + x-ep-request-uuid: e181587a66bcec01e2b900160087002d cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '187870' - x-runtime: '0.070834' - x-node: bigweb32nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '165062' + x-runtime: '0.079670' + x-node: bigweb43nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost x-canary: direct - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"carriers":[{"human_readable":"Amazon MWS","name":"amazonmws","predefined_packages":[],"service_levels":[{"carrier":"amazonmws","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"UPS Rates"},{"carrier":"amazonmws","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"USPS Rates"},{"carrier":"amazonmws","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FedEx Rates"},{"carrier":"amazonmws","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"UPS Labels"},{"carrier":"amazonmws","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"USPS Labels"},{"carrier":"amazonmws","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FedEx Labels"},{"carrier":"amazonmws","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"UPS Tracking"},{"carrier":"amazonmws","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"USPS Tracking"},{"carrier":"amazonmws","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FedEx Tracking"}],"shipment_options":[],"supported_features":[]},{"human_readable":"APC","name":"apc","predefined_packages":[],"service_levels":[{"carrier":"apc","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"parcelConnectBookService"},{"carrier":"apc","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"parcelConnectExpeditedDDP"},{"carrier":"apc","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"parcelConnectExpeditedDDU"},{"carrier":"apc","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"parcelConnectPriorityDDP"},{"carrier":"apc","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"parcelConnectPriorityDDPDelcon"},{"carrier":"apc","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"parcelConnectPriorityDDU"},{"carrier":"apc","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"parcelConnectPriorityDDUDelcon"},{"carrier":"apc","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"parcelConnectPriorityDDUPQW"},{"carrier":"apc","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"parcelConnectStandardDDU"},{"carrier":"apc","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"parcelConnectStandardDDUPQW"},{"carrier":"apc","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"parcelConnectPacketDDU"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Asendia USA","name":"asendiausa","predefined_packages":[],"service_levels":[{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ADS","max_weight":null,"name":"ADS"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Air Freight Inbound","max_weight":null,"name":"AirFreightInbound"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Air Freight Outbound","max_weight":null,"name":"AirFreightOutbound"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Asendia Domestic Bound Printed Matter Expedited","max_weight":null,"name":"AsendiaDomesticBoundPrinterMatterExpedited"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Asendia Domestic Bound Printed Matter Ground","max_weight":null,"name":"AsendiaDomesticBoundPrinterMatterGround"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Asendia Domestic Flats Expedited","max_weight":null,"name":"AsendiaDomesticFlatsExpedited"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Asendia Domestic Flats Ground","max_weight":null,"name":"AsendiaDomesticFlatsGround"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Asendia Domestic Parcel Ground Over 1 Lb","max_weight":null,"name":"AsendiaDomesticParcelGroundOver1lb"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Asendia Domestic Parcel Ground Under 1 Lb","max_weight":null,"name":"AsendiaDomesticParcelGroundUnder1lb"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Asendia Domestic Parcel MAX Over 1 Lb","max_weight":null,"name":"AsendiaDomesticParcelMAXOver1lb"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Asendia Domestic Parcel MAX Under 1 Lb","max_weight":null,"name":"AsendiaDomesticParcelMAXUnder1lb"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Asendia Domestic Parcel Over 1 Lb Expedited","max_weight":null,"name":"AsendiaDomesticParcelOver1lbExpedited"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Asendia Domestic Parcel Under 1 Lb Expedited","max_weight":null,"name":"AsendiaDomesticParcelUnder1lbExpedited"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Asendia Domestic Promo Parcel Expedited","max_weight":null,"name":"AsendiaDomesticPromoParcelExpedited"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Asendia Domestic Promo Parcel Ground","max_weight":null,"name":"AsendiaDomesticPromoParcelGround"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Bulk Freight","max_weight":null,"name":"BulkFreight"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Business Mail Canada Lettermail","max_weight":null,"name":"BusinessMailCanadaLettermail"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Business Mail Canada Lettermail Machineable","max_weight":null,"name":"BusinessMailCanadaLettermailMachineable"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Business Mail Economy","max_weight":null,"name":"BusinessMailEconomy"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Business Mail Economy LP Wholesale","max_weight":null,"name":"BusinessMailEconomyLPWholesale"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Business Mail Economy SP Wholesale","max_weight":null,"name":"BusinessMailEconomySPWholesale"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Business Mail International Priority Airmail","max_weight":null,"name":"BusinessMailIPA"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Business Mail International Surface Air Lift","max_weight":null,"name":"BusinessMailISAL"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Business Mail Priority","max_weight":null,"name":"BusinessMailPriority"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Business Mail Priority LP Wholesale","max_weight":null,"name":"BusinessMailPriorityLPWholesale"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Business Mail Priority SP Wholesale","max_weight":null,"name":"BusinessMailPrioritySPWholesale"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Marketing Mail Canada Personalized Letter Carrier Presort","max_weight":null,"name":"MarketingMailCanadaPersonalizedLCP"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Marketing Mail Canada Personalized Machineable","max_weight":null,"name":"MarketingMailCanadaPersonalizedMachineable"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Marketing Mail Canada Personalized Non-Dangerous Goods","max_weight":null,"name":"MarketingMailCanadaPersonalizedNDG"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Marketing Mail Economy","max_weight":null,"name":"MarketingMailEconomy"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Marketing Mail International Priority Airmail","max_weight":null,"name":"MarketingMailIPA"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"MarketingMail International Surface Air Lift","max_weight":null,"name":"MarketingMailISAL"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Marketing Mail Priority","max_weight":null,"name":"MarketingMailPriority"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Publications Canada Letter Carrier Presort","max_weight":null,"name":"PublicationsCanadaLCP"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Publications Canada Non-Dangerous Goods","max_weight":null,"name":"PublicationsCanadaNDG"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Publications Economy","max_weight":null,"name":"PublicationsEconomy"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Publications International Priority Airmail","max_weight":null,"name":"PublicationsIPA"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Publications International Surface Air Lift","max_weight":null,"name":"PublicationsISAL"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Publications Priority","max_weight":null,"name":"PublicationsPriority"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Elite","max_weight":null,"name":"ePAQElite"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Elite Custom","max_weight":null,"name":"ePAQEliteCustom"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQElite Delivered At Place","max_weight":null,"name":"ePAQEliteDAP"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Elite Delivered Duty Paid","max_weight":null,"name":"ePAQEliteDDP"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Elite Delivered Duty Paid Oversized","max_weight":null,"name":"ePAQEliteDDPOversized"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Elite DPD","max_weight":null,"name":"ePAQEliteDPD"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Elite Direct Access Canada Delivered Duty Paid","max_weight":null,"name":"ePAQEliteDirectAccessCanadaDDP"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Elite Oversized","max_weight":null,"name":"ePAQEliteOversized"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Plus","max_weight":null,"name":"ePAQPlus"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Plus Custom","max_weight":null,"name":"ePAQPlusCustom"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Plus Customs Pre-Paid","max_weight":null,"name":"ePAQPlusCustomsPrepaid"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Plus Delivered At Place","max_weight":null,"name":"ePAQPlusDAP"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Plus Delivered Duty Paid","max_weight":null,"name":"ePAQPlusDDP"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Plus Economy","max_weight":null,"name":"ePAQPlusEconomy"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Plus Wholesale","max_weight":null,"name":"ePAQPlusWholesale"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Plus ePacket","max_weight":null,"name":"ePAQPlusePacket"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Plus ePacket Canada Customs Pre-Paid","max_weight":null,"name":"ePAQPlusePacketCanadaCustomsPrePaid"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Plus ePacket Canada Delivered Duty Paid","max_weight":null,"name":"ePAQPlusePacketCanadaDDP"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Returns Domestic","max_weight":null,"name":"ePAQReturnsDomestic"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Returns International","max_weight":null,"name":"ePAQReturnsInternational"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select","max_weight":null,"name":"ePAQSelect"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select Custom","max_weight":null,"name":"ePAQSelectCustom"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select Customs Pre-Paid By Shopper","max_weight":null,"name":"ePAQSelectCustomsPrepaidByShopper"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select Delivered At Place","max_weight":null,"name":"ePAQSelectDAP"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select Delivered Duty Paid","max_weight":null,"name":"ePAQSelectDDP"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select Delivered Duty Paid Direct Access","max_weight":null,"name":"ePAQSelectDDPDirectAccess"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select Direct Access","max_weight":null,"name":"ePAQSelectDirectAccess"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select Direct Access Canada Delivered Duty Paid","max_weight":null,"name":"ePAQSelectDirectAccessCanadaDDP"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select Economy","max_weight":null,"name":"ePAQSelectEconomy"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select Oversized","max_weight":null,"name":"ePAQSelectOversized"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select Oversized Delivered Duty Paid","max_weight":null,"name":"ePAQSelectOversizedDDP"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select PMEI","max_weight":null,"name":"ePAQSelectPMEI"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select PMEI Canada Customs Pre-Paid","max_weight":null,"name":"ePAQSelectPMEICanadaCustomsPrePaid"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select PMEIPC Postage","max_weight":null,"name":"ePAQSelectPMEIPCPostage"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select Priority Mail International","max_weight":null,"name":"ePAQSelectPMI"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select Priority Mail International Canada Customs Pre-Paid","max_weight":null,"name":"ePAQSelectPMICanadaCustomsPrepaid"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select Priority Mail International Canada Delivered Duty Paid","max_weight":null,"name":"ePAQSelectPMICanadaDDP"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select Priority Mail International Non-Presort","max_weight":null,"name":"ePAQSelectPMINonPresort"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select PMIPC Postage","max_weight":null,"name":"ePAQSelectPMIPCPostage"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Standard","max_weight":null,"name":"ePAQStandard"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Standard Custom","max_weight":null,"name":"ePAQStandardCustom"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Standard Economy","max_weight":null,"name":"ePAQStandardEconomy"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Standard International Priority Airmail","max_weight":null,"name":"ePAQStandardIPA"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Standard International Surface Air Lift","max_weight":null,"name":"ePAQStandardISAL"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePaq Select PMEI Non-Presort","max_weight":null,"name":"ePaqSelectPMEINonPresort"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Australia Post","name":"australiapost","predefined_packages":[{"carrier":"australiapost","description":null,"dimensions":[],"human_readable":"Carton","max_weight":null,"name":"CARTON"},{"carrier":"australiapost","description":null,"dimensions":[],"human_readable":"Pallet","max_weight":null,"name":"PALLET"},{"carrier":"australiapost","description":null,"dimensions":[],"human_readable":"Satchel","max_weight":null,"name":"SATCHEL"},{"carrier":"australiapost","description":null,"dimensions":[],"human_readable":"Bag","max_weight":null,"name":"BAG"},{"carrier":"australiapost","description":null,"dimensions":[],"human_readable":"Envelope","max_weight":null,"name":"ENVELOPE"},{"carrier":"australiapost","description":null,"dimensions":[],"human_readable":"Item","max_weight":null,"name":"ITEM"},{"carrier":"australiapost","description":null,"dimensions":[],"human_readable":"Jiffy Bag","max_weight":null,"name":"JIFFYBAG"},{"carrier":"australiapost","description":"Up to 500kg","dimensions":[],"human_readable":"Skid","max_weight":null,"name":"SKID"}],"service_levels":[{"carrier":"australiapost","description":"Specific service availability is determined by your AustraliaPost account.","dimensions":[],"human_readable":"Parcel Post","max_weight":null,"name":"ParcelPost"},{"carrier":"australiapost","description":"Specific service availability is determined by your AustraliaPost account.","dimensions":[],"human_readable":"Express Post","max_weight":null,"name":"ExpressPost"},{"carrier":"australiapost","description":"Specific service availability is determined by your AustraliaPost account.International returns not supported.","dimensions":[],"human_readable":"International","max_weight":null,"name":"International"},{"carrier":"australiapost","description":"Specific service availability is determined by your AustraliaPost account.","dimensions":[],"human_readable":"Commercial","max_weight":null,"name":"Commercial"}],"shipment_options":[],"supported_features":[{"carrier":"australiapost","description":null,"name":"bill_on_delivery","supported":false},{"carrier":"australiapost","description":"Not available with Print as You Go.","name":"bill_on_label_purchase","supported":true},{"carrier":"australiapost","description":"Daily manifesting when using Print as You Go.","name":"bill_on_manifest","supported":true},{"carrier":"australiapost","description":null,"name":"bill_on_scan","supported":false},{"carrier":"australiapost","description":null,"name":"commercial_invoices","supported":null},{"carrier":"australiapost","description":null,"name":"delivers_to_po_box","supported":null},{"carrier":"australiapost","description":null,"name":"labels","supported":true},{"carrier":"australiapost","description":null,"name":"orders","supported":true},{"carrier":"australiapost","description":null,"name":"pickups","supported":false},{"carrier":"australiapost","description":null,"name":"rating","supported":true},{"carrier":"australiapost","description":null,"name":"refunds","supported":true},{"carrier":"australiapost","description":"Domestic only.","name":"returns","supported":true},{"carrier":"australiapost","description":null,"name":"scanforms","supported":true},{"carrier":"australiapost","description":null,"name":"sort_codes","supported":false},{"carrier":"australiapost","description":null,"name":"test_environment","supported":true},{"carrier":"australiapost","description":null,"name":"tracking","supported":true}]},{"human_readable":"AxlehireV3","name":"axlehirev3","predefined_packages":[],"service_levels":[{"carrier":"axlehirev3","description":null,"dimensions":[],"human_readable":"AxleHire Delivery","max_weight":null,"name":"AxleHireDelivery"}],"shipment_options":[{"carrier":"axlehirev3","deprecated":false,"description":null,"human_readable":"Carrier Instructions","name":"carrier_instructions","type":"map"},{"carrier":"axlehirev3","deprecated":false,"description":null,"human_readable":"Label Date","name":"label_date","type":"datetime"},{"carrier":"axlehirev3","deprecated":false,"description":null,"human_readable":"Label Format","name":"label_format","type":"string"},{"carrier":"axlehirev3","deprecated":false,"description":null,"human_readable":"Label Size","name":"label_size","type":"string"},{"carrier":"axlehirev3","deprecated":false,"description":null,"human_readable":"Delivery Confirmation","name":"delivery_confirmation","type":"string"},{"carrier":"axlehirev3","deprecated":false,"description":null,"human_readable":"Delivery Max Datetime","name":"delivery_max_datetime","type":"datetime"},{"carrier":"axlehirev3","deprecated":false,"description":null,"human_readable":"Delivery Min Datetime","name":"delivery_min_datetime","type":"datetime"}],"supported_features":[{"carrier":"axlehirev3","description":null,"name":"commercial_invoices","supported":false},{"carrier":"axlehirev3","description":null,"name":"labels","supported":true},{"carrier":"axlehirev3","description":null,"name":"orders","supported":false},{"carrier":"axlehirev3","description":null,"name":"pickups","supported":true},{"carrier":"axlehirev3","description":null,"name":"rating","supported":true},{"carrier":"axlehirev3","description":null,"name":"refunds","supported":false},{"carrier":"axlehirev3","description":null,"name":"returns","supported":false},{"carrier":"axlehirev3","description":null,"name":"scanforms","supported":true},{"carrier":"axlehirev3","description":null,"name":"sort_codes","supported":false},{"carrier":"axlehirev3","description":null,"name":"test_environment","supported":false},{"carrier":"axlehirev3","description":null,"name":"tracking","supported":true}]},{"human_readable":"Better Trucks","name":"bettertrucks","predefined_packages":[],"service_levels":[{"carrier":"bettertrucks","description":null,"dimensions":[],"human_readable":"Next Day","max_weight":null,"name":"NEXT_DAY"},{"carrier":"bettertrucks","description":null,"dimensions":[],"human_readable":"Express","max_weight":null,"name":"EXPRESS"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Canada Post","name":"canadapost","predefined_packages":[],"service_levels":[{"carrier":"canadapost","description":null,"dimensions":[],"human_readable":"Delivered Tonight","max_weight":null,"name":"DeliveredTonight"},{"carrier":"canadapost","description":null,"dimensions":[],"human_readable":"Regular Parcel","max_weight":null,"name":"RegularParcel"},{"carrier":"canadapost","description":null,"dimensions":[],"human_readable":"Expedited Parcel","max_weight":null,"name":"ExpeditedParcel"},{"carrier":"canadapost","description":null,"dimensions":[],"human_readable":"Xpresspost","max_weight":null,"name":"Xpresspost"},{"carrier":"canadapost","description":null,"dimensions":[],"human_readable":"Xpresspost Certified","max_weight":null,"name":"XpresspostCertified"},{"carrier":"canadapost","description":null,"dimensions":[],"human_readable":"Priority","max_weight":null,"name":"Priority"},{"carrier":"canadapost","description":null,"dimensions":[],"human_readable":"Library Books","max_weight":null,"name":"LibraryBooks"},{"carrier":"canadapost","description":null,"dimensions":[],"human_readable":"Expedited Parcel USA","max_weight":null,"name":"ExpeditedParcelUSA"},{"carrier":"canadapost","description":null,"dimensions":[],"human_readable":"Small Packet USA Air","max_weight":null,"name":"SmallPacketUSAAir"},{"carrier":"canadapost","description":null,"dimensions":[],"human_readable":"Tracked Packet USA","max_weight":null,"name":"TrackedPacketUSA"},{"carrier":"canadapost","description":null,"dimensions":[],"human_readable":"Tracked Packet USA LVM","max_weight":null,"name":"TrackedPacketUSALVM"},{"carrier":"canadapost","description":null,"dimensions":[],"human_readable":"Xpresspost USA","max_weight":null,"name":"XpresspostUSA"},{"carrier":"canadapost","description":null,"dimensions":[],"human_readable":"Xpresspost International","max_weight":null,"name":"XpresspostInternational"},{"carrier":"canadapost","description":null,"dimensions":[],"human_readable":"International Parcel Air","max_weight":null,"name":"InternationalParcelAir"},{"carrier":"canadapost","description":null,"dimensions":[],"human_readable":"International Parcel Surface","max_weight":null,"name":"InternationalParcelSurface"},{"carrier":"canadapost","description":null,"dimensions":[],"human_readable":"Small Packet International Air","max_weight":null,"name":"SmallPacketInternationalAir"},{"carrier":"canadapost","description":null,"dimensions":[],"human_readable":"Small Packet International Surface","max_weight":null,"name":"SmallPacketInternationalSurface"},{"carrier":"canadapost","description":null,"dimensions":[],"human_readable":"Tracked Packet International","max_weight":null,"name":"TrackedPacketInternational"},{"carrier":"canadapost","description":null,"dimensions":[],"human_readable":"Expedited Parcel Plus","max_weight":null,"name":"ExpeditedParcelPlus"}],"shipment_options":[],"supported_features":[{"carrier":"canadapost","description":null,"name":"bill_on_delivery","supported":true},{"carrier":"canadapost","description":null,"name":"bill_on_label_purchase","supported":false},{"carrier":"canadapost","description":null,"name":"bill_on_manifest","supported":true},{"carrier":"canadapost","description":null,"name":"bill_on_scan","supported":false},{"carrier":"canadapost","description":null,"name":"commercial_invoices","supported":true},{"carrier":"canadapost","description":null,"name":"delivers_to_po_box","supported":null},{"carrier":"canadapost","description":null,"name":"labels","supported":true},{"carrier":"canadapost","description":null,"name":"orders","supported":false},{"carrier":"canadapost","description":null,"name":"pickups","supported":true},{"carrier":"canadapost","description":null,"name":"rating","supported":true},{"carrier":"canadapost","description":null,"name":"refunds","supported":true},{"carrier":"canadapost","description":null,"name":"returns","supported":true},{"carrier":"canadapost","description":null,"name":"scanforms","supported":true},{"carrier":"canadapost","description":null,"name":"sort_codes","supported":false},{"carrier":"canadapost","description":null,"name":"test_environment","supported":true},{"carrier":"canadapost","description":null,"name":"tracking","supported":true}]},{"human_readable":"Canpar","name":"canpar","predefined_packages":[],"service_levels":[{"carrier":"canpar","description":null,"dimensions":[],"human_readable":"Ground","max_weight":null,"name":"Ground"},{"carrier":"canpar","description":null,"dimensions":[],"human_readable":"USA","max_weight":null,"name":"USA"},{"carrier":"canpar","description":null,"dimensions":[],"human_readable":"Select Letter","max_weight":null,"name":"SelectLetter"},{"carrier":"canpar","description":null,"dimensions":[],"human_readable":"Select Pak","max_weight":null,"name":"SelectPak"},{"carrier":"canpar","description":null,"dimensions":[],"human_readable":"Select","max_weight":null,"name":"Select"},{"carrier":"canpar","description":null,"dimensions":[],"human_readable":"Overnight Letter","max_weight":null,"name":"OvernightLetter"},{"carrier":"canpar","description":null,"dimensions":[],"human_readable":"Overnight Pak","max_weight":null,"name":"OvernightPak"},{"carrier":"canpar","description":null,"dimensions":[],"human_readable":"Overnight","max_weight":null,"name":"Overnight"},{"carrier":"canpar","description":null,"dimensions":[],"human_readable":"USA Letter","max_weight":null,"name":"USALetter"},{"carrier":"canpar","description":null,"dimensions":[],"human_readable":"USA Pak","max_weight":null,"name":"USAPak"},{"carrier":"canpar","description":null,"dimensions":[],"human_readable":"Select USA","max_weight":null,"name":"SelectUSA"},{"carrier":"canpar","description":null,"dimensions":[],"human_readable":"International","max_weight":null,"name":"International"}],"shipment_options":[{"carrier":"canpar","deprecated":false,"description":null,"human_readable":"Additional Handling","name":"additional_handling","type":"boolean"},{"carrier":"canpar","deprecated":false,"description":null,"human_readable":"Carrier Insurance Amount","name":"carrier_insurance_amount","type":"float"},{"carrier":"canpar","deprecated":false,"description":null,"human_readable":"Handling Instructions","name":"handling_instructions","type":"string"},{"carrier":"canpar","deprecated":false,"description":null,"human_readable":"Label Format","name":"label_format","type":"string"},{"carrier":"canpar","deprecated":false,"description":null,"human_readable":"Label Size","name":"label_size","type":"string"},{"carrier":"canpar","deprecated":false,"description":null,"human_readable":"Delivery Confirmation","name":"delivery_confirmation","type":"string"},{"carrier":"canpar","deprecated":false,"description":null,"human_readable":"Cod Amount","name":"cod_amount","type":"string"},{"carrier":"canpar","deprecated":false,"description":null,"human_readable":"Cod Method","name":"cod_method","type":"string"},{"carrier":"canpar","deprecated":true,"description":null,"human_readable":"Date Advance","name":"date_advance","type":"integer"},{"carrier":"canpar","deprecated":false,"description":null,"human_readable":"Billing Ref","name":"billing_ref","type":"string"}],"supported_features":[{"carrier":"canpar","description":null,"name":"bill_on_delivery","supported":null},{"carrier":"canpar","description":null,"name":"bill_on_label_purchase","supported":null},{"carrier":"canpar","description":null,"name":"bill_on_manifest","supported":null},{"carrier":"canpar","description":null,"name":"bill_on_scan","supported":null},{"carrier":"canpar","description":null,"name":"commercial_invoices","supported":false},{"carrier":"canpar","description":null,"name":"delivers_to_po_box","supported":false},{"carrier":"canpar","description":null,"name":"labels","supported":true},{"carrier":"canpar","description":null,"name":"orders","supported":false},{"carrier":"canpar","description":null,"name":"pickups","supported":true},{"carrier":"canpar","description":null,"name":"rating","supported":true},{"carrier":"canpar","description":null,"name":"refunds","supported":true},{"carrier":"canpar","description":"Subject to regular pricing.","name":"returns","supported":false},{"carrier":"canpar","description":null,"name":"scanforms","supported":true},{"carrier":"canpar","description":null,"name":"sort_codes","supported":false},{"carrier":"canpar","description":null,"name":"test_environment","supported":true},{"carrier":"canpar","description":null,"name":"tracking","supported":true}]},{"human_readable":"CDL Last Mile Solutions","name":"cdllastmilesolutions","predefined_packages":[],"service_levels":[{"carrier":"cdllastmilesolutions","description":null,"dimensions":[],"human_readable":"DISTRIBUTION","max_weight":null,"name":"DISTRIBUTION"},{"carrier":"cdllastmilesolutions","description":null,"dimensions":[],"human_readable":"Same Day","max_weight":null,"name":"Same Day"}],"shipment_options":[{"carrier":"cdllastmilesolutions","deprecated":false,"description":null,"human_readable":"Delivery Max Datetime","name":"delivery_max_datetime","type":"datetime"},{"carrier":"cdllastmilesolutions","deprecated":false,"description":null,"human_readable":"Delivery Min Datetime","name":"delivery_min_datetime","type":"datetime"},{"carrier":"cdllastmilesolutions","deprecated":false,"description":null,"human_readable":"Handling Instructions","name":"handling_instructions","type":"string"},{"carrier":"cdllastmilesolutions","deprecated":false,"description":null,"human_readable":"Invoice Number","name":"invoice_number","type":"string"},{"carrier":"cdllastmilesolutions","deprecated":false,"description":null,"human_readable":"Label Format","name":"label_format","type":"string"},{"carrier":"cdllastmilesolutions","deprecated":false,"description":null,"human_readable":"Pickup Max Datetime","name":"pickup_max_datetime","type":"datetime"},{"carrier":"cdllastmilesolutions","deprecated":false,"description":null,"human_readable":"Pickup Min Datetime","name":"pickup_min_datetime","type":"datetime"},{"carrier":"cdllastmilesolutions","deprecated":true,"description":null,"human_readable":"Print Custom 1","name":"print_custom_1","type":"string"},{"carrier":"cdllastmilesolutions","deprecated":true,"description":null,"human_readable":"Print Custom 1 Barcode","name":"print_custom_1_barcode","type":"boolean"},{"carrier":"cdllastmilesolutions","deprecated":true,"description":null,"human_readable":"Print Custom 2","name":"print_custom_2","type":"string"},{"carrier":"cdllastmilesolutions","deprecated":true,"description":null,"human_readable":"Print Custom 2 Barcode","name":"print_custom_2_barcode","type":"boolean"}],"supported_features":[{"carrier":"cdllastmilesolutions","description":null,"name":"bill_on_delivery","supported":null},{"carrier":"cdllastmilesolutions","description":null,"name":"bill_on_label_purchase","supported":null},{"carrier":"cdllastmilesolutions","description":null,"name":"bill_on_manifest","supported":null},{"carrier":"cdllastmilesolutions","description":null,"name":"bill_on_scan","supported":null},{"carrier":"cdllastmilesolutions","description":null,"name":"commercial_invoices","supported":false},{"carrier":"cdllastmilesolutions","description":null,"name":"delivers_to_po_box","supported":null},{"carrier":"cdllastmilesolutions","description":null,"name":"labels","supported":true},{"carrier":"cdllastmilesolutions","description":null,"name":"orders","supported":false},{"carrier":"cdllastmilesolutions","description":null,"name":"pickups","supported":true},{"carrier":"cdllastmilesolutions","description":null,"name":"rating","supported":true},{"carrier":"cdllastmilesolutions","description":null,"name":"refunds","supported":false},{"carrier":"cdllastmilesolutions","description":null,"name":"returns","supported":false},{"carrier":"cdllastmilesolutions","description":null,"name":"scanforms","supported":false},{"carrier":"cdllastmilesolutions","description":null,"name":"sort_codes","supported":true},{"carrier":"cdllastmilesolutions","description":null,"name":"test_environment","supported":null},{"carrier":"cdllastmilesolutions","description":null,"name":"tracking","supported":true}]},{"human_readable":"Chronopost","name":"chronopost","predefined_packages":[],"service_levels":[],"shipment_options":[],"supported_features":[]},{"human_readable":"Cirro E-Commerce","name":"cirroecommerce","predefined_packages":[],"service_levels":[{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CAECOCE (US to CA Economy)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CAECONE (US to CA Economy)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CAECOWE (US to CA Economy)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ECOCE (Economy Central)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ECOEA (Economy East)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ECONE (Economy Northeast)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ECOSO (Economy South)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ECOWE (Economy West)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EUECOWE (US to Europe Economy)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EXPBNE (Expedited Northeast)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EXPWE (Expedited West)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"REGCE (Regional Central)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"REGEA (Regional East)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"REGNE (Regional Northeast)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"REGSO (Regional South)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"REGWE (Regional West)"}],"shipment_options":[],"supported_features":[]},{"human_readable":"CloudSort","name":"cloudsort","predefined_packages":[],"service_levels":[],"shipment_options":[],"supported_features":[]},{"human_readable":"Courier Express","name":"courierexpress","predefined_packages":[],"service_levels":[{"carrier":"courierexpress","description":null,"dimensions":[],"human_readable":"Basic Parcel","max_weight":null,"name":"BASIC_PARCEL"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Couriers Please","name":"couriersplease","predefined_packages":[],"service_levels":[{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Road Express","max_weight":null,"name":"RoadExpress"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Exp Authority To Leave P10","max_weight":null,"name":"AggExpAtlP10"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Exp Authority To Leave P25","max_weight":null,"name":"AggExpAtlP25"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Exp Authority To Leave Base & Kilo","max_weight":null,"name":"AggExpAtlBaseandKilo"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Exp Authority To Leave 09","max_weight":null,"name":"AggExpAtlP0"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Exp Authority To Leave P1","max_weight":null,"name":"AggExpAtlP1"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Exp Authority To Leave P3","max_weight":null,"name":"AggExpAtlP3"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Exp Authority To Leave P5","max_weight":null,"name":"AggExpAtlP5"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Drop Off Hubbed Based & Kilo","max_weight":null,"name":"AggDropOffHubbedBaseandKilo"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Drop Off Hubbed P0","max_weight":null,"name":"AggDropOffHubbedP0"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Drop Off Hubbed P1","max_weight":null,"name":"AggDropOffHubbedP1"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Drop Off Hubbed P3","max_weight":null,"name":"AggDropOffHubbedP3"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Drop Off Hubbed P5","max_weight":null,"name":"AggDropOffHubbedP5"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg STD Authority To Leave P10","max_weight":null,"name":"AggStdAtlP10"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg STD Authority To Leave Base & Kilo","max_weight":null,"name":"AggStdAtlBaseandKilo"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg STD Authority To Leave P0","max_weight":null,"name":"AggStdAtlP0"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg STD Authority To Leave P1","max_weight":null,"name":"AggStdAtlP1"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg STD Authority To Leave P3","max_weight":null,"name":"AggStdAtlP3"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg STD Authority To Leave P5","max_weight":null,"name":"AggStdAtlP5"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Ecommerce Base & Kilo","max_weight":null,"name":"AggEcomBaseandKilo"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Ecommerce Base & Kilo","max_weight":null,"name":"AggEcomP0"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Ecommerce P1","max_weight":null,"name":"AggEcomP1"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Ecommerce P3","max_weight":null,"name":"AggEcomP3"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Ecommerce P5","max_weight":null,"name":"AggEcomP5"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Drop Off Hubbed P10","max_weight":null,"name":"AggDropOffHubbedP10"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Drop Off Hubbed P25","max_weight":null,"name":"AggDropOffHubbedP25"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg STD Authority To Leave P25","max_weight":null,"name":"AggStdAtlP25"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Ecommerce P10","max_weight":null,"name":"AggEcomP10"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Ecommerce P25","max_weight":null,"name":"AggEcomP25"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Australian City Express","max_weight":null,"name":"AustralianCityExpress"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Drop Ship 500 Gram Parcel","max_weight":null,"name":"DropShip500GramParcel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Drop Ship 1 Kilogram Parcel","max_weight":null,"name":"DropShip1KgParcel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Drop Ship 3Kilogram Parcel","max_weight":null,"name":"DropShip3KgParcel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Drop Ship 5 Kilogram Parcel","max_weight":null,"name":"DropShip5KgParcel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Domestic Priority","max_weight":null,"name":"DomesticPriority"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Drop Ship 10 Kilogram Parcel","max_weight":null,"name":"DropShip10KgParcel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Drop Ship 20 Kilogram Parcel","max_weight":null,"name":"DropShip20KgParcel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Domestic Priority Signature","max_weight":null,"name":"DomesticPrioritySignature"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Gold Domestic","max_weight":null,"name":"GoldDomestic"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Road Express No Delivery","max_weight":null,"name":"RoadExpressNoDelivery"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Road Express No Pick Up","max_weight":null,"name":"RoadExpressNoPickUp"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"500 Gram Parcel","max_weight":null,"name":"500GramParcel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"500 Gram Parcel Authority To Leave","max_weight":null,"name":"500GramParcelATL"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"10 Kilogram Parcel","max_weight":null,"name":"10KgParcel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"10 Kilogram Parcel Authority To Leave","max_weight":null,"name":"10KgParcelATL"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"15 Kilogram Parcel","max_weight":null,"name":"15KgParcel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"15 Kilogram Authority To Leave","max_weight":null,"name":"15KgParcelATL"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"1 Kilogram Parcel Authority To Leave","max_weight":null,"name":"1KgParcelATL"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"2 Kilogram Parcel","max_weight":null,"name":"2KgParcel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"25 Kilogram Parcel","max_weight":null,"name":"25KgParcel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"25 Kilogram Parcel Authority To Leaave","max_weight":null,"name":"25KgParcelATL"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"2 Kilogram Parcel Authority To Leave","max_weight":null,"name":"2KgParcelATL"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"3 Kilogram Parcel Authority To Leave","max_weight":null,"name":"3KgParcelATL"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"5 Kilogram Parcel Authority To Leave","max_weight":null,"name":"5Kg Parcel ATL"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Australian City Express Signature","max_weight":null,"name":"AustralianCityExpressSignature"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Domestic Saver Signature","max_weight":null,"name":"DomesticSaverSignature"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Domestic Off Peak","max_weight":null,"name":"DomesticOffPeak"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Domestic Saver","max_weight":null,"name":"DomesticSaver"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Dometic Off Peak Signature","max_weight":null,"name":"DomesticOffPeakSignature"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Gold Domestic Signature","max_weight":null,"name":"GoldDomesticSignature"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"1 Kilogram Satchel Authority To Leave","max_weight":null,"name":"1KgSatchelATL"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"1 Kilogram Satchel","max_weight":null,"name":"1KgSatchel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"3 Kilogram Satchel","max_weight":null,"name":"3KgSatchel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"5 Kilogram Satchel","max_weight":null,"name":"5KgSatchel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"3 Kilogram Satchel Authority To Leave","max_weight":null,"name":"3KgSatchelATL"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"5 Kilogram Satchel Authority To Leave","max_weight":null,"name":"5KgSatchelATL"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"500 Gram Satchel Authority To Leave","max_weight":null,"name":"500GramSatchelATL"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"500 Gram Satchel","max_weight":null,"name":"500GramSatchel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"5 Kilogram Satchel","max_weight":null,"name":"5KSatchel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Express International Priority","max_weight":null,"name":"ExpressInternationalPriority"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"International Saver","max_weight":null,"name":"InternationalSaver"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"International Express Import","max_weight":null,"name":"InternationalExpressImport"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"International Express","max_weight":null,"name":"InternationalExpress"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"500gm Parcel","max_weight":null,"name":"500gmParcel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"1kg Parcel","max_weight":null,"name":"1KgParcel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"3kg Parcel","max_weight":null,"name":"3KgParcel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"5kg Parcel","max_weight":null,"name":"5KgParcel"}],"shipment_options":[],"supported_features":[]},{"human_readable":"DAI Post","name":"daipost","predefined_packages":[],"service_levels":[{"carrier":"daipost","description":null,"dimensions":[],"human_readable":"Parcel Epacket","max_weight":null,"name":"ParcelMax"},{"carrier":"daipost","description":null,"dimensions":[],"human_readable":"International Economy","max_weight":null,"name":"InternationalEconomy"},{"carrier":"daipost","description":null,"dimensions":[],"human_readable":"International Standard","max_weight":null,"name":"InternationalStandard"},{"carrier":"daipost","description":null,"dimensions":[],"human_readable":"International Express","max_weight":null,"name":"InternationalExpress"},{"carrier":"daipost","description":null,"dimensions":[],"human_readable":"Domestic Tracked","max_weight":null,"name":"DomesticTracked"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Deliver-It","name":"deliverit","predefined_packages":[],"service_levels":[{"carrier":"deliverit","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Saturday"},{"carrier":"deliverit","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Economy"},{"carrier":"deliverit","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Noon-It"},{"carrier":"deliverit","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Early-It"},{"carrier":"deliverit","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Afternoon"}],"shipment_options":[],"supported_features":[{"carrier":"deliverit","description":null,"name":"bill_on_delivery","supported":true},{"carrier":"deliverit","description":null,"name":"bill_on_label_purchase","supported":false},{"carrier":"deliverit","description":null,"name":"bill_on_manifest","supported":false},{"carrier":"deliverit","description":null,"name":"bill_on_scan","supported":false},{"carrier":"deliverit","description":null,"name":"commercial_invoices","supported":false},{"carrier":"deliverit","description":null,"name":"labels","supported":true},{"carrier":"deliverit","description":null,"name":"orders","supported":false},{"carrier":"deliverit","description":null,"name":"pickups","supported":false},{"carrier":"deliverit","description":null,"name":"rating","supported":true},{"carrier":"deliverit","description":null,"name":"refunds","supported":true},{"carrier":"deliverit","description":null,"name":"returns","supported":false},{"carrier":"deliverit","description":null,"name":"scanforms","supported":false},{"carrier":"deliverit","description":null,"name":"sort_codes","supported":false},{"carrier":"deliverit","description":null,"name":"test_environment","supported":false},{"carrier":"deliverit","description":null,"name":"tracking","supported":true}]},{"human_readable":"Deutsche Post","name":"deutschepost","predefined_packages":[],"service_levels":[{"carrier":"deutschepost","description":null,"dimensions":[],"human_readable":"Packet Plus","max_weight":null,"name":"PacketPlus"}],"shipment_options":[{"carrier":"deutschepost","deprecated":false,"description":null,"human_readable":"Additional Handling","name":"additional_handling","type":"boolean"},{"carrier":"deutschepost","deprecated":true,"description":null,"human_readable":"Bill Third Party Account","name":"bill_third_party_account","type":"string"},{"carrier":"deutschepost","deprecated":false,"description":null,"human_readable":"Carrier Insurance Amount","name":"carrier_insurance_amount","type":"float"},{"carrier":"deutschepost","deprecated":false,"description":null,"human_readable":"Cod Amount","name":"cod_amount","type":"string"},{"carrier":"deutschepost","deprecated":false,"description":null,"human_readable":"Cod Method","name":"cod_method","type":"string"},{"carrier":"deutschepost","deprecated":false,"description":null,"human_readable":"Cost Center","name":"cost_center","type":"string"},{"carrier":"deutschepost","deprecated":true,"description":null,"human_readable":"Delivered Duty Paid","name":"delivered_duty_paid","type":"boolean"},{"carrier":"deutschepost","deprecated":false,"description":null,"human_readable":"Delivery Confirmation","name":"delivery_confirmation","type":"string"},{"carrier":"deutschepost","deprecated":false,"description":null,"human_readable":"Handling Instructions","name":"handling_instructions","type":"string"},{"carrier":"deutschepost","deprecated":false,"description":null,"human_readable":"Invoice Number","name":"invoice_number","type":"string"},{"carrier":"deutschepost","deprecated":false,"description":null,"human_readable":"Label Date","name":"label_date","type":"datetime"},{"carrier":"deutschepost","deprecated":false,"description":null,"human_readable":"Label Format","name":"label_format","type":"string"},{"carrier":"deutschepost","deprecated":false,"description":null,"human_readable":"Label Size","name":"label_size","type":"string"},{"carrier":"deutschepost","deprecated":true,"description":null,"human_readable":"Print Custom 1","name":"print_custom_1","type":"string"},{"carrier":"deutschepost","deprecated":true,"description":null,"human_readable":"Print Custom 2","name":"print_custom_2","type":"string"},{"carrier":"deutschepost","deprecated":false,"description":null,"human_readable":"Return Service","name":"return_service","type":"string"}],"supported_features":[{"carrier":"deutschepost","description":null,"name":"bill_on_delivery","supported":null},{"carrier":"deutschepost","description":null,"name":"bill_on_label_purchase","supported":null},{"carrier":"deutschepost","description":null,"name":"bill_on_manifest","supported":null},{"carrier":"deutschepost","description":null,"name":"bill_on_scan","supported":null},{"carrier":"deutschepost","description":null,"name":"commercial_invoices","supported":false},{"carrier":"deutschepost","description":null,"name":"delivers_to_po_box","supported":false},{"carrier":"deutschepost","description":null,"name":"labels","supported":true},{"carrier":"deutschepost","description":null,"name":"orders","supported":false},{"carrier":"deutschepost","description":null,"name":"pickups","supported":false},{"carrier":"deutschepost","description":null,"name":"rating","supported":true},{"carrier":"deutschepost","description":null,"name":"refunds","supported":false},{"carrier":"deutschepost","description":null,"name":"returns","supported":true},{"carrier":"deutschepost","description":null,"name":"scanforms","supported":false},{"carrier":"deutschepost","description":null,"name":"sort_codes","supported":false},{"carrier":"deutschepost","description":null,"name":"test_environment","supported":false},{"carrier":"deutschepost","description":null,"name":"tracking","supported":true}]},{"human_readable":"Deutsche Post UK","name":"deutschepostuk","predefined_packages":[],"service_levels":[{"carrier":"deutschepostuk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PriorityPacketPlus"},{"carrier":"deutschepostuk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PriorityPacket"},{"carrier":"deutschepostuk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PriorityPacketTracked"},{"carrier":"deutschepostuk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"BusinessMailRegistered"},{"carrier":"deutschepostuk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"StandardPacket"},{"carrier":"deutschepostuk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"BusinessMailStandard"}],"shipment_options":[],"supported_features":[]},{"human_readable":"DHL eCommerce Solutions","name":"dhlecommercesolutions","predefined_packages":[],"service_levels":[{"carrier":"dhlecommercesolutions","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DHLParcelExpedited"},{"carrier":"dhlecommercesolutions","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DHLParcelExpeditedMax"},{"carrier":"dhlecommercesolutions","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DHLParcelGround"},{"carrier":"dhlecommercesolutions","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DHLBPMExpedited"},{"carrier":"dhlecommercesolutions","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DHLBPMGround"},{"carrier":"dhlecommercesolutions","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DHLParcelInternationalDirect"},{"carrier":"dhlecommercesolutions","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DHLParcelInternationalStandard"},{"carrier":"dhlecommercesolutions","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DHLPacketInternational"},{"carrier":"dhlecommercesolutions","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DHLParcelInternationalDirectPriority"},{"carrier":"dhlecommercesolutions","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DHLParcelInternationalDirectStandard"}],"shipment_options":[],"supported_features":[]},{"human_readable":"DHL Express","name":"dhlexpress","predefined_packages":[{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"JumboDocument"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"JumboParcel"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Document"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DHLFlyer"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Domestic"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressDocument"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DHLExpressEnvelope"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"JumboBox"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"JumboJuniorDocument"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"JuniorJumboBox"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"JumboJuniorParcel"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"OtherDHLPackaging"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Parcel"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"YourPackaging"}],"service_levels":[{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"BreakBulkEconomy"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"BreakBulkExpress"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DomesticEconomySelect"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DomesticExpress"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DomesticExpress1030"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DomesticExpress1200"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EconomySelect"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EconomySelectNonDoc"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EuroPack"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EuropackNonDoc"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express1030"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express1030NonDoc"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express1200NonDoc"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express1200"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express900"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express900NonDoc"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressEasy"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressEasyNonDoc"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressEnvelope"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressWorldwide"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressWorldwideB2C"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressWorldwideB2CNonDoc"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressWorldwideECX"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressWorldwideNonDoc"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FreightWorldwide"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"GlobalmailBusiness"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"JetLine"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"JumboBox"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"LogisticsServices"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SameDay"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SecureLine"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SprintLine"}],"shipment_options":[],"supported_features":[]},{"human_readable":"DHL Paket","name":"dhlpaket","predefined_packages":[],"service_levels":[{"carrier":"dhlpaket","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EuroPaket"},{"carrier":"dhlpaket","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Paket"},{"carrier":"dhlpaket","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PaketConnect"},{"carrier":"dhlpaket","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PaketInternational"},{"carrier":"dhlpaket","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Retoure"}],"shipment_options":[],"supported_features":[]},{"human_readable":"DHL SmartMail","name":"dhlsmartmail","predefined_packages":[],"service_levels":[],"shipment_options":[],"supported_features":[]},{"human_readable":"DPD","name":"dpd","predefined_packages":[],"service_levels":[{"carrier":"dpd","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DPDCLASSIC"},{"carrier":"dpd","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DPD8:30"},{"carrier":"dpd","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DPD10:00"},{"carrier":"dpd","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DPD12:00"},{"carrier":"dpd","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DPD18:00"},{"carrier":"dpd","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DPDEXPRESS"},{"carrier":"dpd","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DPDPARCELLETTER"},{"carrier":"dpd","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DPDPARCELLETTERPLUS"},{"carrier":"dpd","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DPDINTERNATIONALMAIL"}],"shipment_options":[],"supported_features":[]},{"human_readable":"DPD NL","name":"dpdnl","predefined_packages":[],"service_levels":[{"carrier":"dpdnl","description":null,"dimensions":[],"human_readable":"DPDNL Classic","max_weight":null,"name":"DPDNL_CLASSIC"},{"carrier":"dpdnl","description":null,"dimensions":[],"human_readable":"Express 10","max_weight":null,"name":"EXPRESS_10"},{"carrier":"dpdnl","description":null,"dimensions":[],"human_readable":"Express 12","max_weight":null,"name":"EXPRESS_12"},{"carrier":"dpdnl","description":null,"dimensions":[],"human_readable":"Express 18","max_weight":null,"name":"EXPRESS_18"},{"carrier":"dpdnl","description":null,"dimensions":[],"human_readable":"International Express","max_weight":null,"name":"INTERNATIONAL_EXPRESS"},{"carrier":"dpdnl","description":null,"dimensions":[],"human_readable":"DPDNL B2C Home","max_weight":null,"name":"DPDNL_HOME"},{"carrier":"dpdnl","description":null,"dimensions":[],"human_readable":"DPDNL B2C Shop","max_weight":null,"name":"DPDNL_TO_SHOP"}],"shipment_options":[],"supported_features":[{"carrier":"dpdnl","description":null,"name":"commercial_invoices","supported":false},{"carrier":"dpdnl","description":null,"name":"labels","supported":true},{"carrier":"dpdnl","description":null,"name":"orders","supported":false},{"carrier":"dpdnl","description":null,"name":"pickups","supported":false},{"carrier":"dpdnl","description":null,"name":"rating","supported":true},{"carrier":"dpdnl","description":null,"name":"refunds","supported":true},{"carrier":"dpdnl","description":null,"name":"returns","supported":false},{"carrier":"dpdnl","description":null,"name":"scanforms","supported":false},{"carrier":"dpdnl","description":null,"name":"sort_codes","supported":false},{"carrier":"dpdnl","description":null,"name":"test_environment","supported":true},{"carrier":"dpdnl","description":null,"name":"tracking","supported":true}]},{"human_readable":"DPD UK","name":"dpduk","predefined_packages":[{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Parcel"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Pallet"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressPak"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FreightParcel"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Freight"}],"service_levels":[{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"AirClassicInternationalAir"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"AirExpressInternationalAir"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpresspakDpd10:30"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpresspakDpd12:00"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpresspakDpdClassic"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpresspakDpdNextDay"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpresspakSaturday"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpresspakSaturday10:30"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpresspakSaturday12:00"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpresspakSunday"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpresspakSunday12:00"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FreightParcelDpd10:30"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FreightParcelDpd12:00"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FreightParcelDpdClassic"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FreightParcelDpdNextDay"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FreightParcelDpdTwoDay"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FreightParcelSaturday"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FreightParcelSaturday10:30"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FreightParcelSaturday12:00"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FreightParcelSunday"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FreightParcelSunday12:00"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PalletDpd10:30"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PalletDpd12:00"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PalletDpdClassic"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PalletDpdNextDay"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PalletDpdTwoDay"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PalletSaturday"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PalletSaturday10:30"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PalletSaturday12:00"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PalletSunday"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PalletSunday12:00"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelDpd10:30"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelDpd12:00"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelDpdClassic"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelDpdNextDay"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelDpdTwoDay"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelReturnToShop"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelSaturday"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelSaturday10:30"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelSaturday12:00"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelSunday"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelSunday12:00"}],"shipment_options":[],"supported_features":[]},{"human_readable":"ePostGlobal","name":"epostglobal","predefined_packages":[],"service_levels":[{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CourierServiceDDP"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CourierServiceDDU"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DomesticEconomyParcel"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DomesticParcelBPM"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DomesticPriorityParcel"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DomesticPriorityParcelBPM"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EMIService"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EconomyParcelService"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"IPAService"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ISALService"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PMIService"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PriorityParcelDDP"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PriorityParcelDDU"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PriorityParcelDeliveryConfirmationDDP"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PriorityParcelDeliveryConfirmationDDU"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ePacketService"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Estafeta","name":"estafeta","predefined_packages":[{"carrier":"estafeta","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ENVELOPE"},{"carrier":"estafeta","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PARCEL"}],"service_levels":[{"carrier":"estafeta","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"NextDayBy930"},{"carrier":"estafeta","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"NextDayBy1130"},{"carrier":"estafeta","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"NextDay"},{"carrier":"estafeta","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Ground"},{"carrier":"estafeta","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"TwoDay"},{"carrier":"estafeta","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"LTL"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Evri","name":"evri","predefined_packages":[],"service_levels":[{"carrier":"evri","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Courier2Home"},{"carrier":"evri","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Courier2HomeNextDay"},{"carrier":"evri","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Shop2Home"},{"carrier":"evri","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Shop2HomeNextDay"},{"carrier":"evri","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Shop2Shop"},{"carrier":"evri","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Shop2ShopNextDay"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Fastway","name":"fastway","predefined_packages":[{"carrier":"fastway","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Parcel"},{"carrier":"fastway","description":"(Satchel)","dimensions":[],"human_readable":null,"max_weight":null,"name":"A2"},{"carrier":"fastway","description":"(Satchel)","dimensions":[],"human_readable":null,"max_weight":null,"name":"A3"},{"carrier":"fastway","description":"(Satchel, not available in Australia)","dimensions":[],"human_readable":null,"max_weight":null,"name":"A4"},{"carrier":"fastway","description":"(Satchel, not available in South Africa)","dimensions":[],"human_readable":null,"max_weight":null,"name":"A5"},{"carrier":"fastway","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"BOXSML"},{"carrier":"fastway","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"BOXMED"},{"carrier":"fastway","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"BOXLRG"}],"service_levels":[{"carrier":"fastway","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Parcel"},{"carrier":"fastway","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Satchel"}],"shipment_options":[],"supported_features":[]},{"human_readable":"FedEx","name":"fedex","predefined_packages":[{"carrier":"fedex","description":"Up to approximately 60 pages","dimensions":["9.5in x 12.5in"],"human_readable":null,"max_weight":8,"name":"FedExEnvelope"},{"carrier":"fedex","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FedExBox"},{"carrier":"fedex","description":null,"dimensions":["12in x 15.5in"],"human_readable":null,"max_weight":88,"name":"FedExPak"},{"carrier":"fedex","description":"Triangular box for plans, posters, fabric rolls, charts and blueprints","dimensions":["38in x 6in x 6in x 6in"],"human_readable":null,"max_weight":320,"name":"FedExTube"},{"carrier":"fedex","description":"To qualify for the flat rate, weight cannot exceed 10 kg","dimensions":["15.81in x 12.94in x 10.19in"],"human_readable":null,"max_weight":352,"name":"FedEx10kgBox"},{"carrier":"fedex","description":"To qualify for the flat rate, weight cannot exceed 25 kg.","dimensions":["21.56in x 16.56in x 13.19in"],"human_readable":null,"max_weight":880,"name":"FedEx25kgBox"},{"carrier":"fedex","description":null,"dimensions":["12.25in x 10.9in x 1.5in","8.75in x 2.63in x 11.25in"],"human_readable":null,"max_weight":320,"name":"FedExSmallBox"},{"carrier":"fedex","description":null,"dimensions":["13.25in x 11.5in x 2.38in","8.75in x 4.38in x 11.25in"],"human_readable":null,"max_weight":320,"name":"FedExMediumBox"},{"carrier":"fedex","description":null,"dimensions":["17.88in x 12.38in x 3in","8.75in x 7.75in x 11.25in"],"human_readable":null,"max_weight":320,"name":"FedExLargeBox"},{"carrier":"fedex","description":null,"dimensions":["11.88in x 10.75in x 11in","15.25in x 14.13in x 6in"],"human_readable":null,"max_weight":320,"name":"FedExExtraLargeBox"}],"service_levels":[{"carrier":"fedex","description":"2 business days by 4:30pm, Saturday delivery","dimensions":null,"human_readable":"FedEx 2 Day","max_weight":null,"name":"FEDEX_2_DAY"},{"carrier":"fedex","description":"2 business days by 10:30am","dimensions":null,"human_readable":"FedEx 2 Day (AM)","max_weight":null,"name":"FEDEX_2_DAY_AM"},{"carrier":"fedex","description":"3 business days by 4:30pm","dimensions":null,"human_readable":"FedEx Express Saver","max_weight":null,"name":"FEDEX_EXPRESS_SAVER"},{"carrier":"fedex","description":"1-6 days","dimensions":null,"human_readable":"FedEx Ground","max_weight":null,"name":"FEDEX_GROUND"},{"carrier":"fedex","description":"2-5 business days","dimensions":null,"human_readable":"FedEx International (Connect Plus)","max_weight":null,"name":"FEDEX_INTERNATIONAL_CONNECT_PLUS"},{"carrier":"fedex","description":"By 8am the next business day, Saturday delivery","dimensions":null,"human_readable":"FedEx First (Overnight)","max_weight":null,"name":"FIRST_OVERNIGHT"},{"carrier":"fedex","description":"1-5 days","dimensions":null,"human_readable":"FedEx Ground (Home Delivery)","max_weight":null,"name":"GROUND_HOME_DELIVERY"},{"carrier":"fedex","description":"4-5 business days","dimensions":null,"human_readable":"FedEx International (Economy)","max_weight":null,"name":"INTERNATIONAL_ECONOMY"},{"carrier":"fedex","description":"1-3 business days, time definite to select markets","dimensions":null,"human_readable":"FedEx International First","max_weight":null,"name":"INTERNATIONAL_FIRST"},{"carrier":"fedex","description":"1-3 business days, time definite to select markets","dimensions":null,"human_readable":"FedEx International (First)","max_weight":null,"name":"INTERNATIONAL_PRIORITY"},{"carrier":"fedex","description":"By 10:30am the next business day, Saturday delivery","dimensions":null,"human_readable":"FedEx Priority Overnight","max_weight":null,"name":"PRIORITY_OVERNIGHT"},{"carrier":"fedex","description":"2-7 business days; Sunday Delivery to select markets","dimensions":null,"human_readable":"FedEx Ground Economy (formerly FedEx SmartPost)","max_weight":null,"name":"SMART_POST"},{"carrier":"fedex","description":"By 4:30pm the next business day","dimensions":null,"human_readable":"FedEx Standard Overnight","max_weight":null,"name":"STANDARD_OVERNIGHT"}],"shipment_options":[],"supported_features":[]},{"human_readable":"FedEx Cross Border","name":"fedexcrossborder","predefined_packages":[],"service_levels":[{"carrier":"fedexcrossborder","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CBEC"},{"carrier":"fedexcrossborder","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CBECL"},{"carrier":"fedexcrossborder","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CBECP"}],"shipment_options":[],"supported_features":[]},{"human_readable":"FedEx Ground Economy","name":"fedexgroundeconomy","predefined_packages":[],"service_levels":[{"carrier":"fedexgroundeconomy","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SMART_POST"}],"shipment_options":[],"supported_features":[]},{"human_readable":"FedEx Mailview","name":"fedexmailview","predefined_packages":[],"service_levels":[],"shipment_options":[],"supported_features":[]},{"human_readable":"FedEx SmartPost","name":"fedexsmartpost","predefined_packages":[],"service_levels":[{"carrier":"fedexsmartpost","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SMART_POST"}],"shipment_options":[],"supported_features":[]},{"human_readable":"First Mile","name":"firstmile","predefined_packages":[],"service_levels":[{"carrier":"firstmile","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"XParcelPriority"},{"carrier":"firstmile","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"XParcelExpedited"},{"carrier":"firstmile","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"XParcelReturns"},{"carrier":"firstmile","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"XParcelGround"},{"carrier":"firstmile","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"XParcelExpeditedPlus"}],"shipment_options":[],"supported_features":[{"carrier":"firstmile","description":null,"name":"labels","supported":true},{"carrier":"firstmile","description":null,"name":"orders","supported":false},{"carrier":"firstmile","description":null,"name":"pickups","supported":false},{"carrier":"firstmile","description":null,"name":"rating","supported":true},{"carrier":"firstmile","description":null,"name":"refunds","supported":true},{"carrier":"firstmile","description":null,"name":"returns","supported":true},{"carrier":"firstmile","description":null,"name":"scanforms","supported":false},{"carrier":"firstmile","description":null,"name":"test_environment","supported":true},{"carrier":"firstmile","description":null,"name":"tracking","supported":true}]},{"human_readable":"Flexport","name":"flexport","predefined_packages":[],"service_levels":[{"carrier":"flexport","description":null,"dimensions":[],"human_readable":"Standard","max_weight":null,"name":"Standard"},{"carrier":"flexport","description":null,"dimensions":[],"human_readable":"Expedited","max_weight":null,"name":"Expedited"}],"shipment_options":[],"supported_features":[{"carrier":"flexport","description":null,"name":"bill_on_delivery","supported":false},{"carrier":"flexport","description":null,"name":"bill_on_label_purchase","supported":false},{"carrier":"flexport","description":null,"name":"bill_on_manifest","supported":false},{"carrier":"flexport","description":null,"name":"bill_on_scan","supported":true},{"carrier":"flexport","description":null,"name":"commercial_invoices","supported":false},{"carrier":"flexport","description":null,"name":"delivers_to_po_box","supported":false},{"carrier":"flexport","description":null,"name":"labels","supported":true},{"carrier":"flexport","description":null,"name":"orders","supported":false},{"carrier":"flexport","description":null,"name":"pickups","supported":false},{"carrier":"flexport","description":null,"name":"rating","supported":true},{"carrier":"flexport","description":null,"name":"refunds","supported":false},{"carrier":"flexport","description":null,"name":"returns","supported":false},{"carrier":"flexport","description":null,"name":"scanforms","supported":false},{"carrier":"flexport","description":null,"name":"sort_codes","supported":false},{"carrier":"flexport","description":null,"name":"test_environment","supported":false},{"carrier":"flexport","description":null,"name":"tracking","supported":true}]},{"human_readable":"GLS","name":"gls","predefined_packages":[],"service_levels":[{"carrier":"gls","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CaliforniaParcelService"},{"carrier":"gls","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EarlyPriorityOvernight"},{"carrier":"gls","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EarlySaturdayService"},{"carrier":"gls","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Ground"},{"carrier":"gls","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Overnight"},{"carrier":"gls","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PriorityOvernight"},{"carrier":"gls","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SaturdayDeliveryService"}],"shipment_options":[],"supported_features":[]},{"human_readable":"GSO","name":"gso","predefined_packages":[],"service_levels":[{"carrier":"gso","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CaliforniaParcelService"},{"carrier":"gso","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EarlyPriorityOvernight"},{"carrier":"gso","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EarlySaturdayService"},{"carrier":"gso","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Ground"},{"carrier":"gso","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Overnight"},{"carrier":"gso","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PriorityOvernight"},{"carrier":"gso","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SaturdayDeliveryService"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Hailify","name":"hailify","predefined_packages":[],"service_levels":[{"carrier":"hailify","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Xpress"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Interlink Express","name":"interlinkexpress","predefined_packages":[{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Parcel"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Pallet"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressPak"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FreightParcel"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Freight"}],"service_levels":[{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkAirClassicInternationalAir"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkAirExpressInternationalAir"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak1By10:30"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak1By12"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak1NextDay"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak1Saturday"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak1SaturdayBy10:30"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak1SaturdayBy12"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak1Sunday"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak1SundayBy12"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak5By10"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak5By10:30"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak5By12"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak5NextDay"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak5Saturday"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak5SaturdayBy10"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak5SaturdayBy10:30"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak5SaturdayBy12"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak5Sunday"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak5SundayBy12"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkFreightBy10"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkFreightBy12"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkFreightNextDay"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkFreightSaturday"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkFreightSaturdayBy10"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkFreightSaturdayBy12"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkFreightSunday"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkFreightSundayBy12"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelBy10"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelBy10:30"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelBy12"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelDpdEuropeByRoad"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelNextDay"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelReturn"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelReturnToShop"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelSaturday"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelSaturdayBy10"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelSaturdayBy10:30"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelSaturdayBy12"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelShipToShop"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelSunday"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelSundayBy12"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelTwoDay"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkPickupParcelDpdEuropeByRoad"}],"shipment_options":[],"supported_features":[]},{"human_readable":"JP Post","name":"jppost","predefined_packages":[],"service_levels":[],"shipment_options":[],"supported_features":[]},{"human_readable":"Kuroneko Yamato","name":"kuronekoyamato","predefined_packages":[],"service_levels":[],"shipment_options":[],"supported_features":[]},{"human_readable":"La Poste","name":"laposte","predefined_packages":[],"service_levels":[],"shipment_options":[],"supported_features":[]},{"human_readable":"LaserShip","name":"lasershipv2","predefined_packages":[{"carrier":"lasershipv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Envelope"},{"carrier":"lasershipv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Custom"}],"service_levels":[{"carrier":"lasershipv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SameDay"},{"carrier":"lasershipv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"NextDay"},{"carrier":"lasershipv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Weekend"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Loomis Express","name":"loomisexpress","predefined_packages":[],"service_levels":[{"carrier":"loomisexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"LoomisGround"},{"carrier":"loomisexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"LoomisExpress1800"},{"carrier":"loomisexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"LoomisExpress1200"},{"carrier":"loomisexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"LoomisExpress900"}],"shipment_options":[],"supported_features":[]},{"human_readable":"LSO","name":"lso","predefined_packages":[],"service_levels":[],"shipment_options":[{"carrier":"lso","deprecated":false,"description":null,"human_readable":"Delivery Confirmation","name":"delivery_confirmation","type":"string"},{"carrier":"lso","deprecated":false,"description":null,"human_readable":"Saturday Delivery","name":"saturday_delivery","type":"boolean"},{"carrier":"lso","deprecated":true,"description":null,"human_readable":"Date Advance","name":"date_advance","type":"integer"},{"carrier":"lso","deprecated":true,"description":null,"human_readable":"Declared Value","name":"declared_value","type":"float"},{"carrier":"lso","deprecated":false,"description":null,"human_readable":"Label Format","name":"label_format","type":"string"},{"carrier":"lso","deprecated":false,"description":null,"human_readable":"Label Size","name":"label_size","type":"string"},{"carrier":"lso","deprecated":true,"description":null,"human_readable":"Print Custom 1","name":"print_custom_1","type":"string"},{"carrier":"lso","deprecated":true,"description":null,"human_readable":"Print Custom 2","name":"print_custom_2","type":"string"},{"carrier":"lso","deprecated":true,"description":null,"human_readable":"Print Custom 3","name":"print_custom_3","type":"string"}],"supported_features":[{"carrier":"lso","description":null,"name":"bill_on_delivery","supported":false},{"carrier":"lso","description":null,"name":"bill_on_label_purchase","supported":false},{"carrier":"lso","description":null,"name":"bill_on_manifest","supported":false},{"carrier":"lso","description":null,"name":"bill_on_scan","supported":true},{"carrier":"lso","description":null,"name":"commercial_invoices","supported":false},{"carrier":"lso","description":null,"name":"delivers_to_po_box","supported":false},{"carrier":"lso","description":null,"name":"labels","supported":true},{"carrier":"lso","description":null,"name":"orders","supported":false},{"carrier":"lso","description":null,"name":"pickups","supported":true},{"carrier":"lso","description":null,"name":"rating","supported":true},{"carrier":"lso","description":null,"name":"refunds","supported":false},{"carrier":"lso","description":null,"name":"returns","supported":false},{"carrier":"lso","description":null,"name":"scanforms","supported":false},{"carrier":"lso","description":null,"name":"sort_codes","supported":false},{"carrier":"lso","description":null,"name":"test_environment","supported":true},{"carrier":"lso","description":null,"name":"tracking","supported":true}]},{"human_readable":"Maergo","name":"maergo","predefined_packages":[],"service_levels":[{"carrier":"maergo","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Standard"}],"shipment_options":[],"supported_features":[{"carrier":"maergo","description":null,"name":"bill_on_delivery","supported":true},{"carrier":"maergo","description":null,"name":"bill_on_label_purchase","supported":false},{"carrier":"maergo","description":null,"name":"bill_on_manifest","supported":false},{"carrier":"maergo","description":null,"name":"bill_on_scan","supported":false},{"carrier":"maergo","description":null,"name":"commercial_invoices","supported":false},{"carrier":"maergo","description":null,"name":"labels","supported":false},{"carrier":"maergo","description":null,"name":"orders","supported":false},{"carrier":"maergo","description":null,"name":"pickups","supported":false},{"carrier":"maergo","description":null,"name":"rating","supported":true},{"carrier":"maergo","description":null,"name":"refunds","supported":true},{"carrier":"maergo","description":null,"name":"returns","supported":false},{"carrier":"maergo","description":null,"name":"scanforms","supported":false},{"carrier":"maergo","description":null,"name":"sort_codes","supported":false},{"carrier":"maergo","description":null,"name":"test_environment","supported":false},{"carrier":"maergo","description":null,"name":"tracking","supported":true}]},{"human_readable":"Newgistics","name":"newgistics","predefined_packages":[],"service_levels":[{"carrier":"newgistics","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelSelect"},{"carrier":"newgistics","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelSelectLightweight"},{"carrier":"newgistics","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Ground"},{"carrier":"newgistics","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express"},{"carrier":"newgistics","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FirstClassMail"},{"carrier":"newgistics","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PriorityMail"},{"carrier":"newgistics","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"BoundPrintedMatter"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Ontrac","name":"ontrac","predefined_packages":[{"carrier":"ontrac","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Letter"}],"service_levels":[{"carrier":"ontrac","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Sunrise"},{"carrier":"ontrac","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Gold"},{"carrier":"ontrac","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"OnTracGround"},{"carrier":"ontrac","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SameDay"},{"carrier":"ontrac","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PalletizedFreight"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Optima","name":"optima","predefined_packages":[],"service_levels":[{"carrier":"optima","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"NxtDay"}],"shipment_options":[],"supported_features":[]},{"human_readable":"OSM Worldwide","name":"osmworldwide","predefined_packages":[{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"parcel"},{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"irregularparcel"},{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"softpack"}],"service_levels":[{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":"Parcel Select Lightweight","max_weight":null,"name":"ParcelSelectLightweight"},{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":"Priority","max_weight":null,"name":"Priority"},{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":"BPM","max_weight":null,"name":"BPM"},{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":"Parcel Select","max_weight":null,"name":"ParcelSelect"},{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":"Media Mail","max_weight":null,"name":"MediaMail"},{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":"Marketing Parcel","max_weight":null,"name":"MarketingParcel"},{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":"Marketing Parcel Tracked","max_weight":null,"name":"MarketingParcelTracked"},{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":"Parcel Select Lightweight Hazardous Material","max_weight":null,"name":"ParcelSelectLightweightHazardousMaterial"},{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":"Parcel Select Hazardous Material","max_weight":null,"name":"ParcelSelectHazardousMaterial"},{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":"USPS Ground Advantage","max_weight":null,"name":"USPSGroundAdvantage"},{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":"USPS Ground Advantage Lightweight","max_weight":null,"name":"USPSGroundAdvantageLightweight"}],"shipment_options":[],"supported_features":[{"carrier":"osmworldwide","description":null,"name":"labels","supported":true},{"carrier":"osmworldwide","description":null,"name":"orders","supported":false},{"carrier":"osmworldwide","description":null,"name":"pickups","supported":false},{"carrier":"osmworldwide","description":null,"name":"rating","supported":true},{"carrier":"osmworldwide","description":null,"name":"refunds","supported":false},{"carrier":"osmworldwide","description":null,"name":"returns","supported":false},{"carrier":"osmworldwide","description":"Manifesting","name":"scanforms","supported":true},{"carrier":"osmworldwide","description":null,"name":"sort_codes","supported":true},{"carrier":"osmworldwide","description":null,"name":"tracking","supported":true}]},{"human_readable":"Pandion","name":"pandion","predefined_packages":[],"service_levels":[{"carrier":"pandion","description":null,"dimensions":[],"human_readable":"Pandion Express","max_weight":null,"name":"Pandion Express"}],"shipment_options":[],"supported_features":[{"carrier":"pandion","description":null,"name":"bill_on_delivery","supported":false},{"carrier":"pandion","description":null,"name":"bill_on_label_purchase","supported":false},{"carrier":"pandion","description":null,"name":"bill_on_manifest","supported":true},{"carrier":"pandion","description":null,"name":"bill_on_scan","supported":true},{"carrier":"pandion","description":null,"name":"commercial_invoices","supported":false},{"carrier":"pandion","description":null,"name":"delivers_to_po_box","supported":false},{"carrier":"pandion","description":null,"name":"labels","supported":true},{"carrier":"pandion","description":null,"name":"orders","supported":false},{"carrier":"pandion","description":null,"name":"pickups","supported":false},{"carrier":"pandion","description":null,"name":"rating","supported":true},{"carrier":"pandion","description":null,"name":"refunds","supported":false},{"carrier":"pandion","description":null,"name":"returns","supported":true},{"carrier":"pandion","description":null,"name":"scanforms","supported":true},{"carrier":"pandion","description":null,"name":"sort_codes","supported":false},{"carrier":"pandion","description":null,"name":"test_environment","supported":true},{"carrier":"pandion","description":null,"name":"tracking","supported":true}]},{"human_readable":"Parcelforce","name":"parcelforce","predefined_packages":[],"service_levels":[{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express9"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express9Secure"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express9CourierPack"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express10"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express10Secure"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express10Exchange"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express10SecureExchange"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express10CourierPack"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressAM"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressAMSecure"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressAMExchange"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressAMSecureExchange"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressAMCourierPack"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressPM"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressPMSecure"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express24"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express24Large"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express24Secure"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express24Exchange"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express24SecureExchange"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express24CourierPack"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express48"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express48Large"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelRiderPlus"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"GlobalBulkDirect"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"GlobalExpress"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"GlobalExpressEnvelopeDelivery"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"GlobalExpressPackDelivery"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"GlobalValue"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"GlobalPriority"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"GlobalPriorityReturns"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EuroPriorityHome"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EuroPriorityBusiness"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"IrelandExpress"}],"shipment_options":[],"supported_features":[]},{"human_readable":"PARCLL","name":"parcll","predefined_packages":[],"service_levels":[{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CAECOCE (US to CA Economy)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CAECONE (US to CA Economy)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CAECOWE (US to CA Economy)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ECOCE (Economy Central)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ECOEA (Economy East)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ECONE (Economy Northeast)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ECOSO (Economy South)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ECOWE (Economy West)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EUECOWE (US to Europe Economy)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EXPBNE (Expedited Northeast)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EXPWE (Expedited West)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"REGCE (Regional Central)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"REGEA (Regional East)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"REGNE (Regional Northeast)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"REGSO (Regional South)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"REGWE (Regional West)"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Passport","name":"passportglobal","predefined_packages":[],"service_levels":[],"shipment_options":[],"supported_features":[]},{"human_readable":"PostNL","name":"postnl","predefined_packages":[],"service_levels":[],"shipment_options":[],"supported_features":[]},{"human_readable":"Purolator","name":"purolator","predefined_packages":[{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"CustomerPackaging","max_weight":null,"name":"CUSTOMERPACKAGING"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"ExpressPack","max_weight":null,"name":"EXPRESSPACK"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"ExpressBox","max_weight":null,"name":"EXPRESSBOX"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"ExpressEnvelope","max_weight":null,"name":"EXPRESSENVELOPE"}],"service_levels":[{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express","max_weight":null,"name":"PurolatorExpress"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express 12PM","max_weight":null,"name":"PurolatorExpress12PM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Pack 12PM","max_weight":null,"name":"PurolatorExpressPack12PM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Box 12PM","max_weight":null,"name":"PurolatorExpressBox12PM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Envelope 12PM","max_weight":null,"name":"PurolatorExpressEnvelope12PM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express 10:30AM","max_weight":null,"name":"PurolatorExpress1030AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express 9AM","max_weight":null,"name":"PurolatorExpress9AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Box","max_weight":null,"name":"PurolatorExpressBox"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Box 10:30AM","max_weight":null,"name":"PurolatorExpressBox1030AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Box 9AM","max_weight":null,"name":"PurolatorExpressBox9AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Box Evening","max_weight":null,"name":"PurolatorExpressBoxEvening"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Box International","max_weight":null,"name":"PurolatorExpressBoxInternational"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Box US","max_weight":null,"name":"PurolatorExpressBoxUS"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Envelope","max_weight":null,"name":"PurolatorExpressEnvelope"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Envelope 10:30AM","max_weight":null,"name":"PurolatorExpressEnvelope1030AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Envelope 9AM","max_weight":null,"name":"PurolatorExpressEnvelope9AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Envelope Evening","max_weight":null,"name":"PurolatorExpressEnvelopeEvening"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Envelope International","max_weight":null,"name":"PurolatorExpressEnvelopeInternational"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Envelope US","max_weight":null,"name":"PurolatorExpressEnvelopeUS"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Evening","max_weight":null,"name":"PurolatorExpressEvening"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express International","max_weight":null,"name":"PurolatorExpressInternational"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express International 10:30AM","max_weight":null,"name":"PurolatorExpressInternational1030AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express International 12:00","max_weight":null,"name":"PurolatorExpressInternational1200"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express International 9AM","max_weight":null,"name":"PurolatorExpressInternational9AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Box International 10:30AM","max_weight":null,"name":"PurolatorExpressBoxInternational1030AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Box International 12:00","max_weight":null,"name":"PurolatorExpressBoxInternational1200"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Box International 9AM","max_weight":null,"name":"PurolatorExpressBoxInternational9AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Envelope International 10:30AM","max_weight":null,"name":"PurolatorExpressEnvelopeInternational1030AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Envelope International 12:00","max_weight":null,"name":"PurolatorExpressEnvelopeInternational1200"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Envelope International 9AM","max_weight":null,"name":"PurolatorExpressEnvelopeInternational9AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Pack International 10:30AM","max_weight":null,"name":"PurolatorExpressPackInternational1030AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Pack International 12:00","max_weight":null,"name":"PurolatorExpressPackInternational1200"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Pack International 9AM","max_weight":null,"name":"PurolatorExpressPackInternational9AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Pack","max_weight":null,"name":"PurolatorExpressPack"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Pack 10:30AM","max_weight":null,"name":"PurolatorExpressPack1030AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Pack 9AM","max_weight":null,"name":"PurolatorExpressPack9AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Pack Evening","max_weight":null,"name":"PurolatorExpressPackEvening"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Pack International","max_weight":null,"name":"PurolatorExpressPackInternational"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Pack US","max_weight":null,"name":"PurolatorExpressPackUS"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express US","max_weight":null,"name":"PurolatorExpressUS"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express US 10:30AM","max_weight":null,"name":"PurolatorExpressUS1030AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express US 12:00","max_weight":null,"name":"PurolatorExpressUS1200"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express US 9AM","max_weight":null,"name":"PurolatorExpressUS9AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Box US 10:30AM","max_weight":null,"name":"PurolatorExpressBoxUS1030AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Box US 12:00","max_weight":null,"name":"PurolatorExpressBoxUS1200"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Box US 9AM","max_weight":null,"name":"PurolatorExpressBoxUS9AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Envelope US 10:30AM","max_weight":null,"name":"PurolatorExpressEnvelopeUS1030AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Envelope US 12:00","max_weight":null,"name":"PurolatorExpressEnvelopeUS1200"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Envelope US 9AM","max_weight":null,"name":"PurolatorExpressEnvelopeUS9AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Pack US 10:30AM","max_weight":null,"name":"PurolatorExpressPackUS1030AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Pack US 12:00","max_weight":null,"name":"PurolatorExpressPackUS1200"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Pack US 9AM","max_weight":null,"name":"PurolatorExpressPackUS9AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Ground","max_weight":null,"name":"PurolatorGround"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Ground 10:30AM","max_weight":null,"name":"PurolatorGround1030AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Ground 9AM","max_weight":null,"name":"PurolatorGround9AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Ground 12PM","max_weight":null,"name":"PurolatorGround12PM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Ground Distribution","max_weight":null,"name":"PurolatorGroundDistribution"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Ground Evening","max_weight":null,"name":"PurolatorGroundEvening"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Ground US","max_weight":null,"name":"PurolatorGroundUS"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Quick Ship","max_weight":null,"name":"PurolatorQuickShip"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Quick Ship Envelope","max_weight":null,"name":"PurolatorQuickShipEnvelope"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Quick Ship Pack","max_weight":null,"name":"PurolatorQuickShipPack"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Quick Ship Box","max_weight":null,"name":"PurolatorQuickShipBox"}],"shipment_options":[],"supported_features":[{"carrier":"purolator","description":null,"name":"bill_on_delivery","supported":true},{"carrier":"purolator","description":null,"name":"commercial_invoices","supported":true},{"carrier":"purolator","description":null,"name":"labels","supported":true},{"carrier":"purolator","description":null,"name":"orders","supported":true},{"carrier":"purolator","description":null,"name":"pickups","supported":true},{"carrier":"purolator","description":null,"name":"rating","supported":true},{"carrier":"purolator","description":"Purolator bills at the end of the day for all labels created that day. You cannot refund a label after the end of the day it was created.","name":"refunds","supported":true},{"carrier":"purolator","description":null,"name":"returns","supported":true},{"carrier":"purolator","description":null,"name":"scanforms","supported":true},{"carrier":"purolator","description":null,"name":"sort_codes","supported":false},{"carrier":"purolator","description":null,"name":"test_environment","supported":true},{"carrier":"purolator","description":null,"name":"tracking","supported":true}]},{"human_readable":"Royal Mail","name":"royalmail","predefined_packages":[{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"LARGELETTER"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SMALLPARCEL"},{"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","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InternationalPriority"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InternationalEconomy"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InternationalStandard"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InternationalTrackedAndSigned"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InternationalTracked"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InternationalSigned"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"AccountMail"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"RoyalMailUnsigned"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"RoyalMail"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SpecialDeliveryGuaranteed"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SpecialDeliveryGuaranteed1pm"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SpecialDeliveryGuaranteed9am"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"StandardLetter"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Tracked24"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Tracked24HighVolume"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Tracked24HighVolumeSignature"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Tracked24LBT"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Tracked24SignatureLBT"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Tracked48LBT"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Tracked48SignatureLBT"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Tracked24Signature"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Tracked48"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Tracked48HighVolume"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Tracked48HighVolumeSignature"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Tracked48Signature"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"TrackedReturns24"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"TrackedReturns48"},{"carrier":"royalmail","description":null,"dimensions":[],"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":"bill_on_delivery","supported":false},{"carrier":"royalmail","description":null,"name":"bill_on_label_purchase","supported":false},{"carrier":"royalmail","description":null,"name":"bill_on_manifest","supported":true},{"carrier":"royalmail","description":null,"name":"bill_on_scan","supported":false},{"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":"labels","supported":true},{"carrier":"royalmail","description":null,"name":"orders","supported":false},{"carrier":"royalmail","description":null,"name":"pickups","supported":false},{"carrier":"royalmail","description":null,"name":"rating","supported":true},{"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":"sort_codes","supported":true},{"carrier":"royalmail","description":null,"name":"test_environment","supported":true},{"carrier":"royalmail","description":null,"name":"tracking","supported":true}]},{"human_readable":"SEKO OmniParcel","name":"sekoomniparcel","predefined_packages":[{"carrier":"sekoomniparcel","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Bag"},{"carrier":"sekoomniparcel","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Box"},{"carrier":"sekoomniparcel","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Carton"},{"carrier":"sekoomniparcel","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Container"},{"carrier":"sekoomniparcel","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Crate"},{"carrier":"sekoomniparcel","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Envelope"},{"carrier":"sekoomniparcel","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Pail"},{"carrier":"sekoomniparcel","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Pallet"},{"carrier":"sekoomniparcel","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Satchel"},{"carrier":"sekoomniparcel","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Tub"}],"service_levels":[{"carrier":"sekoomniparcel","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Ecommerce Standard Tracked"},{"carrier":"sekoomniparcel","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Ecommerce Express Tracked"},{"carrier":"sekoomniparcel","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Domestic Express"},{"carrier":"sekoomniparcel","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Domestic Standard"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Sendle","name":"sendle","predefined_packages":[],"service_levels":[{"carrier":"sendle","description":null,"dimensions":[],"human_readable":"Standard","max_weight":null,"name":"Standard"},{"carrier":"sendle","description":null,"dimensions":[],"human_readable":"Express","max_weight":null,"name":"Express"}],"shipment_options":[],"supported_features":[]},{"human_readable":"SF Express","name":"sfexpress","predefined_packages":[],"service_levels":[{"carrier":"sfexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InternationalStandardExpressDoc"},{"carrier":"sfexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InternationalStandardExpressParcel"},{"carrier":"sfexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InternationalEconomyExpressPilot"},{"carrier":"sfexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InternationalEconomyExpressDoc"},{"carrier":"sfexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InternationalEconomyExpressParcel"},{"carrier":"sfexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DomesticExpress"},{"carrier":"sfexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DomesticStandard"},{"carrier":"sfexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DomesticIntraCity"},{"carrier":"sfexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"StandardExpress"},{"carrier":"sfexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EconomyExpress"}],"shipment_options":[],"supported_features":[]},{"human_readable":"SmartKargo","name":"smartkargo","predefined_packages":[],"service_levels":[{"carrier":"smartkargo","description":"Expedited Product, 2 business days","dimensions":[],"human_readable":"Expedited Product, 2 business days","max_weight":null,"name":"EPR"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Express","dimensions":[],"human_readable":"eCommerce Express","max_weight":null,"name":"EXP"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":"eCommerce Standard","dimensions":[],"human_readable":"eCommerce Standard","max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":"eCommerce Postal Standard","dimensions":[],"human_readable":"eCommerce Postal Standard","max_weight":null,"name":"EPS"}],"shipment_options":[],"supported_features":[{"carrier":"smartkargo","description":null,"name":"bill_on_delivery","supported":null},{"carrier":"smartkargo","description":null,"name":"bill_on_label_purchase","supported":null},{"carrier":"smartkargo","description":null,"name":"bill_on_manifest","supported":null},{"carrier":"smartkargo","description":null,"name":"bill_on_scan","supported":null},{"carrier":"smartkargo","description":null,"name":"commercial_invoices","supported":false},{"carrier":"smartkargo","description":null,"name":"delivers_to_po_box","supported":false},{"carrier":"smartkargo","description":null,"name":"labels","supported":true},{"carrier":"smartkargo","description":null,"name":"orders","supported":false},{"carrier":"smartkargo","description":null,"name":"pickups","supported":false},{"carrier":"smartkargo","description":null,"name":"rating","supported":true},{"carrier":"smartkargo","description":null,"name":"refunds","supported":true},{"carrier":"smartkargo","description":null,"name":"returns","supported":false},{"carrier":"smartkargo","description":null,"name":"scanforms","supported":false},{"carrier":"smartkargo","description":null,"name":"sort_codes","supported":false},{"carrier":"smartkargo","description":null,"name":"test_environment","supported":true},{"carrier":"smartkargo","description":null,"name":"tracking","supported":true}]},{"human_readable":"Sonic","name":"sonic","predefined_packages":[],"service_levels":[{"carrier":"sonic","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SAMEDAY"}],"shipment_options":[],"supported_features":[{"carrier":"sonic","description":null,"name":"bill_on_delivery","supported":true},{"carrier":"sonic","description":null,"name":"bill_on_label_purchase","supported":false},{"carrier":"sonic","description":null,"name":"bill_on_manifest","supported":false},{"carrier":"sonic","description":null,"name":"bill_on_scan","supported":false},{"carrier":"sonic","description":null,"name":"commercial_invoices","supported":false},{"carrier":"sonic","description":null,"name":"labels","supported":true},{"carrier":"sonic","description":null,"name":"orders","supported":false},{"carrier":"sonic","description":null,"name":"pickups","supported":false},{"carrier":"sonic","description":null,"name":"rating","supported":true},{"carrier":"sonic","description":null,"name":"refunds","supported":true},{"carrier":"sonic","description":null,"name":"returns","supported":false},{"carrier":"sonic","description":null,"name":"scanforms","supported":false},{"carrier":"sonic","description":null,"name":"sort_codes","supported":false},{"carrier":"sonic","description":null,"name":"test_environment","supported":false},{"carrier":"sonic","description":null,"name":"tracking","supported":true}]},{"human_readable":"Spee-Dee","name":"speedee","predefined_packages":[],"service_levels":[{"carrier":"speedee","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SpeeDeeDelivery"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Swyft","name":"swyft","predefined_packages":[],"service_levels":[{"carrier":"swyft","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"NEXTDAY"},{"carrier":"swyft","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SAMEDAY"}],"shipment_options":[],"supported_features":[{"carrier":"swyft","description":null,"name":"bill_on_delivery","supported":true},{"carrier":"swyft","description":null,"name":"bill_on_label_purchase","supported":false},{"carrier":"swyft","description":null,"name":"bill_on_manifest","supported":false},{"carrier":"swyft","description":null,"name":"bill_on_scan","supported":false},{"carrier":"swyft","description":null,"name":"commercial_invoices","supported":false},{"carrier":"swyft","description":null,"name":"labels","supported":false},{"carrier":"swyft","description":null,"name":"orders","supported":false},{"carrier":"swyft","description":null,"name":"pickups","supported":false},{"carrier":"swyft","description":null,"name":"rating","supported":true},{"carrier":"swyft","description":null,"name":"refunds","supported":true},{"carrier":"swyft","description":null,"name":"returns","supported":false},{"carrier":"swyft","description":null,"name":"scanforms","supported":false},{"carrier":"swyft","description":null,"name":"sort_codes","supported":false},{"carrier":"swyft","description":null,"name":"test_environment","supported":false},{"carrier":"swyft","description":null,"name":"tracking","supported":true}]},{"human_readable":"TForce Logistics","name":"tforce","predefined_packages":[],"service_levels":[{"carrier":"tforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"NextDay"},{"carrier":"tforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Return"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Toll","name":"toll","predefined_packages":[],"service_levels":[{"carrier":"toll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"IPEC Direct"},{"carrier":"toll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"IPEC Fashion"},{"carrier":"toll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"IPEC Local"},{"carrier":"toll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"IPEC Priority"},{"carrier":"toll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"IPEC Road Express"},{"carrier":"toll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"IPEC Sensitive"},{"carrier":"toll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"IPEC VicEXP"}],"shipment_options":[],"supported_features":[]},{"human_readable":"UDS","name":"uds","predefined_packages":[],"service_levels":[{"carrier":"uds","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DeliveryService"}],"shipment_options":[],"supported_features":[]},{"human_readable":"UPS","name":"ups","predefined_packages":[{"carrier":"ups","description":null,"dimensions":["12.5in - 15in x 9.5in"],"human_readable":null,"max_weight":16,"name":"UPSLetter"},{"carrier":"ups","description":null,"dimensions":["12.5in x 3.75in x 18in"],"human_readable":null,"max_weight":480,"name":"UPSExpressBox"},{"carrier":"ups","description":null,"dimensions":["19.75in x 17.75in x 13.25in"],"human_readable":null,"max_weight":880,"name":"UPS25kgBox"},{"carrier":"ups","description":null,"dimensions":["16.5in x 13.25in x 10.75in"],"human_readable":null,"max_weight":352,"name":"UPS10kgBox"},{"carrier":"ups","description":"Triangular tube for rolled papers","dimensions":["38in x 6in x 6in"],"human_readable":null,"max_weight":null,"name":"Tube"},{"carrier":"ups","description":null,"dimensions":["16in x 12.75in"],"human_readable":null,"max_weight":null,"name":"Pak"},{"carrier":"ups","description":null,"dimensions":["13in x 11in x 2in"],"human_readable":null,"max_weight":480,"name":"SmallExpressBox"},{"carrier":"ups","description":null,"dimensions":["16in x 11in x 3in"],"human_readable":null,"max_weight":480,"name":"MediumExpressBox"},{"carrier":"ups","description":null,"dimensions":["18in x 13in x 3in"],"human_readable":null,"max_weight":480,"name":"LargeExpressBox"}],"service_levels":[{"carrier":"ups","description":"1-5 Business Days","dimensions":null,"human_readable":"UPS Ground","max_weight":null,"name":"Ground"},{"carrier":"ups","description":"1-5 Business Days","dimensions":null,"human_readable":"UPS Standard","max_weight":null,"name":"UPSStandard"},{"carrier":"ups","description":"Next Day to 4 Business Days","dimensions":null,"human_readable":"UPS Worldwide Saver","max_weight":null,"name":"UPSSaver"},{"carrier":"ups","description":"Next Day to 3 Business Days","dimensions":null,"human_readable":"UPS Worldwide Express","max_weight":null,"name":"Express"},{"carrier":"ups","description":"Next Day to 2 Business Days","dimensions":null,"human_readable":"UPS Worldwide Express Plus","max_weight":null,"name":"ExpressPlus"},{"carrier":"ups","description":"3 to 5 Business Days","dimensions":null,"human_readable":"UPS Worldwide Expedited","max_weight":null,"name":"Expedited"},{"carrier":"ups","description":"Next Business Day by 10:30am","dimensions":null,"human_readable":"UPS Next Day Air","max_weight":null,"name":"NextDayAir"},{"carrier":"ups","description":"Next Business Day by 3:00pm","dimensions":null,"human_readable":"UPS Next Day Air Saver","max_weight":null,"name":"NextDayAirSaver"},{"carrier":"ups","description":"Next Business Days by 8:00am","dimensions":null,"human_readable":"UPS Next Day Air A.M.","max_weight":null,"name":"NextDayAirEarlyAM"},{"carrier":"ups","description":"2 Business Days by end of day","dimensions":null,"human_readable":"UPS 2nd Day Air","max_weight":null,"name":"2ndDayAir"},{"carrier":"ups","description":null,"dimensions":null,"human_readable":null,"max_weight":null,"name":"2ndDayAirAM"},{"carrier":"ups","description":"3 Business Days by end of day","dimensions":null,"human_readable":"UPS 3-Day Select","max_weight":null,"name":"3DaySelect"}],"shipment_options":[],"supported_features":[]},{"human_readable":"UPS iParcel","name":"upsiparcel","predefined_packages":[],"service_levels":[],"shipment_options":[],"supported_features":[]},{"human_readable":"UPS Mail Innovations","name":"upsmailinnovations","predefined_packages":[],"service_levels":[{"carrier":"upsmailinnovations","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"BPMFlats"},{"carrier":"upsmailinnovations","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"BPMParcels"},{"carrier":"upsmailinnovations","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EconomyMailInnovations"},{"carrier":"upsmailinnovations","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpeditedMailInnovations"},{"carrier":"upsmailinnovations","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"First"},{"carrier":"upsmailinnovations","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"MarketingParcels"},{"carrier":"upsmailinnovations","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"MediaMail"},{"carrier":"upsmailinnovations","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelSelect"},{"carrier":"upsmailinnovations","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelSelectLightweight-Irreg"},{"carrier":"upsmailinnovations","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Priority"},{"carrier":"upsmailinnovations","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PriorityMailInnovations"},{"carrier":"upsmailinnovations","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SingleReturns"},{"carrier":"upsmailinnovations","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"StandardFlats"}],"shipment_options":[],"supported_features":[]},{"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,"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,"name":"First"},{"carrier":"usps","description":"1-3 business days","dimensions":["Combined Length and Girth < 108in"],"human_readable":null,"max_weight":1120,"name":"Priority"},{"carrier":"usps","description":"1-2 days","dimensions":["Combined Length and Girth < 108in"],"human_readable":null,"max_weight":1120,"name":"Express"},{"carrier":"usps","description":"2-5 days","dimensions":["Combined Length and Girth < 130in"],"human_readable":null,"max_weight":70,"name":"GroundAdvantage"},{"carrier":"usps","description":"2-8 business days","dimensions":["Combined Length and Girth < 108in"],"human_readable":null,"max_weight":1120,"name":"LibraryMail"},{"carrier":"usps","description":"2-8 business days","dimensions":["Combined Length and Girth < 108in"],"human_readable":null,"max_weight":1120,"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,"name":"FirstClassPackageInternationalService"},{"carrier":"usps","description":"6-10 business days","dimensions":["Combined Length and Girth < 108in"],"human_readable":null,"max_weight":1120,"name":"PriorityMailInternational"},{"carrier":"usps","description":"3-5 business days","dimensions":["Combined Length and Girth < 108in"],"human_readable":null,"max_weight":1120,"name":"ExpressMailInternational"}],"shipment_options":[],"supported_features":[{"carrier":"usps","description":null,"name":"bill_on_delivery","supported":null},{"carrier":"usps","description":null,"name":"bill_on_label_purchase","supported":null},{"carrier":"usps","description":null,"name":"commercial_invoices","supported":null},{"carrier":"usps","description":null,"name":"delivers_to_po_box","supported":null},{"carrier":"usps","description":null,"name":"labels","supported":null},{"carrier":"usps","description":null,"name":"pickups","supported":null},{"carrier":"usps","description":null,"name":"rating","supported":true},{"carrier":"usps","description":null,"name":"refunds","supported":null},{"carrier":"usps","description":null,"name":"returns","supported":null},{"carrier":"usps","description":null,"name":"scanforms","supported":null},{"carrier":"usps","description":null,"name":"test_environment","supported":null},{"carrier":"usps","description":null,"name":"tracking","supported":true}]},{"human_readable":"Veho","name":"veho","predefined_packages":[],"service_levels":[{"carrier":"veho","description":null,"dimensions":[],"human_readable":"Next Day","max_weight":null,"name":"nextDay"},{"carrier":"veho","description":null,"dimensions":[],"human_readable":"Same Day","max_weight":null,"name":"sameDay"}],"shipment_options":[{"carrier":"veho","deprecated":false,"description":null,"human_readable":"Label Date","name":"label_date","type":"datetime"},{"carrier":"veho","deprecated":false,"description":null,"human_readable":"Handling Instructions","name":"handling_instructions","type":"string"},{"carrier":"veho","deprecated":false,"description":null,"human_readable":"Print Custom","name":"print_custom","type":"array"},{"carrier":"veho","deprecated":true,"description":null,"human_readable":"Print Custom 1","name":"print_custom_1","type":"string"},{"carrier":"veho","deprecated":true,"description":null,"human_readable":"Print Custom 2","name":"print_custom_2","type":"string"},{"carrier":"veho","deprecated":true,"description":null,"human_readable":"Print Custom 3","name":"print_custom_3","type":"string"},{"carrier":"veho","deprecated":true,"description":null,"human_readable":"Print Custom 3 Barcode","name":"print_custom_3_barcode","type":"boolean"}],"supported_features":[{"carrier":"veho","description":null,"name":"commercial_invoices","supported":false},{"carrier":"veho","description":null,"name":"labels","supported":true},{"carrier":"veho","description":null,"name":"orders","supported":false},{"carrier":"veho","description":null,"name":"pickups","supported":true},{"carrier":"veho","description":null,"name":"rating","supported":true},{"carrier":"veho","description":null,"name":"refunds","supported":false},{"carrier":"veho","description":null,"name":"returns","supported":false},{"carrier":"veho","description":null,"name":"scanforms","supported":false},{"carrier":"veho","description":null,"name":"sort_codes","supported":false},{"carrier":"veho","description":null,"name":"test_environment","supported":true},{"carrier":"veho","description":null,"name":"tracking","supported":true}]},{"human_readable":"Yanwen","name":"yanwen","predefined_packages":[],"service_levels":[],"shipment_options":[],"supported_features":[]}]}' + body: '{"carriers":[{"human_readable":"Accurate","name":"accurate","predefined_packages":[],"service_levels":[{"carrier":"accurate","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Route"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Amazon MWS","name":"amazonmws","predefined_packages":[],"service_levels":[{"carrier":"amazonmws","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"UPS Rates"},{"carrier":"amazonmws","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"USPS Rates"},{"carrier":"amazonmws","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FedEx Rates"},{"carrier":"amazonmws","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"UPS Labels"},{"carrier":"amazonmws","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"USPS Labels"},{"carrier":"amazonmws","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FedEx Labels"},{"carrier":"amazonmws","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"UPS Tracking"},{"carrier":"amazonmws","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"USPS Tracking"},{"carrier":"amazonmws","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FedEx Tracking"}],"shipment_options":[],"supported_features":[]},{"human_readable":"APC","name":"apc","predefined_packages":[],"service_levels":[{"carrier":"apc","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"parcelConnectBookService"},{"carrier":"apc","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"parcelConnectExpeditedDDP"},{"carrier":"apc","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"parcelConnectExpeditedDDU"},{"carrier":"apc","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"parcelConnectPriorityDDP"},{"carrier":"apc","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"parcelConnectPriorityDDPDelcon"},{"carrier":"apc","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"parcelConnectPriorityDDU"},{"carrier":"apc","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"parcelConnectPriorityDDUDelcon"},{"carrier":"apc","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"parcelConnectPriorityDDUPQW"},{"carrier":"apc","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"parcelConnectStandardDDU"},{"carrier":"apc","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"parcelConnectStandardDDUPQW"},{"carrier":"apc","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"parcelConnectPacketDDU"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Asendia USA","name":"asendiausa","predefined_packages":[],"service_levels":[{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ADS","max_weight":null,"name":"ADS"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Air Freight Inbound","max_weight":null,"name":"AirFreightInbound"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Air Freight Outbound","max_weight":null,"name":"AirFreightOutbound"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Asendia Domestic Bound Printed Matter Expedited","max_weight":null,"name":"AsendiaDomesticBoundPrinterMatterExpedited"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Asendia Domestic Bound Printed Matter Ground","max_weight":null,"name":"AsendiaDomesticBoundPrinterMatterGround"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Asendia Domestic Flats Expedited","max_weight":null,"name":"AsendiaDomesticFlatsExpedited"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Asendia Domestic Flats Ground","max_weight":null,"name":"AsendiaDomesticFlatsGround"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Asendia Domestic Parcel Ground Over 1 Lb","max_weight":null,"name":"AsendiaDomesticParcelGroundOver1lb"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Asendia Domestic Parcel Ground Under 1 Lb","max_weight":null,"name":"AsendiaDomesticParcelGroundUnder1lb"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Asendia Domestic Parcel MAX Over 1 Lb","max_weight":null,"name":"AsendiaDomesticParcelMAXOver1lb"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Asendia Domestic Parcel MAX Under 1 Lb","max_weight":null,"name":"AsendiaDomesticParcelMAXUnder1lb"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Asendia Domestic Parcel Over 1 Lb Expedited","max_weight":null,"name":"AsendiaDomesticParcelOver1lbExpedited"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Asendia Domestic Parcel Under 1 Lb Expedited","max_weight":null,"name":"AsendiaDomesticParcelUnder1lbExpedited"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Asendia Domestic Promo Parcel Expedited","max_weight":null,"name":"AsendiaDomesticPromoParcelExpedited"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Asendia Domestic Promo Parcel Ground","max_weight":null,"name":"AsendiaDomesticPromoParcelGround"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Bulk Freight","max_weight":null,"name":"BulkFreight"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Business Mail Canada Lettermail","max_weight":null,"name":"BusinessMailCanadaLettermail"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Business Mail Canada Lettermail Machineable","max_weight":null,"name":"BusinessMailCanadaLettermailMachineable"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Business Mail Economy","max_weight":null,"name":"BusinessMailEconomy"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Business Mail Economy LP Wholesale","max_weight":null,"name":"BusinessMailEconomyLPWholesale"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Business Mail Economy SP Wholesale","max_weight":null,"name":"BusinessMailEconomySPWholesale"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Business Mail International Priority Airmail","max_weight":null,"name":"BusinessMailIPA"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Business Mail International Surface Air Lift","max_weight":null,"name":"BusinessMailISAL"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Business Mail Priority","max_weight":null,"name":"BusinessMailPriority"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Business Mail Priority LP Wholesale","max_weight":null,"name":"BusinessMailPriorityLPWholesale"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Business Mail Priority SP Wholesale","max_weight":null,"name":"BusinessMailPrioritySPWholesale"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Marketing Mail Canada Personalized Letter Carrier Presort","max_weight":null,"name":"MarketingMailCanadaPersonalizedLCP"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Marketing Mail Canada Personalized Machineable","max_weight":null,"name":"MarketingMailCanadaPersonalizedMachineable"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Marketing Mail Canada Personalized Non-Dangerous Goods","max_weight":null,"name":"MarketingMailCanadaPersonalizedNDG"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Marketing Mail Economy","max_weight":null,"name":"MarketingMailEconomy"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Marketing Mail International Priority Airmail","max_weight":null,"name":"MarketingMailIPA"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"MarketingMail International Surface Air Lift","max_weight":null,"name":"MarketingMailISAL"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Marketing Mail Priority","max_weight":null,"name":"MarketingMailPriority"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Publications Canada Letter Carrier Presort","max_weight":null,"name":"PublicationsCanadaLCP"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Publications Canada Non-Dangerous Goods","max_weight":null,"name":"PublicationsCanadaNDG"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Publications Economy","max_weight":null,"name":"PublicationsEconomy"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Publications International Priority Airmail","max_weight":null,"name":"PublicationsIPA"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Publications International Surface Air Lift","max_weight":null,"name":"PublicationsISAL"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"Publications Priority","max_weight":null,"name":"PublicationsPriority"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Elite","max_weight":null,"name":"ePAQElite"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Elite Custom","max_weight":null,"name":"ePAQEliteCustom"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQElite Delivered At Place","max_weight":null,"name":"ePAQEliteDAP"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Elite Delivered Duty Paid","max_weight":null,"name":"ePAQEliteDDP"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Elite Delivered Duty Paid Oversized","max_weight":null,"name":"ePAQEliteDDPOversized"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Elite DPD","max_weight":null,"name":"ePAQEliteDPD"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Elite Direct Access Canada Delivered Duty Paid","max_weight":null,"name":"ePAQEliteDirectAccessCanadaDDP"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Elite Oversized","max_weight":null,"name":"ePAQEliteOversized"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Plus","max_weight":null,"name":"ePAQPlus"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Plus Custom","max_weight":null,"name":"ePAQPlusCustom"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Plus Customs Pre-Paid","max_weight":null,"name":"ePAQPlusCustomsPrepaid"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Plus Delivered At Place","max_weight":null,"name":"ePAQPlusDAP"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Plus Delivered Duty Paid","max_weight":null,"name":"ePAQPlusDDP"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Plus Economy","max_weight":null,"name":"ePAQPlusEconomy"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Plus Wholesale","max_weight":null,"name":"ePAQPlusWholesale"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Plus ePacket","max_weight":null,"name":"ePAQPlusePacket"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Plus ePacket Canada Customs Pre-Paid","max_weight":null,"name":"ePAQPlusePacketCanadaCustomsPrePaid"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Plus ePacket Canada Delivered Duty Paid","max_weight":null,"name":"ePAQPlusePacketCanadaDDP"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Returns Domestic","max_weight":null,"name":"ePAQReturnsDomestic"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Returns International","max_weight":null,"name":"ePAQReturnsInternational"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select","max_weight":null,"name":"ePAQSelect"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select Custom","max_weight":null,"name":"ePAQSelectCustom"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select Customs Pre-Paid By Shopper","max_weight":null,"name":"ePAQSelectCustomsPrepaidByShopper"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select Delivered At Place","max_weight":null,"name":"ePAQSelectDAP"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select Delivered Duty Paid","max_weight":null,"name":"ePAQSelectDDP"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select Delivered Duty Paid Direct Access","max_weight":null,"name":"ePAQSelectDDPDirectAccess"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select Direct Access","max_weight":null,"name":"ePAQSelectDirectAccess"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select Direct Access Canada Delivered Duty Paid","max_weight":null,"name":"ePAQSelectDirectAccessCanadaDDP"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select Economy","max_weight":null,"name":"ePAQSelectEconomy"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select Oversized","max_weight":null,"name":"ePAQSelectOversized"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select Oversized Delivered Duty Paid","max_weight":null,"name":"ePAQSelectOversizedDDP"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select PMEI","max_weight":null,"name":"ePAQSelectPMEI"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select PMEI Canada Customs Pre-Paid","max_weight":null,"name":"ePAQSelectPMEICanadaCustomsPrePaid"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select PMEIPC Postage","max_weight":null,"name":"ePAQSelectPMEIPCPostage"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select Priority Mail International","max_weight":null,"name":"ePAQSelectPMI"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select Priority Mail International Canada Customs Pre-Paid","max_weight":null,"name":"ePAQSelectPMICanadaCustomsPrepaid"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select Priority Mail International Canada Delivered Duty Paid","max_weight":null,"name":"ePAQSelectPMICanadaDDP"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select Priority Mail International Non-Presort","max_weight":null,"name":"ePAQSelectPMINonPresort"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select PMIPC Postage","max_weight":null,"name":"ePAQSelectPMIPCPostage"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Standard","max_weight":null,"name":"ePAQStandard"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Standard Custom","max_weight":null,"name":"ePAQStandardCustom"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Standard Economy","max_weight":null,"name":"ePAQStandardEconomy"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Standard International Priority Airmail","max_weight":null,"name":"ePAQStandardIPA"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Standard International Surface Air Lift","max_weight":null,"name":"ePAQStandardISAL"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePaq Select PMEI Non-Presort","max_weight":null,"name":"ePaqSelectPMEINonPresort"},{"carrier":"asendiausa","description":null,"dimensions":[],"human_readable":"ePAQ Select DDP DG","max_weight":null,"name":"ePAQSelectDDPDG"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Australia Post","name":"australiapost","predefined_packages":[{"carrier":"australiapost","description":null,"dimensions":[],"human_readable":"Carton","max_weight":null,"name":"CARTON"},{"carrier":"australiapost","description":null,"dimensions":[],"human_readable":"Pallet","max_weight":null,"name":"PALLET"},{"carrier":"australiapost","description":null,"dimensions":[],"human_readable":"Satchel","max_weight":null,"name":"SATCHEL"},{"carrier":"australiapost","description":null,"dimensions":[],"human_readable":"Bag","max_weight":null,"name":"BAG"},{"carrier":"australiapost","description":null,"dimensions":[],"human_readable":"Envelope","max_weight":null,"name":"ENVELOPE"},{"carrier":"australiapost","description":null,"dimensions":[],"human_readable":"Item","max_weight":null,"name":"ITEM"},{"carrier":"australiapost","description":null,"dimensions":[],"human_readable":"Jiffy Bag","max_weight":null,"name":"JIFFYBAG"},{"carrier":"australiapost","description":"Up to 500kg","dimensions":[],"human_readable":"Skid","max_weight":null,"name":"SKID"}],"service_levels":[{"carrier":"australiapost","description":"Specific service availability is determined by your AustraliaPost account.","dimensions":[],"human_readable":"Parcel Post","max_weight":null,"name":"ParcelPost"},{"carrier":"australiapost","description":"Specific service availability is determined by your AustraliaPost account.","dimensions":[],"human_readable":"Express Post","max_weight":null,"name":"ExpressPost"},{"carrier":"australiapost","description":"Specific service availability is determined by your AustraliaPost account.International returns not supported.","dimensions":[],"human_readable":"International","max_weight":null,"name":"International"},{"carrier":"australiapost","description":"Specific service availability is determined by your AustraliaPost account.","dimensions":[],"human_readable":"Commercial","max_weight":null,"name":"Commercial"}],"shipment_options":[],"supported_features":[{"carrier":"australiapost","description":null,"name":"bill_on_delivery","supported":false},{"carrier":"australiapost","description":"Not available with Print as You Go.","name":"bill_on_label_purchase","supported":true},{"carrier":"australiapost","description":"Daily manifesting when using Print as You Go.","name":"bill_on_manifest","supported":true},{"carrier":"australiapost","description":null,"name":"bill_on_scan","supported":false},{"carrier":"australiapost","description":null,"name":"commercial_invoices","supported":null},{"carrier":"australiapost","description":null,"name":"delivers_to_po_box","supported":null},{"carrier":"australiapost","description":null,"name":"labels","supported":true},{"carrier":"australiapost","description":null,"name":"orders","supported":true},{"carrier":"australiapost","description":null,"name":"pickups","supported":false},{"carrier":"australiapost","description":null,"name":"rating","supported":true},{"carrier":"australiapost","description":null,"name":"refunds","supported":true},{"carrier":"australiapost","description":"Domestic only.","name":"returns","supported":true},{"carrier":"australiapost","description":null,"name":"scanforms","supported":true},{"carrier":"australiapost","description":null,"name":"sort_codes","supported":false},{"carrier":"australiapost","description":null,"name":"test_environment","supported":true}]},{"human_readable":"Better Trucks","name":"bettertrucks","predefined_packages":[],"service_levels":[{"carrier":"bettertrucks","description":null,"dimensions":[],"human_readable":"Next Day","max_weight":null,"name":"NEXT_DAY"},{"carrier":"bettertrucks","description":null,"dimensions":[],"human_readable":"Express","max_weight":null,"name":"EXPRESS"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Bluestreak","name":"bluestreak","predefined_packages":[],"service_levels":[{"carrier":"bluestreak","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"N5"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Canada Post","name":"canadapost","predefined_packages":[],"service_levels":[{"carrier":"canadapost","description":"Up to 3 days for local delivery, up to 6 days for regional delivery and up to 10 days for national delivery","dimensions":[],"human_readable":"Regular Parcel","max_weight":null,"name":"RegularParcel"},{"carrier":"canadapost","description":"Up to 2 days for local delivery, up to 4 days for regional delivery and up to 8 days for national delivery","dimensions":[],"human_readable":"Expedited Parcel","max_weight":null,"name":"ExpeditedParcel"},{"carrier":"canadapost","description":"Next-day and 2-day delivery","dimensions":[],"human_readable":"Xpresspost","max_weight":null,"name":"Xpresspost"},{"carrier":"canadapost","description":"Next-day delivery with signature","dimensions":[],"human_readable":"Priority","max_weight":null,"name":"Priority"},{"carrier":"canadapost","description":"Delivery in as little as 4 business days for larger parcels","dimensions":[],"human_readable":"Expedited Parcel USA","max_weight":null,"name":"ExpeditedParcelUSA"},{"carrier":"canadapost","description":"Delivery in as little as 5 business days for small and lightweight items","dimensions":[],"human_readable":"Small Packet USA Air","max_weight":null,"name":"SmallPacketUSAAir"},{"carrier":"canadapost","description":"Delivery in as little as 4 business days for small and lightweight items","dimensions":[],"human_readable":"Tracked Packet USA","max_weight":null,"name":"TrackedPacketUSA"},{"carrier":"canadapost","description":null,"dimensions":[],"human_readable":"Tracked Packet USA LVM","max_weight":null,"name":"TrackedPacketUSALVM"},{"carrier":"canadapost","description":"Delivery in 2 and 3 business days","dimensions":[],"human_readable":"Xpresspost USA","max_weight":null,"name":"XpresspostUSA"},{"carrier":"canadapost","description":"Delivery in as little as 4 business days","dimensions":[],"human_readable":"Xpresspost International","max_weight":null,"name":"XpresspostInternational"},{"carrier":"canadapost","description":"Delivery in as little as 6 business days for larger parcels","dimensions":[],"human_readable":"International Parcel Air","max_weight":null,"name":"InternationalParcelAir"},{"carrier":"canadapost","description":"Delivery in 1 month and up to 3 months","dimensions":[],"human_readable":"International Parcel Surface","max_weight":null,"name":"InternationalParcelSurface"},{"carrier":"canadapost","description":"Delivery in as little as 6 business days for small and lightweight items","dimensions":[],"human_readable":"Small Packet International Air","max_weight":null,"name":"SmallPacketInternationalAir"},{"carrier":"canadapost","description":"Delivery in 1 month and up to 3 months for small and lightweight items","dimensions":[],"human_readable":"Small Packet International Surface","max_weight":null,"name":"SmallPacketInternationalSurface"},{"carrier":"canadapost","description":"Delivery in as little as 6 business days","dimensions":[],"human_readable":"Tracked Packet International","max_weight":null,"name":"TrackedPacketInternational"},{"carrier":"canadapost","description":"Up to 3 days for local delivery, up to 6 days for regional delivery and up to 10 days for national delivery","dimensions":[],"human_readable":"Expedited Parcel Plus","max_weight":null,"name":"ExpeditedParcelPlus"}],"shipment_options":[],"supported_features":[{"carrier":"canadapost","description":null,"name":"bill_on_delivery","supported":true},{"carrier":"canadapost","description":null,"name":"bill_on_label_purchase","supported":false},{"carrier":"canadapost","description":null,"name":"bill_on_manifest","supported":true},{"carrier":"canadapost","description":null,"name":"bill_on_scan","supported":false},{"carrier":"canadapost","description":null,"name":"commercial_invoices","supported":true},{"carrier":"canadapost","description":null,"name":"delivers_to_po_box","supported":null},{"carrier":"canadapost","description":null,"name":"labels","supported":true},{"carrier":"canadapost","description":null,"name":"orders","supported":false},{"carrier":"canadapost","description":null,"name":"pickups","supported":true},{"carrier":"canadapost","description":null,"name":"rating","supported":true},{"carrier":"canadapost","description":null,"name":"refunds","supported":true},{"carrier":"canadapost","description":null,"name":"returns","supported":true},{"carrier":"canadapost","description":null,"name":"scanforms","supported":true},{"carrier":"canadapost","description":null,"name":"sort_codes","supported":false},{"carrier":"canadapost","description":null,"name":"test_environment","supported":true}]},{"human_readable":"Canpar","name":"canpar","predefined_packages":[],"service_levels":[{"carrier":"canpar","description":null,"dimensions":[],"human_readable":"Ground","max_weight":null,"name":"Ground"},{"carrier":"canpar","description":null,"dimensions":[],"human_readable":"USA","max_weight":null,"name":"USA"},{"carrier":"canpar","description":null,"dimensions":[],"human_readable":"Select Letter","max_weight":null,"name":"SelectLetter"},{"carrier":"canpar","description":null,"dimensions":[],"human_readable":"Select Pak","max_weight":null,"name":"SelectPak"},{"carrier":"canpar","description":null,"dimensions":[],"human_readable":"Select","max_weight":null,"name":"Select"},{"carrier":"canpar","description":null,"dimensions":[],"human_readable":"Overnight Letter","max_weight":null,"name":"OvernightLetter"},{"carrier":"canpar","description":null,"dimensions":[],"human_readable":"Overnight Pak","max_weight":null,"name":"OvernightPak"},{"carrier":"canpar","description":null,"dimensions":[],"human_readable":"Overnight","max_weight":null,"name":"Overnight"},{"carrier":"canpar","description":null,"dimensions":[],"human_readable":"USA Letter","max_weight":null,"name":"USALetter"},{"carrier":"canpar","description":null,"dimensions":[],"human_readable":"USA Pak","max_weight":null,"name":"USAPak"},{"carrier":"canpar","description":null,"dimensions":[],"human_readable":"Select USA","max_weight":null,"name":"SelectUSA"},{"carrier":"canpar","description":null,"dimensions":[],"human_readable":"International","max_weight":null,"name":"International"}],"shipment_options":[{"carrier":"canpar","deprecated":false,"description":null,"human_readable":"Additional Handling","name":"additional_handling","type":"boolean"},{"carrier":"canpar","deprecated":false,"description":null,"human_readable":"Carrier Insurance Amount","name":"carrier_insurance_amount","type":"float"},{"carrier":"canpar","deprecated":false,"description":null,"human_readable":"Handling Instructions","name":"handling_instructions","type":"string"},{"carrier":"canpar","deprecated":false,"description":null,"human_readable":"Label Format","name":"label_format","type":"string"},{"carrier":"canpar","deprecated":false,"description":null,"human_readable":"Label Size","name":"label_size","type":"string"},{"carrier":"canpar","deprecated":false,"description":null,"human_readable":"Delivery Confirmation","name":"delivery_confirmation","type":"string"},{"carrier":"canpar","deprecated":false,"description":null,"human_readable":"Cod Amount","name":"cod_amount","type":"string"},{"carrier":"canpar","deprecated":false,"description":null,"human_readable":"Cod Method","name":"cod_method","type":"string"},{"carrier":"canpar","deprecated":true,"description":null,"human_readable":"Date Advance","name":"date_advance","type":"integer"},{"carrier":"canpar","deprecated":false,"description":null,"human_readable":"Billing Ref","name":"billing_ref","type":"string"}],"supported_features":[{"carrier":"canpar","description":null,"name":"bill_on_delivery","supported":null},{"carrier":"canpar","description":null,"name":"bill_on_label_purchase","supported":null},{"carrier":"canpar","description":null,"name":"bill_on_manifest","supported":null},{"carrier":"canpar","description":null,"name":"bill_on_scan","supported":null},{"carrier":"canpar","description":null,"name":"commercial_invoices","supported":false},{"carrier":"canpar","description":null,"name":"delivers_to_po_box","supported":false},{"carrier":"canpar","description":null,"name":"labels","supported":true},{"carrier":"canpar","description":null,"name":"orders","supported":false},{"carrier":"canpar","description":null,"name":"pickups","supported":true},{"carrier":"canpar","description":null,"name":"rating","supported":true},{"carrier":"canpar","description":null,"name":"refunds","supported":true},{"carrier":"canpar","description":"Subject to regular pricing.","name":"returns","supported":false},{"carrier":"canpar","description":null,"name":"scanforms","supported":true},{"carrier":"canpar","description":null,"name":"sort_codes","supported":false},{"carrier":"canpar","description":null,"name":"test_environment","supported":true}]},{"human_readable":"CDL Last Mile Solutions","name":"cdllastmilesolutions","predefined_packages":[],"service_levels":[{"carrier":"cdllastmilesolutions","description":null,"dimensions":[],"human_readable":"DISTRIBUTION","max_weight":null,"name":"DISTRIBUTION"},{"carrier":"cdllastmilesolutions","description":null,"dimensions":[],"human_readable":"Same Day","max_weight":null,"name":"Same Day"}],"shipment_options":[{"carrier":"cdllastmilesolutions","deprecated":false,"description":null,"human_readable":"Delivery Max Datetime","name":"delivery_max_datetime","type":"datetime"},{"carrier":"cdllastmilesolutions","deprecated":false,"description":null,"human_readable":"Delivery Min Datetime","name":"delivery_min_datetime","type":"datetime"},{"carrier":"cdllastmilesolutions","deprecated":false,"description":null,"human_readable":"Handling Instructions","name":"handling_instructions","type":"string"},{"carrier":"cdllastmilesolutions","deprecated":false,"description":null,"human_readable":"Invoice Number","name":"invoice_number","type":"string"},{"carrier":"cdllastmilesolutions","deprecated":false,"description":null,"human_readable":"Label Format","name":"label_format","type":"string"},{"carrier":"cdllastmilesolutions","deprecated":false,"description":null,"human_readable":"Pickup Max Datetime","name":"pickup_max_datetime","type":"datetime"},{"carrier":"cdllastmilesolutions","deprecated":false,"description":null,"human_readable":"Pickup Min Datetime","name":"pickup_min_datetime","type":"datetime"},{"carrier":"cdllastmilesolutions","deprecated":true,"description":null,"human_readable":"Print Custom 1","name":"print_custom_1","type":"string"},{"carrier":"cdllastmilesolutions","deprecated":true,"description":null,"human_readable":"Print Custom 1 Barcode","name":"print_custom_1_barcode","type":"boolean"},{"carrier":"cdllastmilesolutions","deprecated":true,"description":null,"human_readable":"Print Custom 2","name":"print_custom_2","type":"string"},{"carrier":"cdllastmilesolutions","deprecated":true,"description":null,"human_readable":"Print Custom 2 Barcode","name":"print_custom_2_barcode","type":"boolean"}],"supported_features":[{"carrier":"cdllastmilesolutions","description":null,"name":"bill_on_delivery","supported":null},{"carrier":"cdllastmilesolutions","description":null,"name":"bill_on_label_purchase","supported":null},{"carrier":"cdllastmilesolutions","description":null,"name":"bill_on_manifest","supported":null},{"carrier":"cdllastmilesolutions","description":null,"name":"bill_on_scan","supported":null},{"carrier":"cdllastmilesolutions","description":null,"name":"commercial_invoices","supported":false},{"carrier":"cdllastmilesolutions","description":null,"name":"delivers_to_po_box","supported":null},{"carrier":"cdllastmilesolutions","description":null,"name":"labels","supported":true},{"carrier":"cdllastmilesolutions","description":null,"name":"orders","supported":false},{"carrier":"cdllastmilesolutions","description":null,"name":"pickups","supported":true},{"carrier":"cdllastmilesolutions","description":null,"name":"rating","supported":true},{"carrier":"cdllastmilesolutions","description":null,"name":"refunds","supported":false},{"carrier":"cdllastmilesolutions","description":null,"name":"returns","supported":false},{"carrier":"cdllastmilesolutions","description":null,"name":"scanforms","supported":false},{"carrier":"cdllastmilesolutions","description":null,"name":"sort_codes","supported":true},{"carrier":"cdllastmilesolutions","description":null,"name":"test_environment","supported":null}]},{"human_readable":"Chronopost","name":"chronopost","predefined_packages":[],"service_levels":[],"shipment_options":[],"supported_features":[]},{"human_readable":"Cirro E-Commerce","name":"cirroecommerce","predefined_packages":[],"service_levels":[{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CADOECOEA (CA Domestic Economy East)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CADOECOWE (CA Domestic Economy West)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CAECOCE (US to CA Economy)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CAECONE (US to CA Economy)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CAECOWE (US to CA Economy)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ECOCE (Economy Central)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ECOEA (Economy East)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ECONE (Economy Northeast)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ECOSO (Economy South)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ECOWE (Economy West)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EUECOWE (US to Europe Economy)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EXPBNE (Expedited Northeast)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EXPWE (Expedited West)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"REGCE (Regional Central)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"REGEA (Regional East)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"REGNE (Regional Northeast)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"REGSO (Regional South)"},{"carrier":"cirroecommerce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"REGWE (Regional West)"}],"shipment_options":[],"supported_features":[]},{"human_readable":"CloudSort","name":"cloudsort","predefined_packages":[],"service_levels":[],"shipment_options":[],"supported_features":[]},{"human_readable":"Courier Express","name":"courierexpress","predefined_packages":[],"service_levels":[{"carrier":"courierexpress","description":null,"dimensions":[],"human_readable":"Basic Parcel","max_weight":null,"name":"BASIC_PARCEL"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Couriers Please","name":"couriersplease","predefined_packages":[],"service_levels":[{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Road Express","max_weight":null,"name":"RoadExpress"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Exp Authority To Leave P10","max_weight":null,"name":"AggExpAtlP10"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Exp Authority To Leave P25","max_weight":null,"name":"AggExpAtlP25"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Exp Authority To Leave Base & Kilo","max_weight":null,"name":"AggExpAtlBaseandKilo"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Exp Authority To Leave 09","max_weight":null,"name":"AggExpAtlP0"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Exp Authority To Leave P1","max_weight":null,"name":"AggExpAtlP1"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Exp Authority To Leave P3","max_weight":null,"name":"AggExpAtlP3"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Exp Authority To Leave P5","max_weight":null,"name":"AggExpAtlP5"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Drop Off Hubbed Based & Kilo","max_weight":null,"name":"AggDropOffHubbedBaseandKilo"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Drop Off Hubbed P0","max_weight":null,"name":"AggDropOffHubbedP0"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Drop Off Hubbed P1","max_weight":null,"name":"AggDropOffHubbedP1"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Drop Off Hubbed P3","max_weight":null,"name":"AggDropOffHubbedP3"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Drop Off Hubbed P5","max_weight":null,"name":"AggDropOffHubbedP5"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg STD Authority To Leave P10","max_weight":null,"name":"AggStdAtlP10"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg STD Authority To Leave Base & Kilo","max_weight":null,"name":"AggStdAtlBaseandKilo"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg STD Authority To Leave P0","max_weight":null,"name":"AggStdAtlP0"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg STD Authority To Leave P1","max_weight":null,"name":"AggStdAtlP1"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg STD Authority To Leave P3","max_weight":null,"name":"AggStdAtlP3"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg STD Authority To Leave P5","max_weight":null,"name":"AggStdAtlP5"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Ecommerce Base & Kilo","max_weight":null,"name":"AggEcomBaseandKilo"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Ecommerce Base & Kilo","max_weight":null,"name":"AggEcomP0"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Ecommerce P1","max_weight":null,"name":"AggEcomP1"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Ecommerce P3","max_weight":null,"name":"AggEcomP3"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Ecommerce P5","max_weight":null,"name":"AggEcomP5"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Drop Off Hubbed P10","max_weight":null,"name":"AggDropOffHubbedP10"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Drop Off Hubbed P25","max_weight":null,"name":"AggDropOffHubbedP25"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg STD Authority To Leave P25","max_weight":null,"name":"AggStdAtlP25"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Ecommerce P10","max_weight":null,"name":"AggEcomP10"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Agg Ecommerce P25","max_weight":null,"name":"AggEcomP25"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Australian City Express","max_weight":null,"name":"AustralianCityExpress"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Drop Ship 500 Gram Parcel","max_weight":null,"name":"DropShip500GramParcel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Drop Ship 1 Kilogram Parcel","max_weight":null,"name":"DropShip1KgParcel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Drop Ship 3Kilogram Parcel","max_weight":null,"name":"DropShip3KgParcel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Drop Ship 5 Kilogram Parcel","max_weight":null,"name":"DropShip5KgParcel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Domestic Priority","max_weight":null,"name":"DomesticPriority"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Drop Ship 10 Kilogram Parcel","max_weight":null,"name":"DropShip10KgParcel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Drop Ship 20 Kilogram Parcel","max_weight":null,"name":"DropShip20KgParcel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Domestic Priority Signature","max_weight":null,"name":"DomesticPrioritySignature"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Gold Domestic","max_weight":null,"name":"GoldDomestic"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Road Express No Delivery","max_weight":null,"name":"RoadExpressNoDelivery"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Road Express No Pick Up","max_weight":null,"name":"RoadExpressNoPickUp"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"500 Gram Parcel","max_weight":null,"name":"500GramParcel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"500 Gram Parcel Authority To Leave","max_weight":null,"name":"500GramParcelATL"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"10 Kilogram Parcel","max_weight":null,"name":"10KgParcel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"10 Kilogram Parcel Authority To Leave","max_weight":null,"name":"10KgParcelATL"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"15 Kilogram Parcel","max_weight":null,"name":"15KgParcel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"15 Kilogram Authority To Leave","max_weight":null,"name":"15KgParcelATL"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"1 Kilogram Parcel Authority To Leave","max_weight":null,"name":"1KgParcelATL"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"2 Kilogram Parcel","max_weight":null,"name":"2KgParcel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"25 Kilogram Parcel","max_weight":null,"name":"25KgParcel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"25 Kilogram Parcel Authority To Leaave","max_weight":null,"name":"25KgParcelATL"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"2 Kilogram Parcel Authority To Leave","max_weight":null,"name":"2KgParcelATL"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"3 Kilogram Parcel Authority To Leave","max_weight":null,"name":"3KgParcelATL"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"5 Kilogram Parcel Authority To Leave","max_weight":null,"name":"5Kg Parcel ATL"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Australian City Express Signature","max_weight":null,"name":"AustralianCityExpressSignature"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Domestic Saver Signature","max_weight":null,"name":"DomesticSaverSignature"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Domestic Off Peak","max_weight":null,"name":"DomesticOffPeak"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Domestic Saver","max_weight":null,"name":"DomesticSaver"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Dometic Off Peak Signature","max_weight":null,"name":"DomesticOffPeakSignature"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Gold Domestic Signature","max_weight":null,"name":"GoldDomesticSignature"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"1 Kilogram Satchel Authority To Leave","max_weight":null,"name":"1KgSatchelATL"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"1 Kilogram Satchel","max_weight":null,"name":"1KgSatchel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"3 Kilogram Satchel","max_weight":null,"name":"3KgSatchel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"5 Kilogram Satchel","max_weight":null,"name":"5KgSatchel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"3 Kilogram Satchel Authority To Leave","max_weight":null,"name":"3KgSatchelATL"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"5 Kilogram Satchel Authority To Leave","max_weight":null,"name":"5KgSatchelATL"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"500 Gram Satchel Authority To Leave","max_weight":null,"name":"500GramSatchelATL"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"500 Gram Satchel","max_weight":null,"name":"500GramSatchel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"5 Kilogram Satchel","max_weight":null,"name":"5KSatchel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"Express International Priority","max_weight":null,"name":"ExpressInternationalPriority"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"International Saver","max_weight":null,"name":"InternationalSaver"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"International Express Import","max_weight":null,"name":"InternationalExpressImport"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"International Express","max_weight":null,"name":"InternationalExpress"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"500gm Parcel","max_weight":null,"name":"500gmParcel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"1kg Parcel","max_weight":null,"name":"1KgParcel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"3kg Parcel","max_weight":null,"name":"3KgParcel"},{"carrier":"couriersplease","description":null,"dimensions":[],"human_readable":"5kg Parcel","max_weight":null,"name":"5KgParcel"}],"shipment_options":[],"supported_features":[]},{"human_readable":"CSLogistics","name":"cslogistics","predefined_packages":[],"service_levels":[{"carrier":"cslogistics","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Distribution"},{"carrier":"cslogistics","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ASAP"},{"carrier":"cslogistics","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Freight Priority"},{"carrier":"cslogistics","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Freight Regular"},{"carrier":"cslogistics","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Priority"},{"carrier":"cslogistics","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Regular"},{"carrier":"cslogistics","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Scheduled"}],"shipment_options":[],"supported_features":[]},{"human_readable":"DAI Post","name":"daipost","predefined_packages":[],"service_levels":[{"carrier":"daipost","description":null,"dimensions":[],"human_readable":"Parcel Epacket","max_weight":null,"name":"ParcelMax"},{"carrier":"daipost","description":null,"dimensions":[],"human_readable":"International Economy","max_weight":null,"name":"InternationalEconomy"},{"carrier":"daipost","description":null,"dimensions":[],"human_readable":"International Standard","max_weight":null,"name":"InternationalStandard"},{"carrier":"daipost","description":null,"dimensions":[],"human_readable":"International Express","max_weight":null,"name":"InternationalExpress"},{"carrier":"daipost","description":null,"dimensions":[],"human_readable":"Domestic Tracked","max_weight":null,"name":"DomesticTracked"},{"carrier":"daipost","description":null,"dimensions":[],"human_readable":"Parcel Right","max_weight":null,"name":"ParcelRight"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Deliver-It","name":"deliverit","predefined_packages":[],"service_levels":[{"carrier":"deliverit","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Saturday"},{"carrier":"deliverit","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Economy"},{"carrier":"deliverit","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Noon-It"},{"carrier":"deliverit","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Early-It"},{"carrier":"deliverit","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Afternoon"}],"shipment_options":[],"supported_features":[{"carrier":"deliverit","description":null,"name":"bill_on_delivery","supported":true},{"carrier":"deliverit","description":null,"name":"bill_on_label_purchase","supported":false},{"carrier":"deliverit","description":null,"name":"bill_on_manifest","supported":false},{"carrier":"deliverit","description":null,"name":"bill_on_scan","supported":false},{"carrier":"deliverit","description":null,"name":"commercial_invoices","supported":false},{"carrier":"deliverit","description":null,"name":"labels","supported":true},{"carrier":"deliverit","description":null,"name":"orders","supported":false},{"carrier":"deliverit","description":null,"name":"pickups","supported":false},{"carrier":"deliverit","description":null,"name":"rating","supported":true},{"carrier":"deliverit","description":null,"name":"refunds","supported":true},{"carrier":"deliverit","description":null,"name":"returns","supported":false},{"carrier":"deliverit","description":null,"name":"scanforms","supported":false},{"carrier":"deliverit","description":null,"name":"sort_codes","supported":false},{"carrier":"deliverit","description":null,"name":"test_environment","supported":false}]},{"human_readable":"Deutsche Post","name":"deutschepost","predefined_packages":[],"service_levels":[{"carrier":"deutschepost","description":null,"dimensions":[],"human_readable":"Packet Plus","max_weight":null,"name":"PacketPlus"}],"shipment_options":[{"carrier":"deutschepost","deprecated":false,"description":null,"human_readable":"Additional Handling","name":"additional_handling","type":"boolean"},{"carrier":"deutschepost","deprecated":true,"description":null,"human_readable":"Bill Third Party Account","name":"bill_third_party_account","type":"string"},{"carrier":"deutschepost","deprecated":false,"description":null,"human_readable":"Carrier Insurance Amount","name":"carrier_insurance_amount","type":"float"},{"carrier":"deutschepost","deprecated":false,"description":null,"human_readable":"Cod Amount","name":"cod_amount","type":"string"},{"carrier":"deutschepost","deprecated":false,"description":null,"human_readable":"Cod Method","name":"cod_method","type":"string"},{"carrier":"deutschepost","deprecated":false,"description":null,"human_readable":"Cost Center","name":"cost_center","type":"string"},{"carrier":"deutschepost","deprecated":true,"description":null,"human_readable":"Delivered Duty Paid","name":"delivered_duty_paid","type":"boolean"},{"carrier":"deutschepost","deprecated":false,"description":null,"human_readable":"Delivery Confirmation","name":"delivery_confirmation","type":"string"},{"carrier":"deutschepost","deprecated":false,"description":null,"human_readable":"Handling Instructions","name":"handling_instructions","type":"string"},{"carrier":"deutschepost","deprecated":false,"description":null,"human_readable":"Invoice Number","name":"invoice_number","type":"string"},{"carrier":"deutschepost","deprecated":false,"description":null,"human_readable":"Label Date","name":"label_date","type":"datetime"},{"carrier":"deutschepost","deprecated":false,"description":null,"human_readable":"Label Format","name":"label_format","type":"string"},{"carrier":"deutschepost","deprecated":false,"description":null,"human_readable":"Label Size","name":"label_size","type":"string"},{"carrier":"deutschepost","deprecated":true,"description":null,"human_readable":"Print Custom 1","name":"print_custom_1","type":"string"},{"carrier":"deutschepost","deprecated":true,"description":null,"human_readable":"Print Custom 2","name":"print_custom_2","type":"string"},{"carrier":"deutschepost","deprecated":false,"description":null,"human_readable":"Return Service","name":"return_service","type":"string"}],"supported_features":[{"carrier":"deutschepost","description":null,"name":"bill_on_delivery","supported":null},{"carrier":"deutschepost","description":null,"name":"bill_on_label_purchase","supported":null},{"carrier":"deutschepost","description":null,"name":"bill_on_manifest","supported":null},{"carrier":"deutschepost","description":null,"name":"bill_on_scan","supported":null},{"carrier":"deutschepost","description":null,"name":"commercial_invoices","supported":false},{"carrier":"deutschepost","description":null,"name":"delivers_to_po_box","supported":false},{"carrier":"deutschepost","description":null,"name":"labels","supported":true},{"carrier":"deutschepost","description":null,"name":"orders","supported":false},{"carrier":"deutschepost","description":null,"name":"pickups","supported":false},{"carrier":"deutschepost","description":null,"name":"rating","supported":true},{"carrier":"deutschepost","description":null,"name":"refunds","supported":false},{"carrier":"deutschepost","description":null,"name":"returns","supported":true},{"carrier":"deutschepost","description":null,"name":"scanforms","supported":false},{"carrier":"deutschepost","description":null,"name":"sort_codes","supported":false},{"carrier":"deutschepost","description":null,"name":"test_environment","supported":false}]},{"human_readable":"Deutsche Post UK","name":"deutschepostuk","predefined_packages":[],"service_levels":[{"carrier":"deutschepostuk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PriorityPacketPlus"},{"carrier":"deutschepostuk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PriorityPacket"},{"carrier":"deutschepostuk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PriorityPacketTracked"},{"carrier":"deutschepostuk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"BusinessMailRegistered"},{"carrier":"deutschepostuk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"StandardPacket"},{"carrier":"deutschepostuk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"BusinessMailStandard"}],"shipment_options":[],"supported_features":[]},{"human_readable":"DHL eCommerce Solutions","name":"dhlecommercesolutions","predefined_packages":[],"service_levels":[{"carrier":"dhlecommercesolutions","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DHLParcelExpedited"},{"carrier":"dhlecommercesolutions","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DHLParcelExpeditedMax"},{"carrier":"dhlecommercesolutions","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DHLParcelGround"},{"carrier":"dhlecommercesolutions","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DHLBPMExpedited"},{"carrier":"dhlecommercesolutions","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DHLBPMGround"},{"carrier":"dhlecommercesolutions","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DHLParcelInternationalDirect"},{"carrier":"dhlecommercesolutions","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DHLParcelInternationalStandard"},{"carrier":"dhlecommercesolutions","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DHLPacketInternational"},{"carrier":"dhlecommercesolutions","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DHLParcelInternationalDirectPriority"},{"carrier":"dhlecommercesolutions","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DHLParcelInternationalDirectStandard"}],"shipment_options":[],"supported_features":[]},{"human_readable":"DHL Express","name":"dhlexpress","predefined_packages":[{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"JumboDocument"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"JumboParcel"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Document"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DHLFlyer"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Domestic"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressDocument"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DHLExpressEnvelope"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"JumboBox"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"JumboJuniorDocument"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"JuniorJumboBox"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"JumboJuniorParcel"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"OtherDHLPackaging"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Parcel"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"YourPackaging"}],"service_levels":[{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"BreakBulkEconomy"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"BreakBulkExpress"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DomesticEconomySelect"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DomesticExpress"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DomesticExpress1030"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DomesticExpress1200"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EconomySelect"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EconomySelectNonDoc"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EuroPack"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EuropackNonDoc"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express1030"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express1030NonDoc"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express1200NonDoc"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express1200"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express900"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Express900NonDoc"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressEasy"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressEasyNonDoc"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressEnvelope"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressWorldwide"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressWorldwideB2C"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressWorldwideB2CNonDoc"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressWorldwideECX"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressWorldwideNonDoc"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FreightWorldwide"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"GlobalmailBusiness"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"JetLine"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"JumboBox"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"LogisticsServices"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SameDay"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SecureLine"},{"carrier":"dhlexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SprintLine"}],"shipment_options":[],"supported_features":[]},{"human_readable":"DHL Paket","name":"dhlpaket","predefined_packages":[],"service_levels":[{"carrier":"dhlpaket","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EuroPaket"},{"carrier":"dhlpaket","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Paket"},{"carrier":"dhlpaket","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PaketConnect"},{"carrier":"dhlpaket","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PaketInternational"},{"carrier":"dhlpaket","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Retoure"}],"shipment_options":[],"supported_features":[]},{"human_readable":"DoorDash","name":"doordash","predefined_packages":[],"service_levels":[{"carrier":"doordash","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Standard"}],"shipment_options":[],"supported_features":[{"carrier":"doordash","description":null,"name":"labels","supported":null},{"carrier":"doordash","description":null,"name":"rating","supported":true},{"carrier":"doordash","description":null,"name":"refunds","supported":null}]},{"human_readable":"DPD","name":"dpd","predefined_packages":[],"service_levels":[{"carrier":"dpd","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DPDCLASSIC"},{"carrier":"dpd","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DPD8:30"},{"carrier":"dpd","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DPD10:00"},{"carrier":"dpd","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DPD12:00"},{"carrier":"dpd","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DPD18:00"},{"carrier":"dpd","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DPDEXPRESS"},{"carrier":"dpd","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DPDPARCELLETTER"},{"carrier":"dpd","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DPDPARCELLETTERPLUS"},{"carrier":"dpd","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DPDINTERNATIONALMAIL"}],"shipment_options":[],"supported_features":[]},{"human_readable":"DPD NL","name":"dpdnl","predefined_packages":[],"service_levels":[{"carrier":"dpdnl","description":null,"dimensions":[],"human_readable":"DPDNL Classic","max_weight":null,"name":"DPDNL_CLASSIC"},{"carrier":"dpdnl","description":null,"dimensions":[],"human_readable":"Express 10","max_weight":null,"name":"EXPRESS_10"},{"carrier":"dpdnl","description":null,"dimensions":[],"human_readable":"Express 12","max_weight":null,"name":"EXPRESS_12"},{"carrier":"dpdnl","description":null,"dimensions":[],"human_readable":"Express 18","max_weight":null,"name":"EXPRESS_18"},{"carrier":"dpdnl","description":null,"dimensions":[],"human_readable":"International Express","max_weight":null,"name":"INTERNATIONAL_EXPRESS"},{"carrier":"dpdnl","description":null,"dimensions":[],"human_readable":"DPDNL B2C Home","max_weight":null,"name":"DPDNL_HOME"},{"carrier":"dpdnl","description":null,"dimensions":[],"human_readable":"DPDNL B2C Shop","max_weight":null,"name":"DPDNL_TO_SHOP"}],"shipment_options":[],"supported_features":[{"carrier":"dpdnl","description":null,"name":"commercial_invoices","supported":false},{"carrier":"dpdnl","description":null,"name":"labels","supported":true},{"carrier":"dpdnl","description":null,"name":"orders","supported":false},{"carrier":"dpdnl","description":null,"name":"pickups","supported":false},{"carrier":"dpdnl","description":null,"name":"rating","supported":true},{"carrier":"dpdnl","description":null,"name":"refunds","supported":true},{"carrier":"dpdnl","description":null,"name":"returns","supported":false},{"carrier":"dpdnl","description":null,"name":"scanforms","supported":false},{"carrier":"dpdnl","description":null,"name":"sort_codes","supported":false},{"carrier":"dpdnl","description":null,"name":"test_environment","supported":true}]},{"human_readable":"DPD UK","name":"dpduk","predefined_packages":[{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Parcel"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Pallet"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressPak"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FreightParcel"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Freight"}],"service_levels":[{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"AirClassicInternationalAir"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"AirExpressInternationalAir"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpresspakDpd10:30"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpresspakDpd12:00"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpresspakDpdClassic"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpresspakDpdNextDay"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpresspakSaturday"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpresspakSaturday10:30"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpresspakSaturday12:00"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpresspakSunday"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpresspakSunday12:00"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FreightParcelDpd10:30"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FreightParcelDpd12:00"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FreightParcelDpdClassic"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FreightParcelDpdNextDay"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FreightParcelDpdTwoDay"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FreightParcelSaturday"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FreightParcelSaturday10:30"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FreightParcelSaturday12:00"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FreightParcelSunday"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FreightParcelSunday12:00"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PalletDpd10:30"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PalletDpd12:00"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PalletDpdClassic"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PalletDpdNextDay"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PalletDpdTwoDay"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PalletSaturday"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PalletSaturday10:30"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PalletSaturday12:00"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PalletSunday"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PalletSunday12:00"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelDpd10:30"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelDpd12:00"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelDpdClassic"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelDpdNextDay"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelDpdTwoDay"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelReturnToShop"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelSaturday"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelSaturday10:30"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelSaturday12:00"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelSunday"},{"carrier":"dpduk","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelSunday12:00"}],"shipment_options":[],"supported_features":[]},{"human_readable":"ePostGlobal","name":"epostglobal","predefined_packages":[],"service_levels":[{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CourierServiceDDP"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CourierServiceDDU"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DomesticEconomyParcel"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DomesticParcelBPM"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DomesticPriorityParcel"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DomesticPriorityParcelBPM"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EMIService"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EconomyParcelService"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"IPAService"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ISALService"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PMIService"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PriorityParcelDDP"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PriorityParcelDDU"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PriorityParcelDeliveryConfirmationDDP"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PriorityParcelDeliveryConfirmationDDU"},{"carrier":"epostglobal","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ePacketService"}],"shipment_options":[],"supported_features":[]},{"human_readable":"EPostGlobalV2","name":"epostglobalv2","predefined_packages":[],"service_levels":[{"carrier":"epostglobalv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CourierService"},{"carrier":"epostglobalv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CourierServiceDutiesPaid"},{"carrier":"epostglobalv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DomesticPriorityParcel"},{"carrier":"epostglobalv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DomesticeDGE"},{"carrier":"epostglobalv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EconomyParcel"},{"carrier":"epostglobalv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpeditedParcelWithDeliveryConfirmationDutiesPaid"},{"carrier":"epostglobalv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpeditedWithDC"},{"carrier":"epostglobalv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FirstClassParcelsInternational"},{"carrier":"epostglobalv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"IPA"},{"carrier":"epostglobalv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ISAL"},{"carrier":"epostglobalv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PMEI"},{"carrier":"epostglobalv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PMEIDDP"},{"carrier":"epostglobalv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PMIPresortService"},{"carrier":"epostglobalv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PMIServiceDutyPaid"},{"carrier":"epostglobalv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PriorityPacketDDU"},{"carrier":"epostglobalv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PriorityParcelNoDeliveryConfirmation"},{"carrier":"epostglobalv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PriorityParcelNoDeliveryConfirmationDutiesPaid"},{"carrier":"epostglobalv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PriorityParcelWithDeliveryConfirmation"},{"carrier":"epostglobalv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PriorityParcelWithDeliveryConfirmationDutiesPaid"},{"carrier":"epostglobalv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ePacket"},{"carrier":"epostglobalv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ePacketDDP"}],"shipment_options":[],"supported_features":[{"carrier":"epostglobalv2","description":null,"name":"labels","supported":null},{"carrier":"epostglobalv2","description":null,"name":"rating","supported":true},{"carrier":"epostglobalv2","description":null,"name":"refunds","supported":null}]},{"human_readable":"Estafeta","name":"estafeta","predefined_packages":[{"carrier":"estafeta","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ENVELOPE"},{"carrier":"estafeta","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PARCEL"}],"service_levels":[{"carrier":"estafeta","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"11:30"},{"carrier":"estafeta","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"12:30"},{"carrier":"estafeta","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Dia Sig."},{"carrier":"estafeta","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"2 Dias"},{"carrier":"estafeta","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Terrestre"},{"carrier":"estafeta","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"LTL"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Evri","name":"evri","predefined_packages":[],"service_levels":[{"carrier":"evri","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Courier2Home"},{"carrier":"evri","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Courier2HomeNextDay"},{"carrier":"evri","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Shop2Home"},{"carrier":"evri","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Shop2HomeNextDay"},{"carrier":"evri","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Shop2Shop"},{"carrier":"evri","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Shop2ShopNextDay"},{"carrier":"evri","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Courier2Shop"},{"carrier":"evri","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Courier2ShopNextDay"},{"carrier":"evri","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"International Delivery"},{"carrier":"evri","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Commercial"},{"carrier":"evri","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DDP Courier"},{"carrier":"evri","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DDU Courier"},{"carrier":"evri","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DDU Shop"},{"carrier":"evri","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Postal"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Fastway","name":"fastway","predefined_packages":[{"carrier":"fastway","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Parcel"},{"carrier":"fastway","description":"(Satchel)","dimensions":[],"human_readable":null,"max_weight":null,"name":"A2"},{"carrier":"fastway","description":"(Satchel)","dimensions":[],"human_readable":null,"max_weight":null,"name":"A3"},{"carrier":"fastway","description":"(Satchel, not available in Australia)","dimensions":[],"human_readable":null,"max_weight":null,"name":"A4"},{"carrier":"fastway","description":"(Satchel, not available in South Africa)","dimensions":[],"human_readable":null,"max_weight":null,"name":"A5"},{"carrier":"fastway","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"BOXSML"},{"carrier":"fastway","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"BOXMED"},{"carrier":"fastway","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"BOXLRG"}],"service_levels":[{"carrier":"fastway","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Parcel"},{"carrier":"fastway","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Satchel"}],"shipment_options":[],"supported_features":[]},{"human_readable":"FedEx","name":"fedex","predefined_packages":[{"carrier":"fedex","description":"Up to approximately 60 pages","dimensions":["9.5in x 12.5in"],"human_readable":null,"max_weight":160,"name":"FedExEnvelope"},{"carrier":"fedex","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FedExBox"},{"carrier":"fedex","description":null,"dimensions":["12in x 15.5in"],"human_readable":null,"max_weight":800,"name":"FedExPak"},{"carrier":"fedex","description":"Triangular box for plans, posters, fabric rolls, charts and blueprints","dimensions":["38in x 6in x 6in x 6in"],"human_readable":null,"max_weight":800,"name":"FedExTube"},{"carrier":"fedex","description":"To qualify for the flat rate, weight cannot exceed 10 kg","dimensions":["15.81in x 12.94in x 10.19in"],"human_readable":null,"max_weight":352,"name":"FedEx10kgBox"},{"carrier":"fedex","description":"To qualify for the flat rate, weight cannot exceed 25 kg.","dimensions":["21.56in x 16.56in x 13.19in"],"human_readable":null,"max_weight":880,"name":"FedEx25kgBox"},{"carrier":"fedex","description":"Maximum weight allowed is based on pricing option: 50 lbs (800 oz) for domestic Express One Rate shipments, 20 lbs (320 oz) for domestic weight-based Express shipments, 40 lbs (640 oz) for international weight-based Express shipments.","dimensions":["12.25in x 10.9in x 1.5in","8.75in x 2.63in x 11.25in"],"human_readable":null,"max_weight":800,"name":"FedExSmallBox"},{"carrier":"fedex","description":"Maximum weight allowed is based on pricing option: 50 lbs (800 oz) for domestic Express One Rate shipments, 20 lbs (320 oz) for domestic weight-based Express shipments, 40 lbs (640 oz) for international weight-based Express shipments.","dimensions":["13.25in x 11.5in x 2.38in","8.75in x 4.38in x 11.25in"],"human_readable":null,"max_weight":800,"name":"FedExMediumBox"},{"carrier":"fedex","description":"Maximum weight allowed is based on pricing option: 50 lbs (800 oz) for domestic Express One Rate shipments, 20 lbs (320 oz) for domestic weight-based Express shipments, 40 lbs (640 oz) for international weight-based Express shipments.","dimensions":["17.88in x 12.38in x 3in","8.75in x 7.75in x 11.25in"],"human_readable":null,"max_weight":800,"name":"FedExLargeBox"},{"carrier":"fedex","description":"Maximum weight allowed is based on pricing option: 50 lbs (800 oz) for domestic Express One Rate shipments, 20 lbs (320 oz) for domestic weight-based Express shipments, 40 lbs (640 oz) for international weight-based Express shipments.","dimensions":["11.88in x 10.75in x 11in","15.25in x 14.13in x 6in"],"human_readable":null,"max_weight":800,"name":"FedExExtraLargeBox"}],"service_levels":[{"carrier":"fedex","description":"2 business days by 4:30pm, Saturday delivery","dimensions":null,"human_readable":"FedEx 2 Day","max_weight":null,"name":"FEDEX_2_DAY"},{"carrier":"fedex","description":"2 business days by 10:30am","dimensions":null,"human_readable":"FedEx 2 Day (AM)","max_weight":null,"name":"FEDEX_2_DAY_AM"},{"carrier":"fedex","description":"3 business days by 4:30pm","dimensions":null,"human_readable":"FedEx Express Saver","max_weight":null,"name":"FEDEX_EXPRESS_SAVER"},{"carrier":"fedex","description":"1-6 days","dimensions":null,"human_readable":"FedEx Ground","max_weight":null,"name":"FEDEX_GROUND"},{"carrier":"fedex","description":"2-5 business days","dimensions":null,"human_readable":"FedEx International (Connect Plus)","max_weight":null,"name":"FEDEX_INTERNATIONAL_CONNECT_PLUS"},{"carrier":"fedex","description":"By 8am the next business day, Saturday delivery","dimensions":null,"human_readable":"FedEx First (Overnight)","max_weight":null,"name":"FIRST_OVERNIGHT"},{"carrier":"fedex","description":"1-5 days","dimensions":null,"human_readable":"FedEx Ground (Home Delivery)","max_weight":null,"name":"GROUND_HOME_DELIVERY"},{"carrier":"fedex","description":"4-5 business days","dimensions":null,"human_readable":"FedEx International (Economy)","max_weight":null,"name":"INTERNATIONAL_ECONOMY"},{"carrier":"fedex","description":"1-3 business days, time definite to select markets","dimensions":null,"human_readable":"FedEx International First","max_weight":null,"name":"INTERNATIONAL_FIRST"},{"carrier":"fedex","description":"1-3 business days, time definite to select markets","dimensions":null,"human_readable":"FedEx International (First)","max_weight":null,"name":"INTERNATIONAL_PRIORITY"},{"carrier":"fedex","description":"By 10:30am the next business day, Saturday delivery","dimensions":null,"human_readable":"FedEx Priority Overnight","max_weight":null,"name":"PRIORITY_OVERNIGHT"},{"carrier":"fedex","description":"2-7 business days; Sunday Delivery to select markets","dimensions":null,"human_readable":"FedEx Ground Economy (formerly FedEx SmartPost)","max_weight":null,"name":"SMART_POST"},{"carrier":"fedex","description":"By 4:30pm the next business day","dimensions":null,"human_readable":"FedEx Standard Overnight","max_weight":null,"name":"STANDARD_OVERNIGHT"}],"shipment_options":[],"supported_features":[]},{"human_readable":"FedEx Cross Border","name":"fedexcrossborder","predefined_packages":[],"service_levels":[{"carrier":"fedexcrossborder","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CBEC"},{"carrier":"fedexcrossborder","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CBECL"},{"carrier":"fedexcrossborder","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CBECP"}],"shipment_options":[],"supported_features":[]},{"human_readable":"FedEx Ground Economy","name":"fedexgroundeconomy","predefined_packages":[],"service_levels":[{"carrier":"fedexgroundeconomy","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SMART_POST"}],"shipment_options":[],"supported_features":[]},{"human_readable":"FedEx SmartPost","name":"fedexsmartpost","predefined_packages":[],"service_levels":[{"carrier":"fedexsmartpost","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SMART_POST"}],"shipment_options":[],"supported_features":[]},{"human_readable":"First Choice","name":"firstchoice","predefined_packages":[],"service_levels":[{"carrier":"firstchoice","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ST"}],"shipment_options":[],"supported_features":[{"carrier":"firstchoice","description":null,"name":"labels","supported":null}]},{"human_readable":"First Mile","name":"firstmile","predefined_packages":[],"service_levels":[{"carrier":"firstmile","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"XParcelPriority"},{"carrier":"firstmile","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"XParcelExpedited"},{"carrier":"firstmile","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"XParcelReturns"},{"carrier":"firstmile","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"XParcelGround"},{"carrier":"firstmile","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"XParcelExpeditedPlus"}],"shipment_options":[],"supported_features":[{"carrier":"firstmile","description":null,"name":"labels","supported":true},{"carrier":"firstmile","description":null,"name":"orders","supported":false},{"carrier":"firstmile","description":null,"name":"pickups","supported":false},{"carrier":"firstmile","description":null,"name":"rating","supported":true},{"carrier":"firstmile","description":null,"name":"refunds","supported":true},{"carrier":"firstmile","description":null,"name":"returns","supported":true},{"carrier":"firstmile","description":null,"name":"scanforms","supported":false},{"carrier":"firstmile","description":null,"name":"test_environment","supported":true}]},{"human_readable":"Flexport","name":"flexport","predefined_packages":[],"service_levels":[{"carrier":"flexport","description":null,"dimensions":[],"human_readable":"Standard","max_weight":null,"name":"Standard"},{"carrier":"flexport","description":null,"dimensions":[],"human_readable":"Expedited","max_weight":null,"name":"Expedited"}],"shipment_options":[],"supported_features":[{"carrier":"flexport","description":null,"name":"bill_on_delivery","supported":false},{"carrier":"flexport","description":null,"name":"bill_on_label_purchase","supported":false},{"carrier":"flexport","description":null,"name":"bill_on_manifest","supported":false},{"carrier":"flexport","description":null,"name":"bill_on_scan","supported":true},{"carrier":"flexport","description":null,"name":"commercial_invoices","supported":false},{"carrier":"flexport","description":null,"name":"delivers_to_po_box","supported":false},{"carrier":"flexport","description":null,"name":"labels","supported":true},{"carrier":"flexport","description":null,"name":"orders","supported":false},{"carrier":"flexport","description":null,"name":"pickups","supported":false},{"carrier":"flexport","description":null,"name":"rating","supported":true},{"carrier":"flexport","description":null,"name":"refunds","supported":false},{"carrier":"flexport","description":null,"name":"returns","supported":false},{"carrier":"flexport","description":null,"name":"scanforms","supported":false},{"carrier":"flexport","description":null,"name":"sort_codes","supported":false},{"carrier":"flexport","description":null,"name":"test_environment","supported":false}]},{"human_readable":"Gio","name":"gio","predefined_packages":[],"service_levels":[{"carrier":"gio","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"scheduled"}],"shipment_options":[],"supported_features":[]},{"human_readable":"GLS","name":"gls","predefined_packages":[],"service_levels":[{"carrier":"gls","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CaliforniaParcelService"},{"carrier":"gls","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EarlyPriorityOvernight"},{"carrier":"gls","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EarlySaturdayService"},{"carrier":"gls","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Ground"},{"carrier":"gls","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Overnight"},{"carrier":"gls","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PriorityOvernight"},{"carrier":"gls","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SaturdayDeliveryService"}],"shipment_options":[],"supported_features":[]},{"human_readable":"GSO","name":"gso","predefined_packages":[],"service_levels":[{"carrier":"gso","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CaliforniaParcelService"},{"carrier":"gso","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EarlyPriorityOvernight"},{"carrier":"gso","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EarlySaturdayService"},{"carrier":"gso","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Ground"},{"carrier":"gso","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Overnight"},{"carrier":"gso","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PriorityOvernight"},{"carrier":"gso","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SaturdayDeliveryService"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Hailify","name":"hailify","predefined_packages":[],"service_levels":[{"carrier":"hailify","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Xpress"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Henry","name":"henry","predefined_packages":[],"service_levels":[{"carrier":"henry","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Distribution"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Interlink Express","name":"interlinkexpress","predefined_packages":[{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Parcel"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Pallet"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpressPak"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"FreightParcel"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Freight"}],"service_levels":[{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkAirClassicInternationalAir"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkAirExpressInternationalAir"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak1By10:30"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak1By12"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak1NextDay"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak1Saturday"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak1SaturdayBy10:30"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak1SaturdayBy12"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak1Sunday"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak1SundayBy12"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak5By10"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak5By10:30"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak5By12"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak5NextDay"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak5Saturday"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak5SaturdayBy10"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak5SaturdayBy10:30"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak5SaturdayBy12"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak5Sunday"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkExpresspak5SundayBy12"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkFreightBy10"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkFreightBy12"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkFreightNextDay"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkFreightSaturday"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkFreightSaturdayBy10"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkFreightSaturdayBy12"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkFreightSunday"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkFreightSundayBy12"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelBy10"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelBy10:30"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelBy12"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelDpdEuropeByRoad"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelNextDay"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelReturn"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelReturnToShop"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelSaturday"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelSaturdayBy10"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelSaturdayBy10:30"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelSaturdayBy12"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelShipToShop"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelSunday"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelSundayBy12"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkParcelTwoDay"},{"carrier":"interlinkexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InterlinkPickupParcelDpdEuropeByRoad"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Jet","name":"jet","predefined_packages":[],"service_levels":[{"carrier":"jet","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Distribution"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Jitsu","name":"jitsu","predefined_packages":[],"service_levels":[{"carrier":"jitsu","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"AxleHireDelivery"}],"shipment_options":[],"supported_features":[{"carrier":"jitsu","description":null,"name":"labels","supported":null},{"carrier":"jitsu","description":null,"name":"pickups","supported":null},{"carrier":"jitsu","description":null,"name":"rating","supported":true},{"carrier":"jitsu","description":null,"name":"scanforms","supported":null}]},{"human_readable":"JP Post","name":"jppost","predefined_packages":[],"service_levels":[],"shipment_options":[],"supported_features":[]},{"human_readable":"Kuroneko Yamato","name":"kuronekoyamato","predefined_packages":[],"service_levels":[],"shipment_options":[],"supported_features":[]},{"human_readable":"La Poste","name":"laposte","predefined_packages":[],"service_levels":[],"shipment_options":[],"supported_features":[]},{"human_readable":"LaserShip","name":"lasershipv2","predefined_packages":[{"carrier":"lasershipv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Envelope"},{"carrier":"lasershipv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Custom"}],"service_levels":[{"carrier":"lasershipv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SameDay"},{"carrier":"lasershipv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"NextDay"},{"carrier":"lasershipv2","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Weekend"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Loomis Express","name":"loomisexpress","predefined_packages":[],"service_levels":[{"carrier":"loomisexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"LoomisGround"},{"carrier":"loomisexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"LoomisExpress1800"},{"carrier":"loomisexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"LoomisExpress1200"},{"carrier":"loomisexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"LoomisExpress900"}],"shipment_options":[],"supported_features":[{"carrier":"loomisexpress","description":null,"name":"labels","supported":null},{"carrier":"loomisexpress","description":null,"name":"pickups","supported":null},{"carrier":"loomisexpress","description":null,"name":"rating","supported":true},{"carrier":"loomisexpress","description":null,"name":"scanforms","supported":null},{"carrier":"loomisexpress","description":null,"name":"test_environment","supported":null}]},{"human_readable":"LSO","name":"lso","predefined_packages":[],"service_levels":[{"carrier":"lso","description":null,"dimensions":null,"human_readable":"Early Next Day by 8:30 a.m.","max_weight":null,"name":"PriorityEarly"},{"carrier":"lso","description":null,"dimensions":null,"human_readable":"Priority Next Day by 10:30 a.m.","max_weight":null,"name":"PriorityBasic"},{"carrier":"lso","description":null,"dimensions":null,"human_readable":"Priority 2nd Business Day","max_weight":null,"name":"Priority2ndDay"},{"carrier":"lso","description":null,"dimensions":null,"human_readable":"Economy Next Day by 3 p.m.","max_weight":null,"name":"GroundEarly"},{"carrier":"lso","description":null,"dimensions":null,"human_readable":"Ground Basic in 1-3 business days","max_weight":null,"name":"GroundBasic"},{"carrier":"lso","description":null,"dimensions":null,"human_readable":"eCommerce","max_weight":null,"name":"ECommerce"}],"shipment_options":[{"carrier":"lso","deprecated":false,"description":null,"human_readable":"Delivery Confirmation","name":"delivery_confirmation","type":"string"},{"carrier":"lso","deprecated":false,"description":null,"human_readable":"Saturday Delivery","name":"saturday_delivery","type":"boolean"},{"carrier":"lso","deprecated":true,"description":null,"human_readable":"Date Advance","name":"date_advance","type":"integer"},{"carrier":"lso","deprecated":true,"description":null,"human_readable":"Declared Value","name":"declared_value","type":"float"},{"carrier":"lso","deprecated":false,"description":null,"human_readable":"Label Format","name":"label_format","type":"string"},{"carrier":"lso","deprecated":false,"description":null,"human_readable":"Label Size","name":"label_size","type":"string"},{"carrier":"lso","deprecated":true,"description":null,"human_readable":"Print Custom 1","name":"print_custom_1","type":"string"},{"carrier":"lso","deprecated":true,"description":null,"human_readable":"Print Custom 2","name":"print_custom_2","type":"string"},{"carrier":"lso","deprecated":true,"description":null,"human_readable":"Print Custom 3","name":"print_custom_3","type":"string"}],"supported_features":[{"carrier":"lso","description":null,"name":"bill_on_delivery","supported":false},{"carrier":"lso","description":null,"name":"bill_on_label_purchase","supported":false},{"carrier":"lso","description":null,"name":"bill_on_manifest","supported":false},{"carrier":"lso","description":null,"name":"bill_on_scan","supported":true},{"carrier":"lso","description":null,"name":"commercial_invoices","supported":false},{"carrier":"lso","description":null,"name":"delivers_to_po_box","supported":false},{"carrier":"lso","description":null,"name":"labels","supported":true},{"carrier":"lso","description":null,"name":"orders","supported":false},{"carrier":"lso","description":null,"name":"pickups","supported":true},{"carrier":"lso","description":null,"name":"rating","supported":true},{"carrier":"lso","description":null,"name":"refunds","supported":false},{"carrier":"lso","description":null,"name":"returns","supported":false},{"carrier":"lso","description":null,"name":"scanforms","supported":false},{"carrier":"lso","description":null,"name":"sort_codes","supported":false},{"carrier":"lso","description":null,"name":"test_environment","supported":true}]},{"human_readable":"OnTracV3","name":"ontracv3","predefined_packages":[{"carrier":"ontracv3","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Letter"}],"service_levels":[{"carrier":"ontracv3","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"GRND"},{"carrier":"ontracv3","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Next_Day"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Optima","name":"optima","predefined_packages":[],"service_levels":[{"carrier":"optima","description":null,"dimensions":["Maximum length: 48in","Maximum width: 32in","Maximum height: 32in"],"human_readable":null,"max_weight":800,"name":"NxtDay"}],"shipment_options":[],"supported_features":[]},{"human_readable":"OSM Worldwide","name":"osmworldwide","predefined_packages":[{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"parcel"},{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"irregularparcel"},{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"softpack"}],"service_levels":[{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":"Priority","max_weight":null,"name":"Priority"},{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":"BPM","max_weight":null,"name":"BPM"},{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":"Parcel Select","max_weight":null,"name":"ParcelSelect"},{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":"Media Mail","max_weight":null,"name":"MediaMail"},{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":"Marketing Parcel","max_weight":null,"name":"MarketingParcel"},{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":"Marketing Parcel Tracked","max_weight":null,"name":"MarketingParcelTracked"},{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":"Parcel Select Hazardous Material","max_weight":null,"name":"ParcelSelectHazardousMaterial"},{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":"USPS Ground Advantage","max_weight":null,"name":"USPSGroundAdvantage"},{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":"USPS Ground Advantage Lightweight","max_weight":null,"name":"USPSGroundAdvantageLightweight"},{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":"USPS Ground Advantage Hazmat","max_weight":null,"name":"USPSGroundAdvantageHazmat"},{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":"USPS Ground Advantage Hazmat Signature","max_weight":null,"name":"USPSGroundAdvantageHazmatSignature"},{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":"USPS Ground Advantage Lightweight Hazmat","max_weight":null,"name":"USPSGroundAdvantageLightweightHazmat"},{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":"USPS Ground Advantage Lightweight Hazmat Signature","max_weight":null,"name":"USPSGroundAdvantageLightweightHazmatSignature"},{"carrier":"osmworldwide","description":null,"dimensions":[],"human_readable":"Parcel Select Hazmat Signature","max_weight":null,"name":"ParcelSelectHazmatSignature"}],"shipment_options":[],"supported_features":[{"carrier":"osmworldwide","description":null,"name":"labels","supported":true},{"carrier":"osmworldwide","description":null,"name":"orders","supported":false},{"carrier":"osmworldwide","description":null,"name":"pickups","supported":false},{"carrier":"osmworldwide","description":null,"name":"rating","supported":true},{"carrier":"osmworldwide","description":null,"name":"refunds","supported":false},{"carrier":"osmworldwide","description":null,"name":"returns","supported":false},{"carrier":"osmworldwide","description":"Manifesting","name":"scanforms","supported":true},{"carrier":"osmworldwide","description":null,"name":"sort_codes","supported":true}]},{"human_readable":"Pandion","name":"pandion","predefined_packages":[],"service_levels":[{"carrier":"pandion","description":null,"dimensions":[],"human_readable":"Pandion Express","max_weight":null,"name":"Pandion Express"}],"shipment_options":[],"supported_features":[{"carrier":"pandion","description":null,"name":"bill_on_delivery","supported":false},{"carrier":"pandion","description":null,"name":"bill_on_label_purchase","supported":false},{"carrier":"pandion","description":null,"name":"bill_on_manifest","supported":true},{"carrier":"pandion","description":null,"name":"bill_on_scan","supported":true},{"carrier":"pandion","description":null,"name":"commercial_invoices","supported":false},{"carrier":"pandion","description":null,"name":"delivers_to_po_box","supported":false},{"carrier":"pandion","description":null,"name":"labels","supported":true},{"carrier":"pandion","description":null,"name":"orders","supported":false},{"carrier":"pandion","description":null,"name":"pickups","supported":false},{"carrier":"pandion","description":null,"name":"rating","supported":true},{"carrier":"pandion","description":null,"name":"refunds","supported":false},{"carrier":"pandion","description":null,"name":"returns","supported":true},{"carrier":"pandion","description":null,"name":"scanforms","supported":true},{"carrier":"pandion","description":null,"name":"sort_codes","supported":false},{"carrier":"pandion","description":null,"name":"test_environment","supported":true}]},{"human_readable":"Parcelforce","name":"parcelforce","predefined_packages":[],"service_levels":[{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"europrioritybusiness"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"europriorityhome"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"express10"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"express10CourierPack"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"express10Exchange"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"express10Secure"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"express10SecureExchange"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"express24"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"express24CourierPack"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"express24Exchange"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"express24large"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"express24Secure"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"express24SecureExchange"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"express48"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"express48large"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"express9"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"express9CourierPack"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"express9Secure"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"expressAM"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"expressAMCourierPack"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"expressAMExchange"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"expressAMSecure"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"expressAMSecureExchange"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"expressPM"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"expressPMSecure"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"globalBulkDirect"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"globalexpress"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"globalexpressEnvelopeDelivery"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"globalexpressPackDelivery"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"globalpriority"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"globalpriorityReturns"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"globalvalue"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"irelandexpress"},{"carrier":"parcelforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelRiderPlus"}],"shipment_options":[],"supported_features":[]},{"human_readable":"PARCLL","name":"parcll","predefined_packages":[],"service_levels":[{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CADOECOEA (CA Domestic Economy East)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CADOECOWE (CA Domestic Economy West)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CAECOCE (US to CA Economy)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CAECONE (US to CA Economy)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"CAECOWE (US to CA Economy)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ECOCE (Economy Central)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ECOEA (Economy East)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ECONE (Economy Northeast)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ECOSO (Economy South)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ECOWE (Economy West)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EUECOWE (US to Europe Economy)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EXPBNE (Expedited Northeast)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EXPWE (Expedited West)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"REGCE (Regional Central)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"REGEA (Regional East)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"REGNE (Regional Northeast)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"REGSO (Regional South)"},{"carrier":"parcll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"REGWE (Regional West)"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Passport","name":"passportglobal","predefined_packages":[],"service_levels":[],"shipment_options":[],"supported_features":[]},{"human_readable":"PostNL","name":"postnl","predefined_packages":[],"service_levels":[],"shipment_options":[],"supported_features":[]},{"human_readable":"Purolator","name":"purolator","predefined_packages":[{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"CustomerPackaging","max_weight":null,"name":"CUSTOMERPACKAGING"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"ExpressPack","max_weight":null,"name":"EXPRESSPACK"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"ExpressBox","max_weight":null,"name":"EXPRESSBOX"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"ExpressEnvelope","max_weight":null,"name":"EXPRESSENVELOPE"}],"service_levels":[{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express","max_weight":null,"name":"PurolatorExpress"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express 12PM","max_weight":null,"name":"PurolatorExpress12PM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Pack 12PM","max_weight":null,"name":"PurolatorExpressPack12PM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Box 12PM","max_weight":null,"name":"PurolatorExpressBox12PM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Envelope 12PM","max_weight":null,"name":"PurolatorExpressEnvelope12PM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express 10:30AM","max_weight":null,"name":"PurolatorExpress1030AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express 9AM","max_weight":null,"name":"PurolatorExpress9AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Box","max_weight":null,"name":"PurolatorExpressBox"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Box 10:30AM","max_weight":null,"name":"PurolatorExpressBox1030AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Box 9AM","max_weight":null,"name":"PurolatorExpressBox9AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Box Evening","max_weight":null,"name":"PurolatorExpressBoxEvening"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Box International","max_weight":null,"name":"PurolatorExpressBoxInternational"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Box US","max_weight":null,"name":"PurolatorExpressBoxUS"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Envelope","max_weight":null,"name":"PurolatorExpressEnvelope"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Envelope 10:30AM","max_weight":null,"name":"PurolatorExpressEnvelope1030AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Envelope 9AM","max_weight":null,"name":"PurolatorExpressEnvelope9AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Envelope Evening","max_weight":null,"name":"PurolatorExpressEnvelopeEvening"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Envelope International","max_weight":null,"name":"PurolatorExpressEnvelopeInternational"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Envelope US","max_weight":null,"name":"PurolatorExpressEnvelopeUS"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Evening","max_weight":null,"name":"PurolatorExpressEvening"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express International","max_weight":null,"name":"PurolatorExpressInternational"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express International 10:30AM","max_weight":null,"name":"PurolatorExpressInternational1030AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express International 12:00","max_weight":null,"name":"PurolatorExpressInternational1200"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express International 9AM","max_weight":null,"name":"PurolatorExpressInternational9AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Box International 10:30AM","max_weight":null,"name":"PurolatorExpressBoxInternational1030AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Box International 12:00","max_weight":null,"name":"PurolatorExpressBoxInternational1200"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Box International 9AM","max_weight":null,"name":"PurolatorExpressBoxInternational9AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Envelope International 10:30AM","max_weight":null,"name":"PurolatorExpressEnvelopeInternational1030AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Envelope International 12:00","max_weight":null,"name":"PurolatorExpressEnvelopeInternational1200"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Envelope International 9AM","max_weight":null,"name":"PurolatorExpressEnvelopeInternational9AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Pack International 10:30AM","max_weight":null,"name":"PurolatorExpressPackInternational1030AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Pack International 12:00","max_weight":null,"name":"PurolatorExpressPackInternational1200"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Pack International 9AM","max_weight":null,"name":"PurolatorExpressPackInternational9AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Pack","max_weight":null,"name":"PurolatorExpressPack"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Pack 10:30AM","max_weight":null,"name":"PurolatorExpressPack1030AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Pack 9AM","max_weight":null,"name":"PurolatorExpressPack9AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Pack Evening","max_weight":null,"name":"PurolatorExpressPackEvening"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Pack International","max_weight":null,"name":"PurolatorExpressPackInternational"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Pack US","max_weight":null,"name":"PurolatorExpressPackUS"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express US","max_weight":null,"name":"PurolatorExpressUS"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express US 10:30AM","max_weight":null,"name":"PurolatorExpressUS1030AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express US 12:00","max_weight":null,"name":"PurolatorExpressUS1200"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express US 9AM","max_weight":null,"name":"PurolatorExpressUS9AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Box US 10:30AM","max_weight":null,"name":"PurolatorExpressBoxUS1030AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Box US 12:00","max_weight":null,"name":"PurolatorExpressBoxUS1200"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Box US 9AM","max_weight":null,"name":"PurolatorExpressBoxUS9AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Envelope US 10:30AM","max_weight":null,"name":"PurolatorExpressEnvelopeUS1030AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Envelope US 12:00","max_weight":null,"name":"PurolatorExpressEnvelopeUS1200"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Envelope US 9AM","max_weight":null,"name":"PurolatorExpressEnvelopeUS9AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Pack US 10:30AM","max_weight":null,"name":"PurolatorExpressPackUS1030AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Pack US 12:00","max_weight":null,"name":"PurolatorExpressPackUS1200"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Express Pack US 9AM","max_weight":null,"name":"PurolatorExpressPackUS9AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Ground","max_weight":null,"name":"PurolatorGround"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Ground 10:30AM","max_weight":null,"name":"PurolatorGround1030AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Ground 9AM","max_weight":null,"name":"PurolatorGround9AM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Ground 12PM","max_weight":null,"name":"PurolatorGround12PM"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Ground Distribution","max_weight":null,"name":"PurolatorGroundDistribution"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Ground Evening","max_weight":null,"name":"PurolatorGroundEvening"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Ground US","max_weight":null,"name":"PurolatorGroundUS"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Quick Ship","max_weight":null,"name":"PurolatorQuickShip"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Quick Ship Envelope","max_weight":null,"name":"PurolatorQuickShipEnvelope"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Quick Ship Pack","max_weight":null,"name":"PurolatorQuickShipPack"},{"carrier":"purolator","description":null,"dimensions":[],"human_readable":"Purolator Quick Ship Box","max_weight":null,"name":"PurolatorQuickShipBox"}],"shipment_options":[],"supported_features":[{"carrier":"purolator","description":null,"name":"bill_on_delivery","supported":true},{"carrier":"purolator","description":null,"name":"commercial_invoices","supported":true},{"carrier":"purolator","description":null,"name":"labels","supported":true},{"carrier":"purolator","description":null,"name":"orders","supported":true},{"carrier":"purolator","description":null,"name":"pickups","supported":true},{"carrier":"purolator","description":null,"name":"rating","supported":true},{"carrier":"purolator","description":"Purolator bills at the end of the day for all labels created that day. You cannot refund a label after the end of the day it was created.","name":"refunds","supported":true},{"carrier":"purolator","description":null,"name":"returns","supported":true},{"carrier":"purolator","description":null,"name":"scanforms","supported":true},{"carrier":"purolator","description":null,"name":"sort_codes","supported":false},{"carrier":"purolator","description":null,"name":"test_environment","supported":true}]},{"human_readable":"Quick","name":"quick","predefined_packages":[],"service_levels":[{"carrier":"quick","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Routed"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Royal Mail","name":"royalmail","predefined_packages":[{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"LARGELETTER"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SMALLPARCEL"},{"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","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InternationalPriority"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InternationalEconomy"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InternationalStandard"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InternationalTrackedAndSigned"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InternationalTracked"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InternationalSigned"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"AccountMail"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"RoyalMailUnsigned"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"RoyalMail"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SpecialDeliveryGuaranteed"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SpecialDeliveryGuaranteed1pm"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SpecialDeliveryGuaranteed9am"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"StandardLetter"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Tracked24"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Tracked24HighVolume"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Tracked24HighVolumeSignature"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Tracked24LBT"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Tracked24SignatureLBT"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Tracked48LBT"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Tracked48SignatureLBT"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Tracked24Signature"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Tracked48"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Tracked48HighVolume"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Tracked48HighVolumeSignature"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Tracked48Signature"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"TrackedReturns24"},{"carrier":"royalmail","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"TrackedReturns48"},{"carrier":"royalmail","description":null,"dimensions":[],"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":"bill_on_delivery","supported":false},{"carrier":"royalmail","description":null,"name":"bill_on_label_purchase","supported":false},{"carrier":"royalmail","description":null,"name":"bill_on_manifest","supported":true},{"carrier":"royalmail","description":null,"name":"bill_on_scan","supported":false},{"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":"labels","supported":true},{"carrier":"royalmail","description":null,"name":"orders","supported":false},{"carrier":"royalmail","description":null,"name":"pickups","supported":false},{"carrier":"royalmail","description":null,"name":"rating","supported":true},{"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":"sort_codes","supported":true},{"carrier":"royalmail","description":null,"name":"test_environment","supported":true}]},{"human_readable":"SEKO OmniParcel","name":"sekoomniparcel","predefined_packages":[{"carrier":"sekoomniparcel","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Bag"},{"carrier":"sekoomniparcel","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Box"},{"carrier":"sekoomniparcel","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Carton"},{"carrier":"sekoomniparcel","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Container"},{"carrier":"sekoomniparcel","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Crate"},{"carrier":"sekoomniparcel","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Envelope"},{"carrier":"sekoomniparcel","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Pail"},{"carrier":"sekoomniparcel","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Pallet"},{"carrier":"sekoomniparcel","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Satchel"},{"carrier":"sekoomniparcel","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Tub"}],"service_levels":[{"carrier":"sekoomniparcel","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Ecommerce Standard Tracked"},{"carrier":"sekoomniparcel","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Ecommerce Express Tracked"},{"carrier":"sekoomniparcel","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Domestic Express"},{"carrier":"sekoomniparcel","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Domestic Standard"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Sendle","name":"sendle","predefined_packages":[],"service_levels":[{"carrier":"sendle","description":null,"dimensions":[],"human_readable":"Standard","max_weight":null,"name":"Standard"},{"carrier":"sendle","description":null,"dimensions":[],"human_readable":"Express","max_weight":null,"name":"Express"},{"carrier":"sendle","description":null,"dimensions":[],"human_readable":"Saver","max_weight":null,"name":"Saver"},{"carrier":"sendle","description":null,"dimensions":[],"human_readable":"Two-Day","max_weight":null,"name":"Two-Day"},{"carrier":"sendle","description":null,"dimensions":[],"human_readable":"Three-Day","max_weight":null,"name":"Three-Day"}],"shipment_options":[],"supported_features":[]},{"human_readable":"SF Express","name":"sfexpress","predefined_packages":[],"service_levels":[{"carrier":"sfexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InternationalStandardExpressDoc"},{"carrier":"sfexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InternationalStandardExpressParcel"},{"carrier":"sfexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InternationalEconomyExpressPilot"},{"carrier":"sfexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InternationalEconomyExpressDoc"},{"carrier":"sfexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"InternationalEconomyExpressParcel"},{"carrier":"sfexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DomesticExpress"},{"carrier":"sfexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DomesticStandard"},{"carrier":"sfexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DomesticIntraCity"},{"carrier":"sfexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"StandardExpress"},{"carrier":"sfexpress","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EconomyExpress"}],"shipment_options":[],"supported_features":[]},{"human_readable":"SmartKargo","name":"smartkargo","predefined_packages":[],"service_levels":[{"carrier":"smartkargo","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EPR"},{"carrier":"smartkargo","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EPS"},{"carrier":"smartkargo","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EST"},{"carrier":"smartkargo","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EXP"}],"shipment_options":[],"supported_features":[{"carrier":"smartkargo","description":null,"name":"labels","supported":null},{"carrier":"smartkargo","description":null,"name":"rating","supported":true},{"carrier":"smartkargo","description":null,"name":"refunds","supported":null},{"carrier":"smartkargo","description":null,"name":"test_environment","supported":null}]},{"human_readable":"Sonic","name":"sonic","predefined_packages":[],"service_levels":[{"carrier":"sonic","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SAMEDAY"}],"shipment_options":[],"supported_features":[{"carrier":"sonic","description":null,"name":"bill_on_delivery","supported":true},{"carrier":"sonic","description":null,"name":"bill_on_label_purchase","supported":false},{"carrier":"sonic","description":null,"name":"bill_on_manifest","supported":false},{"carrier":"sonic","description":null,"name":"bill_on_scan","supported":false},{"carrier":"sonic","description":null,"name":"commercial_invoices","supported":false},{"carrier":"sonic","description":null,"name":"labels","supported":true},{"carrier":"sonic","description":null,"name":"orders","supported":false},{"carrier":"sonic","description":null,"name":"pickups","supported":false},{"carrier":"sonic","description":null,"name":"rating","supported":true},{"carrier":"sonic","description":null,"name":"refunds","supported":true},{"carrier":"sonic","description":null,"name":"returns","supported":false},{"carrier":"sonic","description":null,"name":"scanforms","supported":false},{"carrier":"sonic","description":null,"name":"sort_codes","supported":false},{"carrier":"sonic","description":null,"name":"test_environment","supported":false}]},{"human_readable":"Spee-Dee","name":"speedee","predefined_packages":[],"service_levels":[{"carrier":"speedee","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SpeeDeeDelivery"}],"shipment_options":[],"supported_features":[]},{"human_readable":"SpeedX","name":"speedx","predefined_packages":[],"service_levels":[{"carrier":"speedx","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DGD"},{"carrier":"speedx","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"D2A"},{"carrier":"speedx","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DZS"}],"shipment_options":[],"supported_features":[{"carrier":"speedx","description":null,"name":"labels","supported":null},{"carrier":"speedx","description":null,"name":"rating","supported":true},{"carrier":"speedx","description":null,"name":"refunds","supported":null}]},{"human_readable":"Swyft","name":"swyft","predefined_packages":[],"service_levels":[{"carrier":"swyft","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"NEXTDAY"},{"carrier":"swyft","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SAMEDAY"}],"shipment_options":[],"supported_features":[{"carrier":"swyft","description":null,"name":"bill_on_delivery","supported":true},{"carrier":"swyft","description":null,"name":"bill_on_label_purchase","supported":false},{"carrier":"swyft","description":null,"name":"bill_on_manifest","supported":false},{"carrier":"swyft","description":null,"name":"bill_on_scan","supported":false},{"carrier":"swyft","description":null,"name":"commercial_invoices","supported":false},{"carrier":"swyft","description":null,"name":"labels","supported":false},{"carrier":"swyft","description":null,"name":"orders","supported":false},{"carrier":"swyft","description":null,"name":"pickups","supported":false},{"carrier":"swyft","description":null,"name":"rating","supported":true},{"carrier":"swyft","description":null,"name":"refunds","supported":true},{"carrier":"swyft","description":null,"name":"returns","supported":false},{"carrier":"swyft","description":null,"name":"scanforms","supported":false},{"carrier":"swyft","description":null,"name":"sort_codes","supported":false},{"carrier":"swyft","description":null,"name":"test_environment","supported":false}]},{"human_readable":"TCC","name":"tcc","predefined_packages":[],"service_levels":[{"carrier":"tcc","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Smith Drug Same Day"}],"shipment_options":[],"supported_features":[]},{"human_readable":"TForce Logistics","name":"tforce","predefined_packages":[],"service_levels":[{"carrier":"tforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"NextDay"},{"carrier":"tforce","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Return"}],"shipment_options":[],"supported_features":[]},{"human_readable":"Toll","name":"toll","predefined_packages":[],"service_levels":[{"carrier":"toll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"IPEC Direct"},{"carrier":"toll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"IPEC Fashion"},{"carrier":"toll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"IPEC Local"},{"carrier":"toll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"IPEC Priority"},{"carrier":"toll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"IPEC Road Express"},{"carrier":"toll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"IPEC Sensitive"},{"carrier":"toll","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"IPEC VicEXP"}],"shipment_options":[],"supported_features":[]},{"human_readable":"UDS","name":"uds","predefined_packages":[],"service_levels":[{"carrier":"uds","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"DeliveryService"}],"shipment_options":[],"supported_features":[]},{"human_readable":"UPS","name":"ups","predefined_packages":[{"carrier":"ups","description":null,"dimensions":["12.5in - 15in x 9.5in"],"human_readable":null,"max_weight":16,"name":"UPSLetter"},{"carrier":"ups","description":null,"dimensions":["12.5in x 3.75in x 18in"],"human_readable":null,"max_weight":480,"name":"UPSExpressBox"},{"carrier":"ups","description":null,"dimensions":["19.75in x 17.75in x 13.25in"],"human_readable":null,"max_weight":880,"name":"UPS25kgBox"},{"carrier":"ups","description":null,"dimensions":["16.5in x 13.25in x 10.75in"],"human_readable":null,"max_weight":352,"name":"UPS10kgBox"},{"carrier":"ups","description":"Triangular tube for rolled papers","dimensions":["38in x 6in x 6in"],"human_readable":null,"max_weight":null,"name":"Tube"},{"carrier":"ups","description":null,"dimensions":["16in x 12.75in"],"human_readable":null,"max_weight":null,"name":"Pak"},{"carrier":"ups","description":null,"dimensions":["13in x 11in x 2in"],"human_readable":null,"max_weight":480,"name":"SmallExpressBox"},{"carrier":"ups","description":null,"dimensions":["16in x 11in x 3in"],"human_readable":null,"max_weight":480,"name":"MediumExpressBox"},{"carrier":"ups","description":null,"dimensions":["18in x 13in x 3in"],"human_readable":null,"max_weight":480,"name":"LargeExpressBox"}],"service_levels":[{"carrier":"ups","description":"1-5 Business Days","dimensions":null,"human_readable":"UPS Ground","max_weight":null,"name":"Ground"},{"carrier":"ups","description":"1-5 Business Days","dimensions":null,"human_readable":"UPS Standard","max_weight":null,"name":"UPSStandard"},{"carrier":"ups","description":"Next Day to 4 Business Days","dimensions":null,"human_readable":"UPS Worldwide Saver","max_weight":null,"name":"UPSSaver"},{"carrier":"ups","description":"Next Day to 3 Business Days","dimensions":null,"human_readable":"UPS Worldwide Express","max_weight":null,"name":"Express"},{"carrier":"ups","description":"Next Day to 2 Business Days","dimensions":null,"human_readable":"UPS Worldwide Express Plus","max_weight":null,"name":"ExpressPlus"},{"carrier":"ups","description":"3 to 5 Business Days","dimensions":null,"human_readable":"UPS Worldwide Expedited","max_weight":null,"name":"Expedited"},{"carrier":"ups","description":"Next Business Day by 10:30am","dimensions":null,"human_readable":"UPS Next Day Air","max_weight":null,"name":"NextDayAir"},{"carrier":"ups","description":"Next Business Day by 3:00pm","dimensions":null,"human_readable":"UPS Next Day Air Saver","max_weight":null,"name":"NextDayAirSaver"},{"carrier":"ups","description":"Next Business Days by 8:00am","dimensions":null,"human_readable":"UPS Next Day Air A.M.","max_weight":null,"name":"NextDayAirEarlyAM"},{"carrier":"ups","description":"2 Business Days by end of day","dimensions":null,"human_readable":"UPS 2nd Day Air","max_weight":null,"name":"2ndDayAir"},{"carrier":"ups","description":null,"dimensions":null,"human_readable":null,"max_weight":null,"name":"2ndDayAirAM"},{"carrier":"ups","description":"3 Business Days by end of day","dimensions":null,"human_readable":"UPS 3-Day Select","max_weight":null,"name":"3DaySelect"}],"shipment_options":[],"supported_features":[]},{"human_readable":"UPS iParcel","name":"upsiparcel","predefined_packages":[],"service_levels":[],"shipment_options":[],"supported_features":[]},{"human_readable":"UPS Mail Innovations","name":"upsmailinnovations","predefined_packages":[],"service_levels":[{"carrier":"upsmailinnovations","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"BPMFlats"},{"carrier":"upsmailinnovations","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"BPMParcels"},{"carrier":"upsmailinnovations","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"EconomyMailInnovations"},{"carrier":"upsmailinnovations","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ExpeditedMailInnovations"},{"carrier":"upsmailinnovations","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"First"},{"carrier":"upsmailinnovations","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"MarketingParcels"},{"carrier":"upsmailinnovations","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"MediaMail"},{"carrier":"upsmailinnovations","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelSelect"},{"carrier":"upsmailinnovations","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"ParcelSelectLightweight-Irreg"},{"carrier":"upsmailinnovations","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"Priority"},{"carrier":"upsmailinnovations","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"PriorityMailInnovations"},{"carrier":"upsmailinnovations","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"SingleReturns"},{"carrier":"upsmailinnovations","description":null,"dimensions":[],"human_readable":null,"max_weight":null,"name":"StandardFlats"}],"shipment_options":[],"supported_features":[]},{"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,"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":"First-Class Mail\u00ae","max_weight":13,"name":"First"},{"carrier":"usps","description":"1-3 business days","dimensions":["Combined Length and Girth < 108in"],"human_readable":"Priority Mail\u00ae","max_weight":1120,"name":"Priority"},{"carrier":"usps","description":"1-2 days","dimensions":["Combined Length and Girth < 108in"],"human_readable":"Priority Mail Express\u00ae","max_weight":1120,"name":"Express"},{"carrier":"usps","description":"2-5 days","dimensions":["Combined Length and Girth < 130in"],"human_readable":"USPS Ground Advantage\u00ae","max_weight":70,"name":"GroundAdvantage"},{"carrier":"usps","description":"2-8 business days","dimensions":["Combined Length and Girth < 108in"],"human_readable":"Library Mail\u00ae","max_weight":1120,"name":"LibraryMail"},{"carrier":"usps","description":"2-8 business days","dimensions":["Combined Length and Girth < 108in"],"human_readable":"Media Mail\u00ae","max_weight":1120,"name":"MediaMail"},{"carrier":"usps","description":null,"dimensions":["Must be rectangular, otherwise an additional charge may apply."],"human_readable":"First-Class Mail International\u00ae","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":"First-Class Package International Service\u00ae","max_weight":64,"name":"FirstClassPackageInternationalService"},{"carrier":"usps","description":"6-10 business days","dimensions":["Combined Length and Girth < 108in"],"human_readable":"Priority Mail International\u00ae","max_weight":1120,"name":"PriorityMailInternational"},{"carrier":"usps","description":"3-5 business days","dimensions":["Combined Length and Girth < 108in"],"human_readable":"Priority Mail Express International\u00ae","max_weight":1120,"name":"ExpressMailInternational"}],"shipment_options":[],"supported_features":[{"carrier":"usps","description":null,"name":"bill_on_delivery","supported":null},{"carrier":"usps","description":null,"name":"bill_on_label_purchase","supported":null},{"carrier":"usps","description":null,"name":"commercial_invoices","supported":null},{"carrier":"usps","description":null,"name":"delivers_to_po_box","supported":null},{"carrier":"usps","description":null,"name":"labels","supported":null},{"carrier":"usps","description":null,"name":"pickups","supported":null},{"carrier":"usps","description":null,"name":"rating","supported":true},{"carrier":"usps","description":null,"name":"refunds","supported":null},{"carrier":"usps","description":null,"name":"returns","supported":null},{"carrier":"usps","description":null,"name":"scanforms","supported":null},{"carrier":"usps","description":null,"name":"test_environment","supported":null}]},{"human_readable":"Veho","name":"veho","predefined_packages":[],"service_levels":[{"carrier":"veho","description":null,"dimensions":null,"human_readable":"Next Day","max_weight":800,"name":"nextDay"},{"carrier":"veho","description":null,"dimensions":null,"human_readable":"Same Day","max_weight":800,"name":"sameDay"}],"shipment_options":[],"supported_features":[{"carrier":"veho","description":null,"name":"labels","supported":null},{"carrier":"veho","description":null,"name":"pickups","supported":null},{"carrier":"veho","description":null,"name":"rating","supported":true},{"carrier":"veho","description":null,"name":"test_environment","supported":null}]},{"human_readable":"Yanwen","name":"yanwen","predefined_packages":[],"service_levels":[],"shipment_options":[],"supported_features":[]}]}' curl_info: url: 'https://api.easypost.com/v2/metadata/carriers' content_type: 'application/json; charset=utf-8' @@ -45,33 +44,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.472066 - namelookup_time: 0.001274 - connect_time: 0.063269 - pretransfer_time: 0.12667 + total_time: 0.266294 + namelookup_time: 0.002127 + connect_time: 0.031753 + pretransfer_time: 0.064783 size_upload: 0.0 - size_download: 187870.0 - speed_download: 397974.0 + size_download: 165062.0 + speed_download: 619848.0 speed_upload: 0.0 - download_content_length: 187870.0 + download_content_length: 165062.0 upload_content_length: 0.0 - starttransfer_time: 0.261797 + starttransfer_time: 0.177427 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53569 + local_ip: 192.168.1.75 + local_port: 52771 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 126638 - connect_time_us: 63269 - namelookup_time_us: 1274 - pretransfer_time_us: 126670 + scheme: https + appconnect_time_us: 64734 + connect_time_us: 31753 + namelookup_time_us: 2127 + pretransfer_time_us: 64783 redirect_time_us: 0 - starttransfer_time_us: 261797 - total_time_us: 472066 + starttransfer_time_us: 177427 + total_time_us: 266294 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/carrier_metadata/retrieveCarrierMetadataWithFilters.yml b/test/cassettes/carrier_metadata/retrieveCarrierMetadataWithFilters.yml index 1d88c6cd..586400a0 100644 --- a/test/cassettes/carrier_metadata/retrieveCarrierMetadataWithFilters.yml +++ b/test/cassettes/carrier_metadata/retrieveCarrierMetadataWithFilters.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,19 +21,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f873655e653ce7885dc8001f4066 + x-ep-request-uuid: e181587c66bcec02e2b90017008700da cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '4808' - x-runtime: '0.039548' - x-node: bigweb35nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '5074' + x-runtime: '0.036553' + x-node: bigweb40nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"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,"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,"name":"First"},{"carrier":"usps","description":"1-3 business days","dimensions":["Combined Length and Girth < 108in"],"human_readable":null,"max_weight":1120,"name":"Priority"},{"carrier":"usps","description":"1-2 days","dimensions":["Combined Length and Girth < 108in"],"human_readable":null,"max_weight":1120,"name":"Express"},{"carrier":"usps","description":"2-5 days","dimensions":["Combined Length and Girth < 130in"],"human_readable":null,"max_weight":70,"name":"GroundAdvantage"},{"carrier":"usps","description":"2-8 business days","dimensions":["Combined Length and Girth < 108in"],"human_readable":null,"max_weight":1120,"name":"LibraryMail"},{"carrier":"usps","description":"2-8 business days","dimensions":["Combined Length and Girth < 108in"],"human_readable":null,"max_weight":1120,"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,"name":"FirstClassPackageInternationalService"},{"carrier":"usps","description":"6-10 business days","dimensions":["Combined Length and Girth < 108in"],"human_readable":null,"max_weight":1120,"name":"PriorityMailInternational"},{"carrier":"usps","description":"3-5 business days","dimensions":["Combined Length and Girth < 108in"],"human_readable":null,"max_weight":1120,"name":"ExpressMailInternational"}]}]}' + body: '{"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,"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":"First-Class Mail\u00ae","max_weight":13,"name":"First"},{"carrier":"usps","description":"1-3 business days","dimensions":["Combined Length and Girth < 108in"],"human_readable":"Priority Mail\u00ae","max_weight":1120,"name":"Priority"},{"carrier":"usps","description":"1-2 days","dimensions":["Combined Length and Girth < 108in"],"human_readable":"Priority Mail Express\u00ae","max_weight":1120,"name":"Express"},{"carrier":"usps","description":"2-5 days","dimensions":["Combined Length and Girth < 130in"],"human_readable":"USPS Ground Advantage\u00ae","max_weight":70,"name":"GroundAdvantage"},{"carrier":"usps","description":"2-8 business days","dimensions":["Combined Length and Girth < 108in"],"human_readable":"Library Mail\u00ae","max_weight":1120,"name":"LibraryMail"},{"carrier":"usps","description":"2-8 business days","dimensions":["Combined Length and Girth < 108in"],"human_readable":"Media Mail\u00ae","max_weight":1120,"name":"MediaMail"},{"carrier":"usps","description":null,"dimensions":["Must be rectangular, otherwise an additional charge may apply."],"human_readable":"First-Class Mail International\u00ae","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":"First-Class Package International Service\u00ae","max_weight":64,"name":"FirstClassPackageInternationalService"},{"carrier":"usps","description":"6-10 business days","dimensions":["Combined Length and Girth < 108in"],"human_readable":"Priority Mail International\u00ae","max_weight":1120,"name":"PriorityMailInternational"},{"carrier":"usps","description":"3-5 business days","dimensions":["Combined Length and Girth < 108in"],"human_readable":"Priority Mail Express International\u00ae","max_weight":1120,"name":"ExpressMailInternational"}]}]}' curl_info: url: 'https://api.easypost.com/v2/metadata/carriers?carriers=usps&types=service_levels%2Cpredefined_packages' content_type: 'application/json; charset=utf-8' @@ -44,33 +43,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.245814 - namelookup_time: 0.001099 - connect_time: 0.063612 - pretransfer_time: 0.141741 + total_time: 0.141756 + namelookup_time: 0.001694 + connect_time: 0.034287 + pretransfer_time: 0.069231 size_upload: 0.0 - size_download: 4808.0 - speed_download: 19559.0 + size_download: 5074.0 + speed_download: 35793.0 speed_upload: 0.0 - download_content_length: 4808.0 + download_content_length: 5074.0 upload_content_length: 0.0 - starttransfer_time: 0.245784 + starttransfer_time: 0.141674 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53568 + local_ip: 192.168.1.75 + local_port: 52772 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 141637 - connect_time_us: 63612 - namelookup_time_us: 1099 - pretransfer_time_us: 141741 + scheme: https + appconnect_time_us: 69198 + connect_time_us: 34287 + namelookup_time_us: 1694 + pretransfer_time_us: 69231 redirect_time_us: 0 - starttransfer_time_us: 245784 - total_time_us: 245814 + starttransfer_time_us: 141674 + total_time_us: 141756 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/claim/all.yml b/test/cassettes/claim/all.yml index 75c091ff..21d069ff 100644 --- a/test/cassettes/claim/all.yml +++ b/test/cassettes/claim/all.yml @@ -21,20 +21,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 98f5fae766a00b65e79a82a7001933ca + x-ep-request-uuid: e181587d66bcec07e2b900390087077d cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '2252' - x-runtime: '0.039310' + content-length: '5709' + x-runtime: '0.052826' x-node: bigweb43nuq - x-version-label: easypost-202407231832-14d334dc13-master + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost x-canary: direct - x-proxied: ['intlb4nuq c0f5e722d1', 'extlb1nuq fa152d4755'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"claims":[{"approved_amount":null,"attachments":["https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/379d4f0d76c847adabddde44f53f397d.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/d55632462ea34ac3a8419cd735e12708.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/0df078001f3849c982cc00fca02f738a.png"],"check_delivery_address":null,"contact_email":"test@example.com","created_at":"2024-07-23T19:56:49","description":"Test description","history":[{"status":"submitted","status_detail":"Claim was created.","timestamp":"2024-07-23T19:56:49"}],"id":"clm_097ed5afc86d45149655a63fd31bc810","insurance_amount":"100.00","insurance_id":"ins_6d1b3e02c4e041b08b00254e3c45ca79","mode":"test","object":"Claim","payment_method":"easypost_wallet","recipient_name":null,"requested_amount":"100.00","salvage_value":null,"shipment_id":"shp_f98d4ce802094693be6cc09f0776fea4","status":"submitted","status_detail":"Claim was created.","status_timestamp":"2024-07-23T19:56:49","tracking_code":"9400100110368066400960","type":"damage","updated_at":"2024-07-23T19:56:49"},{"approved_amount":null,"attachments":["https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/aef24e0390f149a1b7e933c5cd384091.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/0451fbe7ec9c445288393e18add66a57.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/3c421000878e47d590d74fad69dc832b.png"],"check_delivery_address":null,"contact_email":"test@example.com","created_at":"2024-07-23T19:48:27","description":"Test description","history":[{"status":"submitted","status_detail":"Claim was created.","timestamp":"2024-07-23T19:48:27"}],"id":"clm_097efe4128e44a15986ebc4bf2467c14","insurance_amount":"100.00","insurance_id":"ins_9651e894aafb450ead9cc2e44b76a53b","mode":"test","object":"Claim","payment_method":"easypost_wallet","recipient_name":null,"requested_amount":"100.00","salvage_value":null,"shipment_id":"shp_086a0105d412457c99ee9de3c14cc2d2","status":"submitted","status_detail":"Claim was created.","status_timestamp":"2024-07-23T19:48:27","tracking_code":"9400100110368066399110","type":"damage","updated_at":"2024-07-23T19:48:27"}],"has_more":false}' + body: '{"claims":[{"approved_amount":null,"attachments":["https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240814\/7b228e446dba46a08757d0b7fc1787b6.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240814\/c5c0347f95fc49d3afeec11276838424.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240814\/ba87af1e0d6a4bc2803cb6e4b4ac0a07.png"],"check_delivery_address":null,"contact_email":"test@example.com","created_at":"2024-08-14T17:40:22","description":"Test description","history":[{"status":"submitted","status_detail":"Claim was created.","timestamp":"2024-08-14T17:40:22"}],"id":"clm_0981495595244214b76572bd86f0f1d3","insurance_amount":"100.00","insurance_id":"ins_91a476d63edc4211bfd47a2b62dd953d","mode":"test","object":"Claim","payment_method":"easypost_wallet","recipient_name":null,"requested_amount":"100.00","salvage_value":null,"shipment_id":"shp_211b1e701c3d4c84ae58b2d56618264f","status":"submitted","status_detail":"Claim was created.","status_timestamp":"2024-08-14T17:40:22","tracking_code":"9400100105807075197303","type":"damage","updated_at":"2024-08-14T17:40:22"},{"approved_amount":null,"attachments":["https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240814\/947d237556db417f8cffa8459e1c9744.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240814\/b4b39ca117f747ca829d49c3164768bd.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240814\/9ba85ad7c33648beac10c0bd89c79590.png"],"check_delivery_address":null,"contact_email":"test@example.com","created_at":"2024-08-14T17:40:20","description":"Test description","history":[{"status":"submitted","status_detail":"Claim was created.","timestamp":"2024-08-14T17:40:20"}],"id":"clm_098107b85a46454c921c990db8d92e91","insurance_amount":"100.00","insurance_id":"ins_29df2d0814ad4325be92715fcde98010","mode":"test","object":"Claim","payment_method":"easypost_wallet","recipient_name":null,"requested_amount":"100.00","salvage_value":null,"shipment_id":"shp_ff310991d5544364916f1bae7366c527","status":"submitted","status_detail":"Claim was created.","status_timestamp":"2024-08-14T17:40:20","tracking_code":"9400100105807075197280","type":"damage","updated_at":"2024-08-14T17:40:20"},{"approved_amount":null,"attachments":["https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/844aa29e0276476aaef0caa76c8f4c8f.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/2c7099a487914a258bfc9d8bf80a5f35.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/a5355ea95d1d4ba3973dca342bae477f.png"],"check_delivery_address":null,"contact_email":"test@example.com","created_at":"2024-07-23T20:00:34","description":"Test description","history":[{"status":"cancelled","status_detail":"Claim cancellation was requested.","timestamp":"2024-07-23T20:00:36"},{"status":"submitted","status_detail":"Claim was created.","timestamp":"2024-07-23T20:00:34"}],"id":"clm_097e4784ffb44354856c828961c8ad37","insurance_amount":"100.00","insurance_id":"ins_cfe583f5459042c49b410ba35e975338","mode":"test","object":"Claim","payment_method":"easypost_wallet","recipient_name":null,"requested_amount":"100.00","salvage_value":null,"shipment_id":"shp_2664316df809459887cd1035e4a4f7fa","status":"cancelled","status_detail":"Claim cancellation was requested.","status_timestamp":"2024-07-23T20:00:36","tracking_code":"9400100110368066401769","type":"damage","updated_at":"2024-07-23T20:00:35"},{"approved_amount":null,"attachments":["https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/379d4f0d76c847adabddde44f53f397d.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/d55632462ea34ac3a8419cd735e12708.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/0df078001f3849c982cc00fca02f738a.png"],"check_delivery_address":null,"contact_email":"test@example.com","created_at":"2024-07-23T19:56:49","description":"Test description","history":[{"status":"submitted","status_detail":"Claim was created.","timestamp":"2024-07-23T19:56:49"}],"id":"clm_097ed5afc86d45149655a63fd31bc810","insurance_amount":"100.00","insurance_id":"ins_6d1b3e02c4e041b08b00254e3c45ca79","mode":"test","object":"Claim","payment_method":"easypost_wallet","recipient_name":null,"requested_amount":"100.00","salvage_value":null,"shipment_id":"shp_f98d4ce802094693be6cc09f0776fea4","status":"submitted","status_detail":"Claim was created.","status_timestamp":"2024-07-23T19:56:49","tracking_code":"9400100110368066400960","type":"damage","updated_at":"2024-07-23T19:56:49"},{"approved_amount":null,"attachments":["https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/aef24e0390f149a1b7e933c5cd384091.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/0451fbe7ec9c445288393e18add66a57.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/3c421000878e47d590d74fad69dc832b.png"],"check_delivery_address":null,"contact_email":"test@example.com","created_at":"2024-07-23T19:48:27","description":"Test description","history":[{"status":"submitted","status_detail":"Claim was created.","timestamp":"2024-07-23T19:48:27"}],"id":"clm_097efe4128e44a15986ebc4bf2467c14","insurance_amount":"100.00","insurance_id":"ins_9651e894aafb450ead9cc2e44b76a53b","mode":"test","object":"Claim","payment_method":"easypost_wallet","recipient_name":null,"requested_amount":"100.00","salvage_value":null,"shipment_id":"shp_086a0105d412457c99ee9de3c14cc2d2","status":"submitted","status_detail":"Claim was created.","status_timestamp":"2024-07-23T19:48:27","tracking_code":"9400100110368066399110","type":"damage","updated_at":"2024-07-23T19:48:27"}],"has_more":false}' curl_info: url: 'https://api.easypost.com/v2/claims?page_size=5' content_type: 'application/json; charset=utf-8' @@ -44,35 +44,35 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.49138 - namelookup_time: 0.031302 - connect_time: 0.168599 - pretransfer_time: 0.322452 + total_time: 0.160063 + namelookup_time: 0.001661 + connect_time: 0.034766 + pretransfer_time: 0.070648 size_upload: 0.0 - size_download: 2252.0 - speed_download: 4583.0 + size_download: 5709.0 + speed_download: 35667.0 speed_upload: 0.0 - download_content_length: 2252.0 + download_content_length: 5709.0 upload_content_length: 0.0 - starttransfer_time: 0.491177 + starttransfer_time: 0.159697 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.14 - local_port: 63836 + local_ip: 192.168.1.75 + local_port: 52783 http_version: 2 protocol: 2 ssl_verifyresult: 0 scheme: https - appconnect_time_us: 322380 - connect_time_us: 168599 - namelookup_time_us: 31302 - pretransfer_time_us: 322452 + appconnect_time_us: 70593 + connect_time_us: 34766 + namelookup_time_us: 1661 + pretransfer_time_us: 70648 redirect_time_us: 0 - starttransfer_time_us: 491177 - total_time_us: 491380 + starttransfer_time_us: 159697 + total_time_us: 160063 effective_method: GET capath: '' cainfo: '' diff --git a/test/cassettes/claim/cancel.yml b/test/cassettes/claim/cancel.yml index 11ea246f..59c2385b 100644 --- a/test/cassettes/claim/cancel.yml +++ b/test/cassettes/claim/cancel.yml @@ -23,59 +23,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 483169fc66a00bdfe79a82ea001a73de + x-ep-request-uuid: e181587866bcec08e2b9003c008707d8 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_2664316df809459887cd1035e4a4f7fa + location: /api/v2/shipments/shp_c3ca81d0e04944d9b6e0497f0115c672 content-type: 'application/json; charset=utf-8' content-length: '6016' - x-runtime: '0.464826' - x-node: bigweb43nuq - x-version-label: easypost-202407231832-14d334dc13-master + x-runtime: '0.499992' + x-node: bigweb34nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq fa152d4755'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2024-07-23T20:00:31Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":null,"updated_at":"2024-07-23T20:00:32Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_6d85760c3cc44b89b0c4fb61ba021341","object":"CustomsInfo","created_at":"2024-07-23T20:00:31Z","updated_at":"2024-07-23T20:00:31Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_afed36cac8564c9592b20423b3b2f62e","object":"CustomsItem","created_at":"2024-07-23T20:00:31Z","updated_at":"2024-07-23T20:00:31Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_376f22c7492e11efbb52ac1f6bc53342","object":"Address","created_at":"2024-07-23T20:00:31+00:00","updated_at":"2024-07-23T20:00:31+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_499f435f95624cb4815b99ce5df87ca0","object":"Parcel","created_at":"2024-07-23T20:00:31Z","updated_at":"2024-07-23T20:00:31Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_c3b8896a0cb04c7796d4f4d0dbdb5926","object":"Rate","created_at":"2024-07-23T20:00:32Z","updated_at":"2024-07-23T20:00:32Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_2664316df809459887cd1035e4a4f7fa","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_e68c3c3c530941c080ff1a7323562970","object":"Rate","created_at":"2024-07-23T20:00:32Z","updated_at":"2024-07-23T20:00:32Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_2664316df809459887cd1035e4a4f7fa","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_8e162fe9fd6f4475b51e77af9b84ab4d","object":"Rate","created_at":"2024-07-23T20:00:32Z","updated_at":"2024-07-23T20:00:32Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_2664316df809459887cd1035e4a4f7fa","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_376ca903492e11ef86f2ac1f6bc539ae","object":"Address","created_at":"2024-07-23T20:00:31+00:00","updated_at":"2024-07-23T20:00:31+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_376f22c7492e11efbb52ac1f6bc53342","object":"Address","created_at":"2024-07-23T20:00:31+00:00","updated_at":"2024-07-23T20:00:31+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":[]},"buyer_address":{"id":"adr_376ca903492e11ef86f2ac1f6bc539ae","object":"Address","created_at":"2024-07-23T20:00:31+00:00","updated_at":"2024-07-23T20:00:31+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_2664316df809459887cd1035e4a4f7fa","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:40:24Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:40:24Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_9d69de16dc5243efb302b751c2bf6cac","object":"CustomsInfo","created_at":"2024-08-14T17:40:24Z","updated_at":"2024-08-14T17:40:24Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_803265bcd27a4374b9f3a9956d74e423","object":"CustomsItem","created_at":"2024-08-14T17:40:24Z","updated_at":"2024-08-14T17:40:24Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_492506ad5a6411ef8c973cecef1b359e","object":"Address","created_at":"2024-08-14T17:40:24+00:00","updated_at":"2024-08-14T17:40:24+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_614cd90e99cc42c5ae5e406ffe68c15f","object":"Parcel","created_at":"2024-08-14T17:40:24Z","updated_at":"2024-08-14T17:40:24Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_880a2af0307c45f4b05b75e562bae2de","object":"Rate","created_at":"2024-08-14T17:40:24Z","updated_at":"2024-08-14T17:40:24Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c3ca81d0e04944d9b6e0497f0115c672","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_2f3e9f2188c8438c847133a863b3c780","object":"Rate","created_at":"2024-08-14T17:40:24Z","updated_at":"2024-08-14T17:40:24Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_c3ca81d0e04944d9b6e0497f0115c672","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_b3918af0a89543a28ee0f527dbaaa085","object":"Rate","created_at":"2024-08-14T17:40:24Z","updated_at":"2024-08-14T17:40:24Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_c3ca81d0e04944d9b6e0497f0115c672","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_4922ae8e5a6411ef8c963cecef1b359e","object":"Address","created_at":"2024-08-14T17:40:24+00:00","updated_at":"2024-08-14T17:40:24+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_492506ad5a6411ef8c973cecef1b359e","object":"Address","created_at":"2024-08-14T17:40:24+00:00","updated_at":"2024-08-14T17:40:24+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":[]},"buyer_address":{"id":"adr_4922ae8e5a6411ef8c963cecef1b359e","object":"Address","created_at":"2024-08-14T17:40:24+00:00","updated_at":"2024-08-14T17:40:24+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_c3ca81d0e04944d9b6e0497f0115c672","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 778 + header_size: 760 request_size: 1172 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.967563 - namelookup_time: 0.003001 - connect_time: 0.129966 - pretransfer_time: 0.272535 + total_time: 0.607686 + namelookup_time: 0.004823 + connect_time: 0.037391 + pretransfer_time: 0.072025 size_upload: 864.0 size_download: 6016.0 - speed_download: 6217.0 - speed_upload: 892.0 + speed_download: 9899.0 + speed_upload: 1421.0 download_content_length: 6016.0 upload_content_length: 864.0 - starttransfer_time: 0.967483 + starttransfer_time: 0.607595 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.14 - local_port: 63857 + local_ip: 192.168.1.75 + local_port: 52786 http_version: 2 protocol: 2 ssl_verifyresult: 0 scheme: https - appconnect_time_us: 272387 - connect_time_us: 129966 - namelookup_time_us: 3001 - pretransfer_time_us: 272535 + appconnect_time_us: 71981 + connect_time_us: 37391 + namelookup_time_us: 4823 + pretransfer_time_us: 72025 redirect_time_us: 0 - starttransfer_time_us: 967483 - total_time_us: 967563 + starttransfer_time_us: 607595 + total_time_us: 607686 effective_method: POST capath: '' cainfo: '' @@ -83,7 +82,7 @@ - request: method: POST - url: 'https://api.easypost.com/v2/shipments/shp_2664316df809459887cd1035e4a4f7fa/buy' + url: 'https://api.easypost.com/v2/shipments/shp_c3ca81d0e04944d9b6e0497f0115c672/buy' headers: Host: api.easypost.com Expect: '' @@ -92,7 +91,7 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"rate":{"id":"rate_8e162fe9fd6f4475b51e77af9b84ab4d"},"insurance":"100"}' + body: '{"rate":{"id":"rate_880a2af0307c45f4b05b75e562bae2de"},"insurance":"100"}' response: status: code: 200 @@ -104,21 +103,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 483169fb66a00be0e79a82eb001a758d + x-ep-request-uuid: e181587a66bcec08e2b9003d0087088e cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '8235' - x-runtime: '0.821095' - x-node: bigweb40nuq - x-version-label: easypost-202407231832-14d334dc13-master + x-runtime: '0.952180' + x-node: bigweb39nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq fa152d4755'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2024-07-23T20:00:31Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":"9400100110368066401769","updated_at":"2024-07-23T20:00:33Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_6d85760c3cc44b89b0c4fb61ba021341","object":"CustomsInfo","created_at":"2024-07-23T20:00:31Z","updated_at":"2024-07-23T20:00:31Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_afed36cac8564c9592b20423b3b2f62e","object":"CustomsItem","created_at":"2024-07-23T20:00:31Z","updated_at":"2024-07-23T20:00:31Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_376f22c7492e11efbb52ac1f6bc53342","object":"Address","created_at":"2024-07-23T20:00:31+00:00","updated_at":"2024-07-23T20:00:31+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":[]},"insurance":"100.00","order_id":null,"parcel":{"id":"prcl_499f435f95624cb4815b99ce5df87ca0","object":"Parcel","created_at":"2024-07-23T20:00:31Z","updated_at":"2024-07-23T20:00:31Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_dc45aed2d36845379b44ba38a8a7cefe","created_at":"2024-07-23T20:00:33Z","updated_at":"2024-07-23T20:00:33Z","date_advance":0,"integrated_form":"none","label_date":"2024-07-23T20:00: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\/20240723\/e8e797b192dd9440c59ca7da9680fd3b1a.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_c3b8896a0cb04c7796d4f4d0dbdb5926","object":"Rate","created_at":"2024-07-23T20:00:32Z","updated_at":"2024-07-23T20:00:32Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_2664316df809459887cd1035e4a4f7fa","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_e68c3c3c530941c080ff1a7323562970","object":"Rate","created_at":"2024-07-23T20:00:32Z","updated_at":"2024-07-23T20:00:32Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_2664316df809459887cd1035e4a4f7fa","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_8e162fe9fd6f4475b51e77af9b84ab4d","object":"Rate","created_at":"2024-07-23T20:00:32Z","updated_at":"2024-07-23T20:00:32Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_2664316df809459887cd1035e4a4f7fa","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_8e162fe9fd6f4475b51e77af9b84ab4d","object":"Rate","created_at":"2024-07-23T20:00:33Z","updated_at":"2024-07-23T20:00:33Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_2664316df809459887cd1035e4a4f7fa","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_82054308216d4080a0e6be47f49e1b2a","object":"Tracker","mode":"test","tracking_code":"9400100110368066401769","status":"unknown","status_detail":"unknown","created_at":"2024-07-23T20:00:33Z","updated_at":"2024-07-23T20:00:33Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_2664316df809459887cd1035e4a4f7fa","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzgyMDU0MzA4MjE2ZDQwODBhMGU2YmU0N2Y0OWUxYjJh"},"to_address":{"id":"adr_376ca903492e11ef86f2ac1f6bc539ae","object":"Address","created_at":"2024-07-23T20:00:31+00:00","updated_at":"2024-07-23T20:00:32+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_376f22c7492e11efbb52ac1f6bc53342","object":"Address","created_at":"2024-07-23T20:00:31+00:00","updated_at":"2024-07-23T20:00:31+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":[]},"buyer_address":{"id":"adr_376ca903492e11ef86f2ac1f6bc539ae","object":"Address","created_at":"2024-07-23T20:00:31+00:00","updated_at":"2024-07-23T20:00:32+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_2664316df809459887cd1035e4a4f7fa","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:40:24Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":"9400100105807075197358","updated_at":"2024-08-14T17:40:25Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_9d69de16dc5243efb302b751c2bf6cac","object":"CustomsInfo","created_at":"2024-08-14T17:40:24Z","updated_at":"2024-08-14T17:40:24Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_803265bcd27a4374b9f3a9956d74e423","object":"CustomsItem","created_at":"2024-08-14T17:40:24Z","updated_at":"2024-08-14T17:40:24Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_492506ad5a6411ef8c973cecef1b359e","object":"Address","created_at":"2024-08-14T17:40:24+00:00","updated_at":"2024-08-14T17:40:24+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":[]},"insurance":"100.00","order_id":null,"parcel":{"id":"prcl_614cd90e99cc42c5ae5e406ffe68c15f","object":"Parcel","created_at":"2024-08-14T17:40:24Z","updated_at":"2024-08-14T17:40:24Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_cd54517765ca4c0f82d3b10f96d25aab","created_at":"2024-08-14T17:40:25Z","updated_at":"2024-08-14T17:40:25Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:40: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\/20240814\/e80863aba0bfb04edba4b12736c096b94f.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_880a2af0307c45f4b05b75e562bae2de","object":"Rate","created_at":"2024-08-14T17:40:24Z","updated_at":"2024-08-14T17:40:24Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c3ca81d0e04944d9b6e0497f0115c672","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_2f3e9f2188c8438c847133a863b3c780","object":"Rate","created_at":"2024-08-14T17:40:24Z","updated_at":"2024-08-14T17:40:24Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_c3ca81d0e04944d9b6e0497f0115c672","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_b3918af0a89543a28ee0f527dbaaa085","object":"Rate","created_at":"2024-08-14T17:40:24Z","updated_at":"2024-08-14T17:40:24Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_c3ca81d0e04944d9b6e0497f0115c672","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_880a2af0307c45f4b05b75e562bae2de","object":"Rate","created_at":"2024-08-14T17:40:25Z","updated_at":"2024-08-14T17:40:25Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c3ca81d0e04944d9b6e0497f0115c672","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_66cc02ace95a4cd386708565d92cb539","object":"Tracker","mode":"test","tracking_code":"9400100105807075197358","status":"unknown","status_detail":"unknown","created_at":"2024-08-14T17:40:25Z","updated_at":"2024-08-14T17:40:25Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_c3ca81d0e04944d9b6e0497f0115c672","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzY2Y2MwMmFjZTk1YTRjZDM4NjcwODU2NWQ5MmNiNTM5"},"to_address":{"id":"adr_4922ae8e5a6411ef8c963cecef1b359e","object":"Address","created_at":"2024-08-14T17:40:24+00:00","updated_at":"2024-08-14T17:40:24+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_492506ad5a6411ef8c973cecef1b359e","object":"Address","created_at":"2024-08-14T17:40:24+00:00","updated_at":"2024-08-14T17:40:24+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":[]},"buyer_address":{"id":"adr_4922ae8e5a6411ef8c963cecef1b359e","object":"Address","created_at":"2024-08-14T17:40:24+00:00","updated_at":"2024-08-14T17:40:24+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_c3ca81d0e04944d9b6e0497f0115c672","object":"Shipment"}' curl_info: - url: 'https://api.easypost.com/v2/shipments/shp_2664316df809459887cd1035e4a4f7fa/buy' + url: 'https://api.easypost.com/v2/shipments/shp_c3ca81d0e04944d9b6e0497f0115c672/buy' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 689 @@ -126,35 +125,35 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.326936 - namelookup_time: 0.001216 - connect_time: 0.128586 - pretransfer_time: 0.256076 + total_time: 1.049372 + namelookup_time: 0.002055 + connect_time: 0.031504 + pretransfer_time: 0.064061 size_upload: 73.0 size_download: 8235.0 - speed_download: 6206.0 - speed_upload: 55.0 + speed_download: 7847.0 + speed_upload: 69.0 download_content_length: 8235.0 upload_content_length: 73.0 - starttransfer_time: 1.326797 + starttransfer_time: 1.049289 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.14 - local_port: 63858 + local_ip: 192.168.1.75 + local_port: 52787 http_version: 2 protocol: 2 ssl_verifyresult: 0 scheme: https - appconnect_time_us: 256017 - connect_time_us: 128586 - namelookup_time_us: 1216 - pretransfer_time_us: 256076 + appconnect_time_us: 64016 + connect_time_us: 31504 + namelookup_time_us: 2055 + pretransfer_time_us: 64061 redirect_time_us: 0 - starttransfer_time_us: 1326797 - total_time_us: 1326936 + starttransfer_time_us: 1049289 + total_time_us: 1049372 effective_method: POST capath: '' cainfo: '' @@ -171,7 +170,7 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"type":"damage","email_evidence_attachments":["data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAeUlEQVR42mP8\/\/8\/AwAI\/AL+4Q7AIAAAAABJRU5ErkJggg=="],"invoice_attachments":["data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAeUlEQVR42mP8\/\/8\/AwAI\/AL+4Q7AIAAAAABJRU5ErkJggg=="],"supporting_documentation_attachments":["data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAeUlEQVR42mP8\/\/8\/AwAI\/AL+4Q7AIAAAAABJRU5ErkJggg=="],"description":"Test description","contact_email":"test@example.com","tracking_code":"9400100110368066401769","amount":"100"}' + body: '{"type":"damage","email_evidence_attachments":["data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAeUlEQVR42mP8\/\/8\/AwAI\/AL+4Q7AIAAAAABJRU5ErkJggg=="],"invoice_attachments":["data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAeUlEQVR42mP8\/\/8\/AwAI\/AL+4Q7AIAAAAABJRU5ErkJggg=="],"supporting_documentation_attachments":["data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAeUlEQVR42mP8\/\/8\/AwAI\/AL+4Q7AIAAAAABJRU5ErkJggg=="],"description":"Test description","contact_email":"test@example.com","tracking_code":"9400100105807075197358","amount":"100"}' response: status: code: 201 @@ -183,19 +182,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 98f5faeb66a00be2e79a82ec0019b383 + x-ep-request-uuid: e181587866bcec09e2b9003e008709f0 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1111' - x-runtime: '0.898786' - x-node: bigweb42nuq - x-version-label: easypost-202407231832-14d334dc13-master + x-runtime: '0.862094' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb4nuq c0f5e722d1', 'extlb1nuq fa152d4755'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"approved_amount":null,"attachments":["https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/844aa29e0276476aaef0caa76c8f4c8f.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/2c7099a487914a258bfc9d8bf80a5f35.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/a5355ea95d1d4ba3973dca342bae477f.png"],"check_delivery_address":null,"contact_email":"test@example.com","created_at":"2024-07-23T20:00:34","description":"Test description","history":[{"status":"submitted","status_detail":"Claim was created.","timestamp":"2024-07-23T20:00:34"}],"id":"clm_097e4784ffb44354856c828961c8ad37","insurance_amount":"100.00","insurance_id":"ins_cfe583f5459042c49b410ba35e975338","mode":"test","object":"Claim","payment_method":"easypost_wallet","recipient_name":null,"requested_amount":"100.00","salvage_value":null,"shipment_id":"shp_2664316df809459887cd1035e4a4f7fa","status":"submitted","status_detail":"Claim was created.","status_timestamp":"2024-07-23T20:00:34","tracking_code":"9400100110368066401769","type":"damage","updated_at":"2024-07-23T20:00:34"}' + body: '{"approved_amount":null,"attachments":["https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240814\/3873765426d143efb1dc0b97ea630a81.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240814\/13be5500961b4bbcadeb7bc7d3acc4b6.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240814\/d326165b22454d2fabb71019b5901f05.png"],"check_delivery_address":null,"contact_email":"test@example.com","created_at":"2024-08-14T17:40:25","description":"Test description","history":[{"status":"submitted","status_detail":"Claim was created.","timestamp":"2024-08-14T17:40:25"}],"id":"clm_098159e8baba41f68b20629429175b13","insurance_amount":"100.00","insurance_id":"ins_36ee626118de4e7cb6810ff3b49408c6","mode":"test","object":"Claim","payment_method":"easypost_wallet","recipient_name":null,"requested_amount":"100.00","salvage_value":null,"shipment_id":"shp_c3ca81d0e04944d9b6e0497f0115c672","status":"submitted","status_detail":"Claim was created.","status_timestamp":"2024-08-14T17:40:25","tracking_code":"9400100105807075197358","type":"damage","updated_at":"2024-08-14T17:40:25"}' curl_info: url: 'https://api.easypost.com/v2/claims' content_type: 'application/json; charset=utf-8' @@ -205,35 +204,35 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.296151 - namelookup_time: 0.001221 - connect_time: 0.135976 - pretransfer_time: 0.2663 + total_time: 0.970804 + namelookup_time: 0.001848 + connect_time: 0.035113 + pretransfer_time: 0.070807 size_upload: 615.0 size_download: 1111.0 - speed_download: 857.0 - speed_upload: 474.0 + speed_download: 1144.0 + speed_upload: 633.0 download_content_length: 1111.0 upload_content_length: 615.0 - starttransfer_time: 1.296134 + starttransfer_time: 0.97074 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.14 - local_port: 63859 + local_ip: 192.168.1.75 + local_port: 52788 http_version: 2 protocol: 2 ssl_verifyresult: 0 scheme: https - appconnect_time_us: 266185 - connect_time_us: 135976 - namelookup_time_us: 1221 - pretransfer_time_us: 266300 + appconnect_time_us: 70759 + connect_time_us: 35113 + namelookup_time_us: 1848 + pretransfer_time_us: 70807 redirect_time_us: 0 - starttransfer_time_us: 1296134 - total_time_us: 1296151 + starttransfer_time_us: 970740 + total_time_us: 970804 effective_method: POST capath: '' cainfo: '' @@ -241,7 +240,7 @@ - request: method: POST - url: 'https://api.easypost.com/v2/claims/clm_097e4784ffb44354856c828961c8ad37/cancel' + url: 'https://api.easypost.com/v2/claims/clm_098159e8baba41f68b20629429175b13/cancel' headers: Host: api.easypost.com Expect: '' @@ -262,57 +261,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 483169f866a00be3e79a8304001a7a76 + x-ep-request-uuid: e181587866bcec0ae2b9003f00870b13 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1235' - x-runtime: '0.045524' - x-node: bigweb41nuq - x-version-label: easypost-202407231832-14d334dc13-master + x-runtime: '0.052057' + x-node: bigweb43nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq fa152d4755'] + x-canary: direct + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"approved_amount":null,"attachments":["https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/844aa29e0276476aaef0caa76c8f4c8f.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/2c7099a487914a258bfc9d8bf80a5f35.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/a5355ea95d1d4ba3973dca342bae477f.png"],"check_delivery_address":null,"contact_email":"test@example.com","created_at":"2024-07-23T20:00:34","description":"Test description","history":[{"status":"cancelled","status_detail":"Claim cancellation was requested.","timestamp":"2024-07-23T20:00:36"},{"status":"submitted","status_detail":"Claim was created.","timestamp":"2024-07-23T20:00:34"}],"id":"clm_097e4784ffb44354856c828961c8ad37","insurance_amount":"100.00","insurance_id":"ins_cfe583f5459042c49b410ba35e975338","mode":"test","object":"Claim","payment_method":"easypost_wallet","recipient_name":null,"requested_amount":"100.00","salvage_value":null,"shipment_id":"shp_2664316df809459887cd1035e4a4f7fa","status":"cancelled","status_detail":"Claim cancellation was requested.","status_timestamp":"2024-07-23T20:00:36","tracking_code":"9400100110368066401769","type":"damage","updated_at":"2024-07-23T20:00:35"}' + body: '{"approved_amount":null,"attachments":["https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240814\/3873765426d143efb1dc0b97ea630a81.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240814\/13be5500961b4bbcadeb7bc7d3acc4b6.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240814\/d326165b22454d2fabb71019b5901f05.png"],"check_delivery_address":null,"contact_email":"test@example.com","created_at":"2024-08-14T17:40:25","description":"Test description","history":[{"status":"cancelled","status_detail":"Claim cancellation was requested.","timestamp":"2024-08-14T17:40:27"},{"status":"submitted","status_detail":"Claim was created.","timestamp":"2024-08-14T17:40:25"}],"id":"clm_098159e8baba41f68b20629429175b13","insurance_amount":"100.00","insurance_id":"ins_36ee626118de4e7cb6810ff3b49408c6","mode":"test","object":"Claim","payment_method":"easypost_wallet","recipient_name":null,"requested_amount":"100.00","salvage_value":null,"shipment_id":"shp_c3ca81d0e04944d9b6e0497f0115c672","status":"cancelled","status_detail":"Claim cancellation was requested.","status_timestamp":"2024-08-14T17:40:27","tracking_code":"9400100105807075197358","type":"damage","updated_at":"2024-08-14T17:40:26"}' curl_info: - url: 'https://api.easypost.com/v2/claims/clm_097e4784ffb44354856c828961c8ad37/cancel' + url: 'https://api.easypost.com/v2/claims/clm_098159e8baba41f68b20629429175b13/cancel' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 689 + header_size: 707 request_size: 349 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.440286 - namelookup_time: 0.001143 - connect_time: 0.130507 - pretransfer_time: 0.259705 + total_time: 0.154024 + namelookup_time: 0.00264 + connect_time: 0.032509 + pretransfer_time: 0.066173 size_upload: 2.0 size_download: 1235.0 - speed_download: 2804.0 - speed_upload: 4.0 + speed_download: 8018.0 + speed_upload: 12.0 download_content_length: 1235.0 upload_content_length: 2.0 - starttransfer_time: 0.439345 + starttransfer_time: 0.153946 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.14 - local_port: 63860 + local_ip: 192.168.1.75 + local_port: 52789 http_version: 2 protocol: 2 ssl_verifyresult: 0 scheme: https - appconnect_time_us: 259626 - connect_time_us: 130507 - namelookup_time_us: 1143 - pretransfer_time_us: 259705 + appconnect_time_us: 66069 + connect_time_us: 32509 + namelookup_time_us: 2640 + pretransfer_time_us: 66173 redirect_time_us: 0 - starttransfer_time_us: 439345 - total_time_us: 440286 + starttransfer_time_us: 153946 + total_time_us: 154024 effective_method: POST capath: '' cainfo: '' diff --git a/test/cassettes/claim/create.yml b/test/cassettes/claim/create.yml index 46ca742b..7d008ef6 100644 --- a/test/cassettes/claim/create.yml +++ b/test/cassettes/claim/create.yml @@ -23,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 483169fc66a00908e79a7e2600178a23 + x-ep-request-uuid: e181587766bcec02e2b9001800870100 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_086a0105d412457c99ee9de3c14cc2d2 + location: /api/v2/shipments/shp_ff310991d5544364916f1bae7366c527 content-type: 'application/json; charset=utf-8' content-length: '6016' - x-runtime: '0.501373' - x-node: bigweb42nuq - x-version-label: easypost-202407231832-14d334dc13-master + x-runtime: '0.570161' + x-node: bigweb36nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq fa152d4755'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2024-07-23T19:48:24Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":null,"updated_at":"2024-07-23T19:48:25Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_d43e66a38d9140ffbfaf77939a9e97a9","object":"CustomsInfo","created_at":"2024-07-23T19:48:24Z","updated_at":"2024-07-23T19:48:24Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_c48424ca2d534e1ba5e84a03a2537a93","object":"CustomsItem","created_at":"2024-07-23T19:48:24Z","updated_at":"2024-07-23T19:48:24Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_8604020c492c11ef9f113cecef1b359e","object":"Address","created_at":"2024-07-23T19:48:24+00:00","updated_at":"2024-07-23T19:48:24+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_947a8aba021440ed8363def31346932c","object":"Parcel","created_at":"2024-07-23T19:48:24Z","updated_at":"2024-07-23T19:48:24Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_2f7ab5fa802f482cb7c800954cdd74a3","object":"Rate","created_at":"2024-07-23T19:48:25Z","updated_at":"2024-07-23T19:48:25Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_086a0105d412457c99ee9de3c14cc2d2","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_097e3fdffd7b412da2cd718a1e82a11c","object":"Rate","created_at":"2024-07-23T19:48:25Z","updated_at":"2024-07-23T19:48:25Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_086a0105d412457c99ee9de3c14cc2d2","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_c000d186ecef49f59557fe4760ffca8f","object":"Rate","created_at":"2024-07-23T19:48:25Z","updated_at":"2024-07-23T19:48:25Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_086a0105d412457c99ee9de3c14cc2d2","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_85fee21a492c11efa851ac1f6bc53342","object":"Address","created_at":"2024-07-23T19:48:24+00:00","updated_at":"2024-07-23T19:48:24+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_8604020c492c11ef9f113cecef1b359e","object":"Address","created_at":"2024-07-23T19:48:24+00:00","updated_at":"2024-07-23T19:48:24+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":[]},"buyer_address":{"id":"adr_85fee21a492c11efa851ac1f6bc53342","object":"Address","created_at":"2024-07-23T19:48:24+00:00","updated_at":"2024-07-23T19:48:24+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_086a0105d412457c99ee9de3c14cc2d2","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:40:18Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:40:18Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_aed012af66f54d57af4632767de9fb73","object":"CustomsInfo","created_at":"2024-08-14T17:40:18Z","updated_at":"2024-08-14T17:40:18Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_0c2434898f7b48d1b6d428ac8a5bdf8f","object":"CustomsItem","created_at":"2024-08-14T17:40:18Z","updated_at":"2024-08-14T17:40:18Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_459a40835a6411efaa84ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:40:18+00:00","updated_at":"2024-08-14T17:40:18+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_686df92394b44dabbc0bdf4fa797a464","object":"Parcel","created_at":"2024-08-14T17:40:18Z","updated_at":"2024-08-14T17:40:18Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_29b4f6440da744be85994a47596f5c8f","object":"Rate","created_at":"2024-08-14T17:40:18Z","updated_at":"2024-08-14T17:40:18Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_ff310991d5544364916f1bae7366c527","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_caa3bbdbb25d48dc92962698532100ce","object":"Rate","created_at":"2024-08-14T17:40:18Z","updated_at":"2024-08-14T17:40:18Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_ff310991d5544364916f1bae7366c527","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_0398c3a07c4d48d2bfa91c5dad02ddf2","object":"Rate","created_at":"2024-08-14T17:40:18Z","updated_at":"2024-08-14T17:40:18Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_ff310991d5544364916f1bae7366c527","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_4596fea35a6411efaa80ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:40:18+00:00","updated_at":"2024-08-14T17:40:18+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_459a40835a6411efaa84ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:40:18+00:00","updated_at":"2024-08-14T17:40:18+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":[]},"buyer_address":{"id":"adr_4596fea35a6411efaa80ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:40:18+00:00","updated_at":"2024-08-14T17:40:18+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_ff310991d5544364916f1bae7366c527","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' @@ -46,35 +46,35 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.958401 - namelookup_time: 0.032579 - connect_time: 0.16514 - pretransfer_time: 0.310875 + total_time: 0.672982 + namelookup_time: 0.002069 + connect_time: 0.031119 + pretransfer_time: 0.062501 size_upload: 864.0 size_download: 6016.0 - speed_download: 6277.0 - speed_upload: 901.0 + speed_download: 8939.0 + speed_upload: 1283.0 download_content_length: 6016.0 upload_content_length: 864.0 - starttransfer_time: 0.941468 + starttransfer_time: 0.672689 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.14 - local_port: 63718 + local_ip: 192.168.1.75 + local_port: 52773 http_version: 2 protocol: 2 ssl_verifyresult: 0 scheme: https - appconnect_time_us: 310790 - connect_time_us: 165140 - namelookup_time_us: 32579 - pretransfer_time_us: 310875 + appconnect_time_us: 62447 + connect_time_us: 31119 + namelookup_time_us: 2069 + pretransfer_time_us: 62501 redirect_time_us: 0 - starttransfer_time_us: 941468 - total_time_us: 958401 + starttransfer_time_us: 672689 + total_time_us: 672982 effective_method: POST capath: '' cainfo: '' @@ -82,7 +82,7 @@ - request: method: POST - url: 'https://api.easypost.com/v2/shipments/shp_086a0105d412457c99ee9de3c14cc2d2/buy' + url: 'https://api.easypost.com/v2/shipments/shp_ff310991d5544364916f1bae7366c527/buy' headers: Host: api.easypost.com Expect: '' @@ -91,7 +91,7 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"rate":{"id":"rate_097e3fdffd7b412da2cd718a1e82a11c"},"insurance":"100"}' + body: '{"rate":{"id":"rate_0398c3a07c4d48d2bfa91c5dad02ddf2"},"insurance":"100"}' response: status: code: 200 @@ -103,57 +103,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 483169fb66a00909e79a7e2700178af1 + x-ep-request-uuid: e181587a66bcec02e2b90019008701d5 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '8235' - x-runtime: '0.963639' - x-node: bigweb35nuq - x-version-label: easypost-202407231832-14d334dc13-master + x-runtime: '1.017163' + x-node: bigweb43nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq fa152d4755'] + x-canary: direct + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2024-07-23T19:48:24Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":"9400100110368066399110","updated_at":"2024-07-23T19:48:26Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_d43e66a38d9140ffbfaf77939a9e97a9","object":"CustomsInfo","created_at":"2024-07-23T19:48:24Z","updated_at":"2024-07-23T19:48:24Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_c48424ca2d534e1ba5e84a03a2537a93","object":"CustomsItem","created_at":"2024-07-23T19:48:24Z","updated_at":"2024-07-23T19:48:24Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_8604020c492c11ef9f113cecef1b359e","object":"Address","created_at":"2024-07-23T19:48:24+00:00","updated_at":"2024-07-23T19:48:24+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":[]},"insurance":"100.00","order_id":null,"parcel":{"id":"prcl_947a8aba021440ed8363def31346932c","object":"Parcel","created_at":"2024-07-23T19:48:24Z","updated_at":"2024-07-23T19:48:24Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_4b7216438d0d4376913432dd2e9bc804","created_at":"2024-07-23T19:48:26Z","updated_at":"2024-07-23T19:48:26Z","date_advance":0,"integrated_form":"none","label_date":"2024-07-23T19:48: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\/20240723\/e82d89dd44cd864801a513a54e60b896db.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_2f7ab5fa802f482cb7c800954cdd74a3","object":"Rate","created_at":"2024-07-23T19:48:25Z","updated_at":"2024-07-23T19:48:25Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_086a0105d412457c99ee9de3c14cc2d2","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_097e3fdffd7b412da2cd718a1e82a11c","object":"Rate","created_at":"2024-07-23T19:48:25Z","updated_at":"2024-07-23T19:48:25Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_086a0105d412457c99ee9de3c14cc2d2","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_c000d186ecef49f59557fe4760ffca8f","object":"Rate","created_at":"2024-07-23T19:48:25Z","updated_at":"2024-07-23T19:48:25Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_086a0105d412457c99ee9de3c14cc2d2","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_097e3fdffd7b412da2cd718a1e82a11c","object":"Rate","created_at":"2024-07-23T19:48:26Z","updated_at":"2024-07-23T19:48:26Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_086a0105d412457c99ee9de3c14cc2d2","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_473511f15c5e47a6840cf67efeade15a","object":"Tracker","mode":"test","tracking_code":"9400100110368066399110","status":"unknown","status_detail":"unknown","created_at":"2024-07-23T19:48:26Z","updated_at":"2024-07-23T19:48:26Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_086a0105d412457c99ee9de3c14cc2d2","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzQ3MzUxMWYxNWM1ZTQ3YTY4NDBjZjY3ZWZlYWRlMTVh"},"to_address":{"id":"adr_85fee21a492c11efa851ac1f6bc53342","object":"Address","created_at":"2024-07-23T19:48:24+00:00","updated_at":"2024-07-23T19:48:25+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_8604020c492c11ef9f113cecef1b359e","object":"Address","created_at":"2024-07-23T19:48:24+00:00","updated_at":"2024-07-23T19:48:24+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":[]},"buyer_address":{"id":"adr_85fee21a492c11efa851ac1f6bc53342","object":"Address","created_at":"2024-07-23T19:48:24+00:00","updated_at":"2024-07-23T19:48:25+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_086a0105d412457c99ee9de3c14cc2d2","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:40:18Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":"9400100105807075197280","updated_at":"2024-08-14T17:40:19Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_aed012af66f54d57af4632767de9fb73","object":"CustomsInfo","created_at":"2024-08-14T17:40:18Z","updated_at":"2024-08-14T17:40:18Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_0c2434898f7b48d1b6d428ac8a5bdf8f","object":"CustomsItem","created_at":"2024-08-14T17:40:18Z","updated_at":"2024-08-14T17:40:18Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_459a40835a6411efaa84ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:40:18+00:00","updated_at":"2024-08-14T17:40:18+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":[]},"insurance":"100.00","order_id":null,"parcel":{"id":"prcl_686df92394b44dabbc0bdf4fa797a464","object":"Parcel","created_at":"2024-08-14T17:40:18Z","updated_at":"2024-08-14T17:40:18Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_c7f92c23fc594e2ea6b146f94a8af8e2","created_at":"2024-08-14T17:40:19Z","updated_at":"2024-08-14T17:40:19Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:40: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\/20240814\/e85debac8eace5487da7f3ce776f0bfd7b.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_29b4f6440da744be85994a47596f5c8f","object":"Rate","created_at":"2024-08-14T17:40:18Z","updated_at":"2024-08-14T17:40:18Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_ff310991d5544364916f1bae7366c527","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_caa3bbdbb25d48dc92962698532100ce","object":"Rate","created_at":"2024-08-14T17:40:18Z","updated_at":"2024-08-14T17:40:18Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_ff310991d5544364916f1bae7366c527","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_0398c3a07c4d48d2bfa91c5dad02ddf2","object":"Rate","created_at":"2024-08-14T17:40:18Z","updated_at":"2024-08-14T17:40:18Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_ff310991d5544364916f1bae7366c527","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_0398c3a07c4d48d2bfa91c5dad02ddf2","object":"Rate","created_at":"2024-08-14T17:40:19Z","updated_at":"2024-08-14T17:40:19Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_ff310991d5544364916f1bae7366c527","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_993cf21e435a4d71ad78f50371d5d83b","object":"Tracker","mode":"test","tracking_code":"9400100105807075197280","status":"unknown","status_detail":"unknown","created_at":"2024-08-14T17:40:19Z","updated_at":"2024-08-14T17:40:19Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_ff310991d5544364916f1bae7366c527","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzk5M2NmMjFlNDM1YTRkNzFhZDc4ZjUwMzcxZDVkODNi"},"to_address":{"id":"adr_4596fea35a6411efaa80ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:40:18+00:00","updated_at":"2024-08-14T17:40:19+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_459a40835a6411efaa84ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:40:18+00:00","updated_at":"2024-08-14T17:40:18+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":[]},"buyer_address":{"id":"adr_4596fea35a6411efaa80ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:40:18+00:00","updated_at":"2024-08-14T17:40:19+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_ff310991d5544364916f1bae7366c527","object":"Shipment"}' curl_info: - url: 'https://api.easypost.com/v2/shipments/shp_086a0105d412457c99ee9de3c14cc2d2/buy' + url: 'https://api.easypost.com/v2/shipments/shp_ff310991d5544364916f1bae7366c527/buy' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 689 + header_size: 707 request_size: 421 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.370271 - namelookup_time: 0.001163 - connect_time: 0.141606 - pretransfer_time: 0.273217 + total_time: 1.116839 + namelookup_time: 0.00248 + connect_time: 0.032601 + pretransfer_time: 0.066013 size_upload: 73.0 size_download: 8235.0 - speed_download: 6009.0 - speed_upload: 53.0 + speed_download: 7373.0 + speed_upload: 65.0 download_content_length: 8235.0 upload_content_length: 73.0 - starttransfer_time: 1.370227 + starttransfer_time: 1.116683 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.14 - local_port: 63719 + local_ip: 192.168.1.75 + local_port: 52774 http_version: 2 protocol: 2 ssl_verifyresult: 0 scheme: https - appconnect_time_us: 273075 - connect_time_us: 141606 - namelookup_time_us: 1163 - pretransfer_time_us: 273217 + appconnect_time_us: 65935 + connect_time_us: 32601 + namelookup_time_us: 2480 + pretransfer_time_us: 66013 redirect_time_us: 0 - starttransfer_time_us: 1370227 - total_time_us: 1370271 + starttransfer_time_us: 1116683 + total_time_us: 1116839 effective_method: POST capath: '' cainfo: '' @@ -170,7 +171,7 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"type":"damage","email_evidence_attachments":["data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAeUlEQVR42mP8\/\/8\/AwAI\/AL+4Q7AIAAAAABJRU5ErkJggg=="],"invoice_attachments":["data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAeUlEQVR42mP8\/\/8\/AwAI\/AL+4Q7AIAAAAABJRU5ErkJggg=="],"supporting_documentation_attachments":["data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAeUlEQVR42mP8\/\/8\/AwAI\/AL+4Q7AIAAAAABJRU5ErkJggg=="],"description":"Test description","contact_email":"test@example.com","tracking_code":"9400100110368066399110","amount":"100"}' + body: '{"type":"damage","email_evidence_attachments":["data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAeUlEQVR42mP8\/\/8\/AwAI\/AL+4Q7AIAAAAABJRU5ErkJggg=="],"invoice_attachments":["data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAeUlEQVR42mP8\/\/8\/AwAI\/AL+4Q7AIAAAAABJRU5ErkJggg=="],"supporting_documentation_attachments":["data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAeUlEQVR42mP8\/\/8\/AwAI\/AL+4Q7AIAAAAABJRU5ErkJggg=="],"description":"Test description","contact_email":"test@example.com","tracking_code":"9400100105807075197280","amount":"100"}' response: status: code: 201 @@ -182,19 +183,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 98f5fae966a0090be79a7e3f0016fc84 + x-ep-request-uuid: e181587c66bcec04e2b9001a00870346 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1111' - x-runtime: '0.852553' - x-node: bigweb40nuq - x-version-label: easypost-202407231832-14d334dc13-master + x-runtime: '0.894303' + x-node: bigweb36nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb4nuq c0f5e722d1', 'extlb1nuq fa152d4755'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"approved_amount":null,"attachments":["https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/aef24e0390f149a1b7e933c5cd384091.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/0451fbe7ec9c445288393e18add66a57.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/3c421000878e47d590d74fad69dc832b.png"],"check_delivery_address":null,"contact_email":"test@example.com","created_at":"2024-07-23T19:48:27","description":"Test description","history":[{"status":"submitted","status_detail":"Claim was created.","timestamp":"2024-07-23T19:48:27"}],"id":"clm_097efe4128e44a15986ebc4bf2467c14","insurance_amount":"100.00","insurance_id":"ins_9651e894aafb450ead9cc2e44b76a53b","mode":"test","object":"Claim","payment_method":"easypost_wallet","recipient_name":null,"requested_amount":"100.00","salvage_value":null,"shipment_id":"shp_086a0105d412457c99ee9de3c14cc2d2","status":"submitted","status_detail":"Claim was created.","status_timestamp":"2024-07-23T19:48:27","tracking_code":"9400100110368066399110","type":"damage","updated_at":"2024-07-23T19:48:27"}' + body: '{"approved_amount":null,"attachments":["https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240814\/947d237556db417f8cffa8459e1c9744.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240814\/b4b39ca117f747ca829d49c3164768bd.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240814\/9ba85ad7c33648beac10c0bd89c79590.png"],"check_delivery_address":null,"contact_email":"test@example.com","created_at":"2024-08-14T17:40:20","description":"Test description","history":[{"status":"submitted","status_detail":"Claim was created.","timestamp":"2024-08-14T17:40:20"}],"id":"clm_098107b85a46454c921c990db8d92e91","insurance_amount":"100.00","insurance_id":"ins_29df2d0814ad4325be92715fcde98010","mode":"test","object":"Claim","payment_method":"easypost_wallet","recipient_name":null,"requested_amount":"100.00","salvage_value":null,"shipment_id":"shp_ff310991d5544364916f1bae7366c527","status":"submitted","status_detail":"Claim was created.","status_timestamp":"2024-08-14T17:40:20","tracking_code":"9400100105807075197280","type":"damage","updated_at":"2024-08-14T17:40:20"}' curl_info: url: 'https://api.easypost.com/v2/claims' content_type: 'application/json; charset=utf-8' @@ -204,35 +205,35 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.265495 - namelookup_time: 0.001071 - connect_time: 0.138161 - pretransfer_time: 0.271976 + total_time: 0.993323 + namelookup_time: 0.002631 + connect_time: 0.032635 + pretransfer_time: 0.065396 size_upload: 615.0 size_download: 1111.0 - speed_download: 877.0 - speed_upload: 485.0 + speed_download: 1118.0 + speed_upload: 619.0 download_content_length: 1111.0 upload_content_length: 615.0 - starttransfer_time: 1.265474 + starttransfer_time: 0.993261 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.14 - local_port: 63720 + local_ip: 192.168.1.75 + local_port: 52775 http_version: 2 protocol: 2 ssl_verifyresult: 0 scheme: https - appconnect_time_us: 271902 - connect_time_us: 138161 - namelookup_time_us: 1071 - pretransfer_time_us: 271976 + appconnect_time_us: 65351 + connect_time_us: 32635 + namelookup_time_us: 2631 + pretransfer_time_us: 65396 redirect_time_us: 0 - starttransfer_time_us: 1265474 - total_time_us: 1265495 + starttransfer_time_us: 993261 + total_time_us: 993323 effective_method: POST capath: '' cainfo: '' diff --git a/test/cassettes/claim/getNextPage.yml b/test/cassettes/claim/getNextPage.yml index 15e875c7..0832c6b5 100644 --- a/test/cassettes/claim/getNextPage.yml +++ b/test/cassettes/claim/getNextPage.yml @@ -21,19 +21,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 483169fc66a00b8de79a82c4001a10fb + x-ep-request-uuid: e181587666bcec07e2b9003b008707ac cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '2252' - x-runtime: '0.040158' - x-node: bigweb53nuq - x-version-label: easypost-202407231832-14d334dc13-master + content-length: '5709' + x-runtime: '0.055913' + x-node: bigweb34nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq fa152d4755'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"claims":[{"approved_amount":null,"attachments":["https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/379d4f0d76c847adabddde44f53f397d.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/d55632462ea34ac3a8419cd735e12708.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/0df078001f3849c982cc00fca02f738a.png"],"check_delivery_address":null,"contact_email":"test@example.com","created_at":"2024-07-23T19:56:49","description":"Test description","history":[{"status":"submitted","status_detail":"Claim was created.","timestamp":"2024-07-23T19:56:49"}],"id":"clm_097ed5afc86d45149655a63fd31bc810","insurance_amount":"100.00","insurance_id":"ins_6d1b3e02c4e041b08b00254e3c45ca79","mode":"test","object":"Claim","payment_method":"easypost_wallet","recipient_name":null,"requested_amount":"100.00","salvage_value":null,"shipment_id":"shp_f98d4ce802094693be6cc09f0776fea4","status":"submitted","status_detail":"Claim was created.","status_timestamp":"2024-07-23T19:56:49","tracking_code":"9400100110368066400960","type":"damage","updated_at":"2024-07-23T19:56:49"},{"approved_amount":null,"attachments":["https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/aef24e0390f149a1b7e933c5cd384091.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/0451fbe7ec9c445288393e18add66a57.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/3c421000878e47d590d74fad69dc832b.png"],"check_delivery_address":null,"contact_email":"test@example.com","created_at":"2024-07-23T19:48:27","description":"Test description","history":[{"status":"submitted","status_detail":"Claim was created.","timestamp":"2024-07-23T19:48:27"}],"id":"clm_097efe4128e44a15986ebc4bf2467c14","insurance_amount":"100.00","insurance_id":"ins_9651e894aafb450ead9cc2e44b76a53b","mode":"test","object":"Claim","payment_method":"easypost_wallet","recipient_name":null,"requested_amount":"100.00","salvage_value":null,"shipment_id":"shp_086a0105d412457c99ee9de3c14cc2d2","status":"submitted","status_detail":"Claim was created.","status_timestamp":"2024-07-23T19:48:27","tracking_code":"9400100110368066399110","type":"damage","updated_at":"2024-07-23T19:48:27"}],"has_more":false}' + body: '{"claims":[{"approved_amount":null,"attachments":["https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240814\/7b228e446dba46a08757d0b7fc1787b6.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240814\/c5c0347f95fc49d3afeec11276838424.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240814\/ba87af1e0d6a4bc2803cb6e4b4ac0a07.png"],"check_delivery_address":null,"contact_email":"test@example.com","created_at":"2024-08-14T17:40:22","description":"Test description","history":[{"status":"submitted","status_detail":"Claim was created.","timestamp":"2024-08-14T17:40:22"}],"id":"clm_0981495595244214b76572bd86f0f1d3","insurance_amount":"100.00","insurance_id":"ins_91a476d63edc4211bfd47a2b62dd953d","mode":"test","object":"Claim","payment_method":"easypost_wallet","recipient_name":null,"requested_amount":"100.00","salvage_value":null,"shipment_id":"shp_211b1e701c3d4c84ae58b2d56618264f","status":"submitted","status_detail":"Claim was created.","status_timestamp":"2024-08-14T17:40:22","tracking_code":"9400100105807075197303","type":"damage","updated_at":"2024-08-14T17:40:22"},{"approved_amount":null,"attachments":["https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240814\/947d237556db417f8cffa8459e1c9744.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240814\/b4b39ca117f747ca829d49c3164768bd.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240814\/9ba85ad7c33648beac10c0bd89c79590.png"],"check_delivery_address":null,"contact_email":"test@example.com","created_at":"2024-08-14T17:40:20","description":"Test description","history":[{"status":"submitted","status_detail":"Claim was created.","timestamp":"2024-08-14T17:40:20"}],"id":"clm_098107b85a46454c921c990db8d92e91","insurance_amount":"100.00","insurance_id":"ins_29df2d0814ad4325be92715fcde98010","mode":"test","object":"Claim","payment_method":"easypost_wallet","recipient_name":null,"requested_amount":"100.00","salvage_value":null,"shipment_id":"shp_ff310991d5544364916f1bae7366c527","status":"submitted","status_detail":"Claim was created.","status_timestamp":"2024-08-14T17:40:20","tracking_code":"9400100105807075197280","type":"damage","updated_at":"2024-08-14T17:40:20"},{"approved_amount":null,"attachments":["https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/844aa29e0276476aaef0caa76c8f4c8f.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/2c7099a487914a258bfc9d8bf80a5f35.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/a5355ea95d1d4ba3973dca342bae477f.png"],"check_delivery_address":null,"contact_email":"test@example.com","created_at":"2024-07-23T20:00:34","description":"Test description","history":[{"status":"cancelled","status_detail":"Claim cancellation was requested.","timestamp":"2024-07-23T20:00:36"},{"status":"submitted","status_detail":"Claim was created.","timestamp":"2024-07-23T20:00:34"}],"id":"clm_097e4784ffb44354856c828961c8ad37","insurance_amount":"100.00","insurance_id":"ins_cfe583f5459042c49b410ba35e975338","mode":"test","object":"Claim","payment_method":"easypost_wallet","recipient_name":null,"requested_amount":"100.00","salvage_value":null,"shipment_id":"shp_2664316df809459887cd1035e4a4f7fa","status":"cancelled","status_detail":"Claim cancellation was requested.","status_timestamp":"2024-07-23T20:00:36","tracking_code":"9400100110368066401769","type":"damage","updated_at":"2024-07-23T20:00:35"},{"approved_amount":null,"attachments":["https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/379d4f0d76c847adabddde44f53f397d.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/d55632462ea34ac3a8419cd735e12708.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/0df078001f3849c982cc00fca02f738a.png"],"check_delivery_address":null,"contact_email":"test@example.com","created_at":"2024-07-23T19:56:49","description":"Test description","history":[{"status":"submitted","status_detail":"Claim was created.","timestamp":"2024-07-23T19:56:49"}],"id":"clm_097ed5afc86d45149655a63fd31bc810","insurance_amount":"100.00","insurance_id":"ins_6d1b3e02c4e041b08b00254e3c45ca79","mode":"test","object":"Claim","payment_method":"easypost_wallet","recipient_name":null,"requested_amount":"100.00","salvage_value":null,"shipment_id":"shp_f98d4ce802094693be6cc09f0776fea4","status":"submitted","status_detail":"Claim was created.","status_timestamp":"2024-07-23T19:56:49","tracking_code":"9400100110368066400960","type":"damage","updated_at":"2024-07-23T19:56:49"},{"approved_amount":null,"attachments":["https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/aef24e0390f149a1b7e933c5cd384091.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/0451fbe7ec9c445288393e18add66a57.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/3c421000878e47d590d74fad69dc832b.png"],"check_delivery_address":null,"contact_email":"test@example.com","created_at":"2024-07-23T19:48:27","description":"Test description","history":[{"status":"submitted","status_detail":"Claim was created.","timestamp":"2024-07-23T19:48:27"}],"id":"clm_097efe4128e44a15986ebc4bf2467c14","insurance_amount":"100.00","insurance_id":"ins_9651e894aafb450ead9cc2e44b76a53b","mode":"test","object":"Claim","payment_method":"easypost_wallet","recipient_name":null,"requested_amount":"100.00","salvage_value":null,"shipment_id":"shp_086a0105d412457c99ee9de3c14cc2d2","status":"submitted","status_detail":"Claim was created.","status_timestamp":"2024-07-23T19:48:27","tracking_code":"9400100110368066399110","type":"damage","updated_at":"2024-07-23T19:48:27"}],"has_more":false}' curl_info: url: 'https://api.easypost.com/v2/claims?page_size=5' content_type: 'application/json; charset=utf-8' @@ -43,35 +43,35 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.443722 - namelookup_time: 0.003334 - connect_time: 0.135586 - pretransfer_time: 0.278517 + total_time: 0.15496 + namelookup_time: 0.001825 + connect_time: 0.031355 + pretransfer_time: 0.06494 size_upload: 0.0 - size_download: 2252.0 - speed_download: 5075.0 + size_download: 5709.0 + speed_download: 36841.0 speed_upload: 0.0 - download_content_length: 2252.0 + download_content_length: 5709.0 upload_content_length: 0.0 - starttransfer_time: 0.443692 + starttransfer_time: 0.154788 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.14 - local_port: 63842 + local_ip: 192.168.1.75 + local_port: 52785 http_version: 2 protocol: 2 ssl_verifyresult: 0 scheme: https - appconnect_time_us: 278448 - connect_time_us: 135586 - namelookup_time_us: 3334 - pretransfer_time_us: 278517 + appconnect_time_us: 64882 + connect_time_us: 31355 + namelookup_time_us: 1825 + pretransfer_time_us: 64940 redirect_time_us: 0 - starttransfer_time_us: 443692 - total_time_us: 443722 + starttransfer_time_us: 154788 + total_time_us: 154960 effective_method: GET capath: '' cainfo: '' diff --git a/test/cassettes/claim/retrieve.yml b/test/cassettes/claim/retrieve.yml index b60f371b..39e4b308 100644 --- a/test/cassettes/claim/retrieve.yml +++ b/test/cassettes/claim/retrieve.yml @@ -23,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 483169f666a00affe79a826500198da0 + x-ep-request-uuid: e181587a66bcec05e2b9001e0087044f cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_f98d4ce802094693be6cc09f0776fea4 + location: /api/v2/shipments/shp_211b1e701c3d4c84ae58b2d56618264f content-type: 'application/json; charset=utf-8' content-length: '6016' - x-runtime: '0.404928' + x-runtime: '0.453691' x-node: bigweb38nuq - x-version-label: easypost-202407231832-14d334dc13-master + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq fa152d4755'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2024-07-23T19:56:47Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":null,"updated_at":"2024-07-23T19:56:47Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_410438c715e845ddb92679d3a817b808","object":"CustomsInfo","created_at":"2024-07-23T19:56:47Z","updated_at":"2024-07-23T19:56:47Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_63de9831d1e64b468b28f43e9e715f31","object":"CustomsItem","created_at":"2024-07-23T19:56:47Z","updated_at":"2024-07-23T19:56:47Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_b1bc55e7492d11efb3883cecef1b359e","object":"Address","created_at":"2024-07-23T19:56:47+00:00","updated_at":"2024-07-23T19:56:47+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_0638b2a5adf144ff9e7c433d54bb8280","object":"Parcel","created_at":"2024-07-23T19:56:47Z","updated_at":"2024-07-23T19:56:47Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_9cb5d83664e34e99b7baeb2c4095f826","object":"Rate","created_at":"2024-07-23T19:56:47Z","updated_at":"2024-07-23T19:56:47Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_f98d4ce802094693be6cc09f0776fea4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_52ad857433dd40c281e0f30052f2f8c7","object":"Rate","created_at":"2024-07-23T19:56:47Z","updated_at":"2024-07-23T19:56:47Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_f98d4ce802094693be6cc09f0776fea4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_222f07c3f3e74a79a157481fcb08191a","object":"Rate","created_at":"2024-07-23T19:56:47Z","updated_at":"2024-07-23T19:56:47Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_f98d4ce802094693be6cc09f0776fea4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_b1ba8e13492d11efbceeac1f6bc53342","object":"Address","created_at":"2024-07-23T19:56:47+00:00","updated_at":"2024-07-23T19:56:47+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_b1bc55e7492d11efb3883cecef1b359e","object":"Address","created_at":"2024-07-23T19:56:47+00:00","updated_at":"2024-07-23T19:56:47+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":[]},"buyer_address":{"id":"adr_b1ba8e13492d11efbceeac1f6bc53342","object":"Address","created_at":"2024-07-23T19:56:47+00:00","updated_at":"2024-07-23T19:56:47+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_f98d4ce802094693be6cc09f0776fea4","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:40:21Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:40:21Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_b7fa7fa1105a4f2d8750a66b41d881c9","object":"CustomsInfo","created_at":"2024-08-14T17:40:21Z","updated_at":"2024-08-14T17:40:21Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_bce089a4404e4a05a92bf735d2a2aee6","object":"CustomsItem","created_at":"2024-08-14T17:40:21Z","updated_at":"2024-08-14T17:40:21Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_474aef545a6411ef8b813cecef1b359e","object":"Address","created_at":"2024-08-14T17:40:21+00:00","updated_at":"2024-08-14T17:40:21+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_b3222cbdee344f559b13c4081ff24a5b","object":"Parcel","created_at":"2024-08-14T17:40:21Z","updated_at":"2024-08-14T17:40:21Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_3ab3d261693a4a98b6ddcbcefcccacc3","object":"Rate","created_at":"2024-08-14T17:40:21Z","updated_at":"2024-08-14T17:40:21Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_211b1e701c3d4c84ae58b2d56618264f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_5a66542f39644d45872064f0cf60cced","object":"Rate","created_at":"2024-08-14T17:40:21Z","updated_at":"2024-08-14T17:40:21Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_211b1e701c3d4c84ae58b2d56618264f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_bc42383bed094c30a62d781484201930","object":"Rate","created_at":"2024-08-14T17:40:21Z","updated_at":"2024-08-14T17:40:21Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_211b1e701c3d4c84ae58b2d56618264f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_474886e85a6411ef8d2dac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:40:21+00:00","updated_at":"2024-08-14T17:40:21+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_474aef545a6411ef8b813cecef1b359e","object":"Address","created_at":"2024-08-14T17:40:21+00:00","updated_at":"2024-08-14T17:40:21+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":[]},"buyer_address":{"id":"adr_474886e85a6411ef8d2dac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:40:21+00:00","updated_at":"2024-08-14T17:40:21+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_211b1e701c3d4c84ae58b2d56618264f","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' @@ -46,35 +46,35 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.945651 - namelookup_time: 0.024102 - connect_time: 0.163717 - pretransfer_time: 0.303224 + total_time: 0.551803 + namelookup_time: 0.001979 + connect_time: 0.03064 + pretransfer_time: 0.063516 size_upload: 864.0 size_download: 6016.0 - speed_download: 6361.0 - speed_upload: 913.0 + speed_download: 10902.0 + speed_upload: 1565.0 download_content_length: 6016.0 upload_content_length: 864.0 - starttransfer_time: 0.945567 + starttransfer_time: 0.55172 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.14 - local_port: 63816 + local_ip: 192.168.1.75 + local_port: 52779 http_version: 2 protocol: 2 ssl_verifyresult: 0 scheme: https - appconnect_time_us: 303098 - connect_time_us: 163717 - namelookup_time_us: 24102 - pretransfer_time_us: 303224 + appconnect_time_us: 63447 + connect_time_us: 30640 + namelookup_time_us: 1979 + pretransfer_time_us: 63516 redirect_time_us: 0 - starttransfer_time_us: 945567 - total_time_us: 945651 + starttransfer_time_us: 551720 + total_time_us: 551803 effective_method: POST capath: '' cainfo: '' @@ -82,7 +82,7 @@ - request: method: POST - url: 'https://api.easypost.com/v2/shipments/shp_f98d4ce802094693be6cc09f0776fea4/buy' + url: 'https://api.easypost.com/v2/shipments/shp_211b1e701c3d4c84ae58b2d56618264f/buy' headers: Host: api.easypost.com Expect: '' @@ -91,7 +91,7 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"rate":{"id":"rate_52ad857433dd40c281e0f30052f2f8c7"},"insurance":"100"}' + body: '{"rate":{"id":"rate_bc42383bed094c30a62d781484201930"},"insurance":"100"}' response: status: code: 200 @@ -103,21 +103,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 483169f866a00b00e79a826600198e7f + x-ep-request-uuid: e181587c66bcec05e2b90036008704e0 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '8235' - x-runtime: '0.822800' - x-node: bigweb38nuq - x-version-label: easypost-202407231832-14d334dc13-master + x-runtime: '0.925193' + x-node: bigweb34nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq fa152d4755'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2024-07-23T19:56:47Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":"9400100110368066400960","updated_at":"2024-07-23T19:56:49Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_410438c715e845ddb92679d3a817b808","object":"CustomsInfo","created_at":"2024-07-23T19:56:47Z","updated_at":"2024-07-23T19:56:47Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_63de9831d1e64b468b28f43e9e715f31","object":"CustomsItem","created_at":"2024-07-23T19:56:47Z","updated_at":"2024-07-23T19:56:47Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_b1bc55e7492d11efb3883cecef1b359e","object":"Address","created_at":"2024-07-23T19:56:47+00:00","updated_at":"2024-07-23T19:56:47+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":[]},"insurance":"100.00","order_id":null,"parcel":{"id":"prcl_0638b2a5adf144ff9e7c433d54bb8280","object":"Parcel","created_at":"2024-07-23T19:56:47Z","updated_at":"2024-07-23T19:56:47Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_09363e8ab69f4732b905c30814a6d3c8","created_at":"2024-07-23T19:56:48Z","updated_at":"2024-07-23T19:56:49Z","date_advance":0,"integrated_form":"none","label_date":"2024-07-23T19:56: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\/20240723\/e855ddb686a93e4673a6e1f838ae0471f2.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_9cb5d83664e34e99b7baeb2c4095f826","object":"Rate","created_at":"2024-07-23T19:56:47Z","updated_at":"2024-07-23T19:56:47Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_f98d4ce802094693be6cc09f0776fea4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_52ad857433dd40c281e0f30052f2f8c7","object":"Rate","created_at":"2024-07-23T19:56:47Z","updated_at":"2024-07-23T19:56:47Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_f98d4ce802094693be6cc09f0776fea4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_222f07c3f3e74a79a157481fcb08191a","object":"Rate","created_at":"2024-07-23T19:56:47Z","updated_at":"2024-07-23T19:56:47Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_f98d4ce802094693be6cc09f0776fea4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_52ad857433dd40c281e0f30052f2f8c7","object":"Rate","created_at":"2024-07-23T19:56:48Z","updated_at":"2024-07-23T19:56:48Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_f98d4ce802094693be6cc09f0776fea4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_b1c8a176410f40f193def5a36c3652e2","object":"Tracker","mode":"test","tracking_code":"9400100110368066400960","status":"unknown","status_detail":"unknown","created_at":"2024-07-23T19:56:49Z","updated_at":"2024-07-23T19:56:49Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_f98d4ce802094693be6cc09f0776fea4","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2IxYzhhMTc2NDEwZjQwZjE5M2RlZjVhMzZjMzY1MmUy"},"to_address":{"id":"adr_b1ba8e13492d11efbceeac1f6bc53342","object":"Address","created_at":"2024-07-23T19:56:47+00:00","updated_at":"2024-07-23T19:56:48+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_b1bc55e7492d11efb3883cecef1b359e","object":"Address","created_at":"2024-07-23T19:56:47+00:00","updated_at":"2024-07-23T19:56:47+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":[]},"buyer_address":{"id":"adr_b1ba8e13492d11efbceeac1f6bc53342","object":"Address","created_at":"2024-07-23T19:56:47+00:00","updated_at":"2024-07-23T19:56:48+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_f98d4ce802094693be6cc09f0776fea4","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:40:21Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":"9400100105807075197303","updated_at":"2024-08-14T17:40:22Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_b7fa7fa1105a4f2d8750a66b41d881c9","object":"CustomsInfo","created_at":"2024-08-14T17:40:21Z","updated_at":"2024-08-14T17:40:21Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_bce089a4404e4a05a92bf735d2a2aee6","object":"CustomsItem","created_at":"2024-08-14T17:40:21Z","updated_at":"2024-08-14T17:40:21Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_474aef545a6411ef8b813cecef1b359e","object":"Address","created_at":"2024-08-14T17:40:21+00:00","updated_at":"2024-08-14T17:40:21+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":[]},"insurance":"100.00","order_id":null,"parcel":{"id":"prcl_b3222cbdee344f559b13c4081ff24a5b","object":"Parcel","created_at":"2024-08-14T17:40:21Z","updated_at":"2024-08-14T17:40:21Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_d3ca95858222432097abec6fdb030a20","created_at":"2024-08-14T17:40:22Z","updated_at":"2024-08-14T17:40:22Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:40: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\/20240814\/e8c7758bc956ad4486a83c0103f2b50759.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_3ab3d261693a4a98b6ddcbcefcccacc3","object":"Rate","created_at":"2024-08-14T17:40:21Z","updated_at":"2024-08-14T17:40:21Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_211b1e701c3d4c84ae58b2d56618264f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_5a66542f39644d45872064f0cf60cced","object":"Rate","created_at":"2024-08-14T17:40:21Z","updated_at":"2024-08-14T17:40:21Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_211b1e701c3d4c84ae58b2d56618264f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_bc42383bed094c30a62d781484201930","object":"Rate","created_at":"2024-08-14T17:40:21Z","updated_at":"2024-08-14T17:40:21Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_211b1e701c3d4c84ae58b2d56618264f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_bc42383bed094c30a62d781484201930","object":"Rate","created_at":"2024-08-14T17:40:22Z","updated_at":"2024-08-14T17:40:22Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_211b1e701c3d4c84ae58b2d56618264f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_d907ca527c0840c6bbcfa70ce6e4296e","object":"Tracker","mode":"test","tracking_code":"9400100105807075197303","status":"unknown","status_detail":"unknown","created_at":"2024-08-14T17:40:22Z","updated_at":"2024-08-14T17:40:22Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_211b1e701c3d4c84ae58b2d56618264f","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2Q5MDdjYTUyN2MwODQwYzZiYmNmYTcwY2U2ZTQyOTZl"},"to_address":{"id":"adr_474886e85a6411ef8d2dac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:40:21+00:00","updated_at":"2024-08-14T17:40:21+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_474aef545a6411ef8b813cecef1b359e","object":"Address","created_at":"2024-08-14T17:40:21+00:00","updated_at":"2024-08-14T17:40:21+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":[]},"buyer_address":{"id":"adr_474886e85a6411ef8d2dac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:40:21+00:00","updated_at":"2024-08-14T17:40:21+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_211b1e701c3d4c84ae58b2d56618264f","object":"Shipment"}' curl_info: - url: 'https://api.easypost.com/v2/shipments/shp_f98d4ce802094693be6cc09f0776fea4/buy' + url: 'https://api.easypost.com/v2/shipments/shp_211b1e701c3d4c84ae58b2d56618264f/buy' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 689 @@ -125,35 +125,35 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.247348 - namelookup_time: 0.00124 - connect_time: 0.137954 - pretransfer_time: 0.288763 + total_time: 1.024054 + namelookup_time: 0.001795 + connect_time: 0.031843 + pretransfer_time: 0.065354 size_upload: 73.0 size_download: 8235.0 - speed_download: 6602.0 - speed_upload: 58.0 + speed_download: 8041.0 + speed_upload: 71.0 download_content_length: 8235.0 upload_content_length: 73.0 - starttransfer_time: 1.247331 + starttransfer_time: 1.023898 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.14 - local_port: 63817 + local_ip: 192.168.1.75 + local_port: 52780 http_version: 2 protocol: 2 ssl_verifyresult: 0 scheme: https - appconnect_time_us: 288605 - connect_time_us: 137954 - namelookup_time_us: 1240 - pretransfer_time_us: 288763 + appconnect_time_us: 65299 + connect_time_us: 31843 + namelookup_time_us: 1795 + pretransfer_time_us: 65354 redirect_time_us: 0 - starttransfer_time_us: 1247331 - total_time_us: 1247348 + starttransfer_time_us: 1023898 + total_time_us: 1024054 effective_method: POST capath: '' cainfo: '' @@ -170,7 +170,7 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"type":"damage","email_evidence_attachments":["data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAeUlEQVR42mP8\/\/8\/AwAI\/AL+4Q7AIAAAAABJRU5ErkJggg=="],"invoice_attachments":["data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAeUlEQVR42mP8\/\/8\/AwAI\/AL+4Q7AIAAAAABJRU5ErkJggg=="],"supporting_documentation_attachments":["data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAeUlEQVR42mP8\/\/8\/AwAI\/AL+4Q7AIAAAAABJRU5ErkJggg=="],"description":"Test description","contact_email":"test@example.com","tracking_code":"9400100110368066400960","amount":"100"}' + body: '{"type":"damage","email_evidence_attachments":["data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAeUlEQVR42mP8\/\/8\/AwAI\/AL+4Q7AIAAAAABJRU5ErkJggg=="],"invoice_attachments":["data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAeUlEQVR42mP8\/\/8\/AwAI\/AL+4Q7AIAAAAABJRU5ErkJggg=="],"supporting_documentation_attachments":["data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAeUlEQVR42mP8\/\/8\/AwAI\/AL+4Q7AIAAAAABJRU5ErkJggg=="],"description":"Test description","contact_email":"test@example.com","tracking_code":"9400100105807075197303","amount":"100"}' response: status: code: 201 @@ -182,19 +182,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 98f5faea66a00b01e79a82680018dd99 + x-ep-request-uuid: e181587966bcec06e2b9003700870634 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1111' - x-runtime: '0.832951' + x-runtime: '0.871546' x-node: bigweb53nuq - x-version-label: easypost-202407231832-14d334dc13-master + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb4nuq c0f5e722d1', 'extlb1nuq fa152d4755'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"approved_amount":null,"attachments":["https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/379d4f0d76c847adabddde44f53f397d.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/d55632462ea34ac3a8419cd735e12708.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/0df078001f3849c982cc00fca02f738a.png"],"check_delivery_address":null,"contact_email":"test@example.com","created_at":"2024-07-23T19:56:49","description":"Test description","history":[{"status":"submitted","status_detail":"Claim was created.","timestamp":"2024-07-23T19:56:49"}],"id":"clm_097ed5afc86d45149655a63fd31bc810","insurance_amount":"100.00","insurance_id":"ins_6d1b3e02c4e041b08b00254e3c45ca79","mode":"test","object":"Claim","payment_method":"easypost_wallet","recipient_name":null,"requested_amount":"100.00","salvage_value":null,"shipment_id":"shp_f98d4ce802094693be6cc09f0776fea4","status":"submitted","status_detail":"Claim was created.","status_timestamp":"2024-07-23T19:56:49","tracking_code":"9400100110368066400960","type":"damage","updated_at":"2024-07-23T19:56:49"}' + body: '{"approved_amount":null,"attachments":["https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240814\/7b228e446dba46a08757d0b7fc1787b6.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240814\/c5c0347f95fc49d3afeec11276838424.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240814\/ba87af1e0d6a4bc2803cb6e4b4ac0a07.png"],"check_delivery_address":null,"contact_email":"test@example.com","created_at":"2024-08-14T17:40:22","description":"Test description","history":[{"status":"submitted","status_detail":"Claim was created.","timestamp":"2024-08-14T17:40:22"}],"id":"clm_0981495595244214b76572bd86f0f1d3","insurance_amount":"100.00","insurance_id":"ins_91a476d63edc4211bfd47a2b62dd953d","mode":"test","object":"Claim","payment_method":"easypost_wallet","recipient_name":null,"requested_amount":"100.00","salvage_value":null,"shipment_id":"shp_211b1e701c3d4c84ae58b2d56618264f","status":"submitted","status_detail":"Claim was created.","status_timestamp":"2024-08-14T17:40:22","tracking_code":"9400100105807075197303","type":"damage","updated_at":"2024-08-14T17:40:22"}' curl_info: url: 'https://api.easypost.com/v2/claims' content_type: 'application/json; charset=utf-8' @@ -204,35 +204,35 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.226971 - namelookup_time: 0.001134 - connect_time: 0.129059 - pretransfer_time: 0.259929 + total_time: 0.978824 + namelookup_time: 0.00263 + connect_time: 0.035503 + pretransfer_time: 0.070188 size_upload: 615.0 size_download: 1111.0 - speed_download: 905.0 - speed_upload: 501.0 + speed_download: 1135.0 + speed_upload: 628.0 download_content_length: 1111.0 upload_content_length: 615.0 - starttransfer_time: 1.225443 + starttransfer_time: 0.978771 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.14 - local_port: 63819 + local_ip: 192.168.1.75 + local_port: 52781 http_version: 2 protocol: 2 ssl_verifyresult: 0 scheme: https - appconnect_time_us: 259797 - connect_time_us: 129059 - namelookup_time_us: 1134 - pretransfer_time_us: 259929 + appconnect_time_us: 70144 + connect_time_us: 35503 + namelookup_time_us: 2630 + pretransfer_time_us: 70188 redirect_time_us: 0 - starttransfer_time_us: 1225443 - total_time_us: 1226971 + starttransfer_time_us: 978771 + total_time_us: 978824 effective_method: POST capath: '' cainfo: '' @@ -240,7 +240,7 @@ - request: method: GET - url: 'https://api.easypost.com/v2/claims/clm_097ed5afc86d45149655a63fd31bc810' + url: 'https://api.easypost.com/v2/claims/clm_0981495595244214b76572bd86f0f1d3' headers: Host: api.easypost.com Accept-Encoding: '' @@ -259,58 +259,57 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 483169f966a00b02e79a8282001990b4 + x-ep-request-uuid: e181587766bcec07e2b900380087074f cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1111' - x-runtime: '0.039915' - x-node: bigweb32nuq - x-version-label: easypost-202407231832-14d334dc13-master + x-runtime: '0.038256' + x-node: bigweb38nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq fa152d4755'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"approved_amount":null,"attachments":["https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/379d4f0d76c847adabddde44f53f397d.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/d55632462ea34ac3a8419cd735e12708.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240723\/0df078001f3849c982cc00fca02f738a.png"],"check_delivery_address":null,"contact_email":"test@example.com","created_at":"2024-07-23T19:56:49","description":"Test description","history":[{"status":"submitted","status_detail":"Claim was created.","timestamp":"2024-07-23T19:56:49"}],"id":"clm_097ed5afc86d45149655a63fd31bc810","insurance_amount":"100.00","insurance_id":"ins_6d1b3e02c4e041b08b00254e3c45ca79","mode":"test","object":"Claim","payment_method":"easypost_wallet","recipient_name":null,"requested_amount":"100.00","salvage_value":null,"shipment_id":"shp_f98d4ce802094693be6cc09f0776fea4","status":"submitted","status_detail":"Claim was created.","status_timestamp":"2024-07-23T19:56:49","tracking_code":"9400100110368066400960","type":"damage","updated_at":"2024-07-23T19:56:49"}' + body: '{"approved_amount":null,"attachments":["https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240814\/7b228e446dba46a08757d0b7fc1787b6.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240814\/c5c0347f95fc49d3afeec11276838424.png","https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/insurance\/20240814\/ba87af1e0d6a4bc2803cb6e4b4ac0a07.png"],"check_delivery_address":null,"contact_email":"test@example.com","created_at":"2024-08-14T17:40:22","description":"Test description","history":[{"status":"submitted","status_detail":"Claim was created.","timestamp":"2024-08-14T17:40:22"}],"id":"clm_0981495595244214b76572bd86f0f1d3","insurance_amount":"100.00","insurance_id":"ins_91a476d63edc4211bfd47a2b62dd953d","mode":"test","object":"Claim","payment_method":"easypost_wallet","recipient_name":null,"requested_amount":"100.00","salvage_value":null,"shipment_id":"shp_211b1e701c3d4c84ae58b2d56618264f","status":"submitted","status_detail":"Claim was created.","status_timestamp":"2024-08-14T17:40:22","tracking_code":"9400100105807075197303","type":"damage","updated_at":"2024-08-14T17:40:22"}' curl_info: - url: 'https://api.easypost.com/v2/claims/clm_097ed5afc86d45149655a63fd31bc810' + url: 'https://api.easypost.com/v2/claims/clm_0981495595244214b76572bd86f0f1d3' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 707 + header_size: 689 request_size: 320 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.438676 - namelookup_time: 0.001202 - connect_time: 0.131545 - pretransfer_time: 0.267106 + total_time: 0.147843 + namelookup_time: 0.002574 + connect_time: 0.035747 + pretransfer_time: 0.071912 size_upload: 0.0 size_download: 1111.0 - speed_download: 2532.0 + speed_download: 7514.0 speed_upload: 0.0 download_content_length: 1111.0 upload_content_length: 0.0 - starttransfer_time: 0.438661 + starttransfer_time: 0.147765 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.14 - local_port: 63822 + local_ip: 192.168.1.75 + local_port: 52782 http_version: 2 protocol: 2 ssl_verifyresult: 0 scheme: https - appconnect_time_us: 267055 - connect_time_us: 131545 - namelookup_time_us: 1202 - pretransfer_time_us: 267106 + appconnect_time_us: 71870 + connect_time_us: 35747 + namelookup_time_us: 2574 + pretransfer_time_us: 71912 redirect_time_us: 0 - starttransfer_time_us: 438661 - total_time_us: 438676 + starttransfer_time_us: 147765 + total_time_us: 147843 effective_method: GET capath: '' cainfo: '' diff --git a/test/cassettes/customs_info/create.yml b/test/cassettes/customs_info/create.yml index 99736085..8c2528a4 100644 --- a/test/cassettes/customs_info/create.yml +++ b/test/cassettes/customs_info/create.yml @@ -14,8 +14,7 @@ body: '{"customs_info":{"eel_pfc":"NOEEI 30.37(a)","customs_certify":"true","customs_signer":"Steve Brule","contents_type":"merchandise","restriction_type":"none","non_delivery_option":"return","customs_items":[{"description":"Sweet shirts","quantity":"2","weight":"11","value":"23.25","hs_tariff_number":"654321","origin_country":"US"}]}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,56 +23,60 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f875655e653ce7885dc5001f3fa8 + x-ep-request-uuid: e181587c66bcec0be2b9005700870b4a cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/customs_infos/cstinfo_3a03995939e240929dd3c30b4ab4777c + location: /api/v2/customs_infos/cstinfo_4f2f08e4ae914566ba24fbc5985384d6 content-type: 'application/json; charset=utf-8' content-length: '796' - x-runtime: '0.042723' - x-node: bigweb40nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.039473' + x-node: bigweb43nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-canary: direct + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"cstinfo_3a03995939e240929dd3c30b4ab4777c","object":"CustomsInfo","created_at":"2023-11-22T20:31:56Z","updated_at":"2023-11-22T20:31:56Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_8137efa71e5749a1aef154fd35337bd2","object":"CustomsItem","created_at":"2023-11-22T20:31:56Z","updated_at":"2023-11-22T20:31:56Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]}' + body: '{"id":"cstinfo_4f2f08e4ae914566ba24fbc5985384d6","object":"CustomsInfo","created_at":"2024-08-14T17:40:27Z","updated_at":"2024-08-14T17:40:27Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_2dcf7b7a944c44f88d4ecbe80a436ef9","object":"CustomsItem","created_at":"2024-08-14T17:40:27Z","updated_at":"2024-08-14T17:40:27Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]}' curl_info: url: 'https://api.easypost.com/v2/customs_infos' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 767 + header_size: 785 request_size: 644 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.236213 - namelookup_time: 0.001299 - connect_time: 0.064449 - pretransfer_time: 0.129138 + total_time: 0.149445 + namelookup_time: 0.003229 + connect_time: 0.036541 + pretransfer_time: 0.073312 size_upload: 332.0 size_download: 796.0 - speed_download: 3369.0 - speed_upload: 1405.0 + speed_download: 5326.0 + speed_upload: 2221.0 download_content_length: 796.0 upload_content_length: 332.0 - starttransfer_time: 0.23618 + starttransfer_time: 0.149387 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53565 + local_ip: 192.168.1.75 + local_port: 52790 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 129052 - connect_time_us: 64449 - namelookup_time_us: 1299 - pretransfer_time_us: 129138 + scheme: https + appconnect_time_us: 73242 + connect_time_us: 36541 + namelookup_time_us: 3229 + pretransfer_time_us: 73312 redirect_time_us: 0 - starttransfer_time_us: 236180 - total_time_us: 236213 + starttransfer_time_us: 149387 + total_time_us: 149445 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/customs_info/retrieve.yml b/test/cassettes/customs_info/retrieve.yml index 4320b246..8f130abc 100644 --- a/test/cassettes/customs_info/retrieve.yml +++ b/test/cassettes/customs_info/retrieve.yml @@ -14,8 +14,7 @@ body: '{"customs_info":{"eel_pfc":"NOEEI 30.37(a)","customs_certify":"true","customs_signer":"Steve Brule","contents_type":"merchandise","restriction_type":"none","non_delivery_option":"return","customs_items":[{"description":"Sweet shirts","quantity":"2","weight":"11","value":"23.25","hs_tariff_number":"654321","origin_country":"US"}]}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,63 +23,67 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f871655e653ce7885dc6001f3fec + x-ep-request-uuid: e181587d66bcec0be2b9005800870b6c cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/customs_infos/cstinfo_7db1f10416354a3ea062ec0ec4b72023 + location: /api/v2/customs_infos/cstinfo_d216629062774dd3a0fa05eaf878ad2b content-type: 'application/json; charset=utf-8' content-length: '796' - x-runtime: '0.044826' - x-node: bigweb38nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.043876' + x-node: bigweb43nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-canary: direct + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"cstinfo_7db1f10416354a3ea062ec0ec4b72023","object":"CustomsInfo","created_at":"2023-11-22T20:31:56Z","updated_at":"2023-11-22T20:31:56Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_2b1dab8040d341a9baf6b516617619dc","object":"CustomsItem","created_at":"2023-11-22T20:31:56Z","updated_at":"2023-11-22T20:31:56Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]}' + body: '{"id":"cstinfo_d216629062774dd3a0fa05eaf878ad2b","object":"CustomsInfo","created_at":"2024-08-14T17:40:27Z","updated_at":"2024-08-14T17:40:27Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_398a942c4c144e5c8530310f1e77f4f5","object":"CustomsItem","created_at":"2024-08-14T17:40:27Z","updated_at":"2024-08-14T17:40:27Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]}' curl_info: url: 'https://api.easypost.com/v2/customs_infos' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 767 + header_size: 785 request_size: 644 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.248949 - namelookup_time: 0.002057 - connect_time: 0.064189 - pretransfer_time: 0.131288 + total_time: 0.150439 + namelookup_time: 0.002063 + connect_time: 0.035286 + pretransfer_time: 0.070016 size_upload: 332.0 size_download: 796.0 - speed_download: 3197.0 - speed_upload: 1333.0 + speed_download: 5291.0 + speed_upload: 2206.0 download_content_length: 796.0 upload_content_length: 332.0 - starttransfer_time: 0.248922 + starttransfer_time: 0.150396 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53566 + local_ip: 192.168.1.75 + local_port: 52791 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 131219 - connect_time_us: 64189 - namelookup_time_us: 2057 - pretransfer_time_us: 131288 + scheme: https + appconnect_time_us: 69966 + connect_time_us: 35286 + namelookup_time_us: 2063 + pretransfer_time_us: 70016 redirect_time_us: 0 - starttransfer_time_us: 248922 - total_time_us: 248949 + starttransfer_time_us: 150396 + total_time_us: 150439 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/customs_infos/cstinfo_7db1f10416354a3ea062ec0ec4b72023' + url: 'https://api.easypost.com/v2/customs_infos/cstinfo_d216629062774dd3a0fa05eaf878ad2b' headers: Host: api.easypost.com Accept-Encoding: '' @@ -90,8 +93,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -100,21 +102,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f873655e653ce7885dc7001f402a + x-ep-request-uuid: e181587b66bcec0be2b9005900870b91 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '796' - x-runtime: '0.027399' - x-node: bigweb38nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.029576' + x-node: bigweb33nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"cstinfo_7db1f10416354a3ea062ec0ec4b72023","object":"CustomsInfo","created_at":"2023-11-22T20:31:56Z","updated_at":"2023-11-22T20:31:56Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_2b1dab8040d341a9baf6b516617619dc","object":"CustomsItem","created_at":"2023-11-22T20:31:56Z","updated_at":"2023-11-22T20:31:56Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]}' + body: '{"id":"cstinfo_d216629062774dd3a0fa05eaf878ad2b","object":"CustomsInfo","created_at":"2024-08-14T17:40:27Z","updated_at":"2024-08-14T17:40:27Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_398a942c4c144e5c8530310f1e77f4f5","object":"CustomsItem","created_at":"2024-08-14T17:40:27Z","updated_at":"2024-08-14T17:40:27Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]}' curl_info: - url: 'https://api.easypost.com/v2/customs_infos/cstinfo_7db1f10416354a3ea062ec0ec4b72023' + url: 'https://api.easypost.com/v2/customs_infos/cstinfo_d216629062774dd3a0fa05eaf878ad2b' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 688 @@ -122,33 +124,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.220518 - namelookup_time: 0.001241 - connect_time: 0.064377 - pretransfer_time: 0.129407 + total_time: 0.125085 + namelookup_time: 0.002253 + connect_time: 0.031781 + pretransfer_time: 0.063448 size_upload: 0.0 size_download: 796.0 - speed_download: 3609.0 + speed_download: 6363.0 speed_upload: 0.0 download_content_length: 796.0 upload_content_length: 0.0 - starttransfer_time: 0.220482 + starttransfer_time: 0.125055 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53567 + local_ip: 192.168.1.75 + local_port: 52792 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 129380 - connect_time_us: 64377 - namelookup_time_us: 1241 - pretransfer_time_us: 129407 + scheme: https + appconnect_time_us: 63408 + connect_time_us: 31781 + namelookup_time_us: 2253 + pretransfer_time_us: 63448 redirect_time_us: 0 - starttransfer_time_us: 220482 - total_time_us: 220518 + starttransfer_time_us: 125055 + total_time_us: 125085 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/customs_items/create.yml b/test/cassettes/customs_items/create.yml index 41abb0fd..0795c55c 100644 --- a/test/cassettes/customs_items/create.yml +++ b/test/cassettes/customs_items/create.yml @@ -14,8 +14,7 @@ body: '{"customs_item":{"description":"Sweet shirts","quantity":"2","weight":"11","value":"23.25","hs_tariff_number":"654321","origin_country":"US"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f877655e653be7885dc2001f3eb5 + x-ep-request-uuid: ce89011e66bcec0be2b9005b0084d4f0 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/customs_items/cstitem_7b32b1698b114d2f8973cfab0289e628 + location: /api/v2/customs_items/cstitem_c3a2f7c1df2e46cdb14d0baf955bdb4b content-type: 'application/json; charset=utf-8' content-length: '376' - x-runtime: '0.048487' - x-node: bigweb38nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.035869' + x-node: bigweb39nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb1nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"cstitem_7b32b1698b114d2f8973cfab0289e628","object":"CustomsItem","created_at":"2023-11-22T20:31:55Z","updated_at":"2023-11-22T20:31:55Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}' + body: '{"id":"cstitem_c3a2f7c1df2e46cdb14d0baf955bdb4b","object":"CustomsItem","created_at":"2024-08-14T17:40:27Z","updated_at":"2024-08-14T17:40:27Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}' curl_info: url: 'https://api.easypost.com/v2/customs_items' content_type: 'application/json; charset=utf-8' @@ -47,33 +46,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.242512 - namelookup_time: 0.001482 - connect_time: 0.066448 - pretransfer_time: 0.130164 + total_time: 0.148571 + namelookup_time: 0.00199 + connect_time: 0.037917 + pretransfer_time: 0.074554 size_upload: 142.0 size_download: 376.0 - speed_download: 1550.0 - speed_upload: 585.0 + speed_download: 2530.0 + speed_upload: 955.0 download_content_length: 376.0 upload_content_length: 142.0 - starttransfer_time: 0.242495 + starttransfer_time: 0.148554 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.131 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53562 + local_ip: 192.168.1.75 + local_port: 52794 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 130130 - connect_time_us: 66448 - namelookup_time_us: 1482 - pretransfer_time_us: 130164 + scheme: https + appconnect_time_us: 74498 + connect_time_us: 37917 + namelookup_time_us: 1990 + pretransfer_time_us: 74554 redirect_time_us: 0 - starttransfer_time_us: 242495 - total_time_us: 242512 + starttransfer_time_us: 148554 + total_time_us: 148571 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/customs_items/retrieve.yml b/test/cassettes/customs_items/retrieve.yml index 8c6ecfeb..1910b21d 100644 --- a/test/cassettes/customs_items/retrieve.yml +++ b/test/cassettes/customs_items/retrieve.yml @@ -14,8 +14,7 @@ body: '{"customs_item":{"description":"Sweet shirts","quantity":"2","weight":"11","value":"23.25","hs_tariff_number":"654321","origin_country":"US"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,63 +23,67 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f872655e653be7885dc3001f3efc + x-ep-request-uuid: e181587666bcec0be2b9005c00870bda cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/customs_items/cstitem_b9193e2f08654758acf3cbb165bbbd9c + location: /api/v2/customs_items/cstitem_6b3dc873de2c407b8e8a9f71780948be content-type: 'application/json; charset=utf-8' content-length: '376' - x-runtime: '0.169176' - x-node: bigweb41nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.032146' + x-node: bigweb32nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-canary: direct + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"cstitem_b9193e2f08654758acf3cbb165bbbd9c","object":"CustomsItem","created_at":"2023-11-22T20:31:55Z","updated_at":"2023-11-22T20:31:55Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}' + body: '{"id":"cstitem_6b3dc873de2c407b8e8a9f71780948be","object":"CustomsItem","created_at":"2024-08-14T17:40:27Z","updated_at":"2024-08-14T17:40:27Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}' curl_info: url: 'https://api.easypost.com/v2/customs_items' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 767 + header_size: 785 request_size: 454 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.367006 - namelookup_time: 0.00134 - connect_time: 0.065004 - pretransfer_time: 0.132357 + total_time: 0.13342 + namelookup_time: 0.007549 + connect_time: 0.037242 + pretransfer_time: 0.068406 size_upload: 142.0 size_download: 376.0 - speed_download: 1024.0 - speed_upload: 386.0 + speed_download: 2818.0 + speed_upload: 1064.0 download_content_length: 376.0 upload_content_length: 142.0 - starttransfer_time: 0.36699 + starttransfer_time: 0.133403 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53563 + local_ip: 192.168.1.75 + local_port: 52795 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 132277 - connect_time_us: 65004 - namelookup_time_us: 1340 - pretransfer_time_us: 132357 + scheme: https + appconnect_time_us: 68372 + connect_time_us: 37242 + namelookup_time_us: 7549 + pretransfer_time_us: 68406 redirect_time_us: 0 - starttransfer_time_us: 366990 - total_time_us: 367006 + starttransfer_time_us: 133403 + total_time_us: 133420 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/customs_items/cstitem_b9193e2f08654758acf3cbb165bbbd9c' + url: 'https://api.easypost.com/v2/customs_items/cstitem_6b3dc873de2c407b8e8a9f71780948be' headers: Host: api.easypost.com Accept-Encoding: '' @@ -90,8 +93,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -100,21 +102,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f876655e653be7885dc4001f3f64 + x-ep-request-uuid: e181587d66bcec0be2b9005e00870bf7 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '376' - x-runtime: '0.023557' - x-node: bigweb40nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.025745' + x-node: bigweb41nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"cstitem_b9193e2f08654758acf3cbb165bbbd9c","object":"CustomsItem","created_at":"2023-11-22T20:31:55Z","updated_at":"2023-11-22T20:31:55Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}' + body: '{"id":"cstitem_6b3dc873de2c407b8e8a9f71780948be","object":"CustomsItem","created_at":"2024-08-14T17:40:27Z","updated_at":"2024-08-14T17:40:27Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}' curl_info: - url: 'https://api.easypost.com/v2/customs_items/cstitem_b9193e2f08654758acf3cbb165bbbd9c' + url: 'https://api.easypost.com/v2/customs_items/cstitem_6b3dc873de2c407b8e8a9f71780948be' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 688 @@ -122,33 +124,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.213644 - namelookup_time: 0.001237 - connect_time: 0.063231 - pretransfer_time: 0.126622 + total_time: 0.120368 + namelookup_time: 0.00151 + connect_time: 0.030451 + pretransfer_time: 0.061572 size_upload: 0.0 size_download: 376.0 - speed_download: 1759.0 + speed_download: 3123.0 speed_upload: 0.0 download_content_length: 376.0 upload_content_length: 0.0 - starttransfer_time: 0.213615 + starttransfer_time: 0.120333 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53564 + local_ip: 192.168.1.75 + local_port: 52797 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 126596 - connect_time_us: 63231 - namelookup_time_us: 1237 - pretransfer_time_us: 126622 + scheme: https + appconnect_time_us: 61537 + connect_time_us: 30451 + namelookup_time_us: 1510 + pretransfer_time_us: 61572 redirect_time_us: 0 - starttransfer_time_us: 213615 - total_time_us: 213644 + starttransfer_time_us: 120333 + total_time_us: 120368 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/end_shipper/all.yml b/test/cassettes/end_shipper/all.yml index eb9ba645..3e501fbb 100644 --- a/test/cassettes/end_shipper/all.yml +++ b/test/cassettes/end_shipper/all.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,56 +21,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f876655e653ae7885dc1001f3e1b + x-ep-request-uuid: e181587866bcec0ce2b9037100870c88 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1876' - x-runtime: '0.349668' - x-node: bigweb43nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.382405' + x-node: bigweb42nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' body: '{"end_shippers":[{"id":"es_0f557a38aa6f4ba39ea03263e623afbb","object":"EndShipper","mode":"test","created_at":"2022-12-01T21:54:31+00:00","updated_at":"2022-12-01T21:54:31+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":"","email":""},{"id":"es_c3a10e9303ae45389034ac1b221708b5","object":"EndShipper","mode":"test","created_at":"2022-12-01T21:54:31+00:00","updated_at":"2022-12-01T21:54:31+00:00","name":"NEW NAME","company":"EASYPOST","street1":"388 TOWNSEND ST APT 20","street2":null,"city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":""},{"id":"es_9bcfec7e10c8449fa979fc58592f6e5a","object":"EndShipper","mode":"test","created_at":"2022-12-01T21:54:32+00:00","updated_at":"2022-12-01T21:54:32+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":"","email":""},{"id":"es_94d172c397d44d6f96b141ff1d7d63ea","object":"EndShipper","mode":"test","created_at":"2022-12-01T21:54:33+00:00","updated_at":"2022-12-01T21:54:33+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":"","email":""},{"id":"es_82b22182a598479ea7cc09e934dbc898","object":"EndShipper","mode":"test","created_at":"2022-12-01T21:54:33+00:00","updated_at":"2022-12-01T21:54:33+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":"","email":""}],"has_more":true}' curl_info: url: 'https://api.easypost.com/v2/end_shippers?page_size=5' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 707 + header_size: 689 request_size: 301 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.548718 - namelookup_time: 0.001145 - connect_time: 0.065638 - pretransfer_time: 0.132572 + total_time: 0.484649 + namelookup_time: 0.0017 + connect_time: 0.033128 + pretransfer_time: 0.066747 size_upload: 0.0 size_download: 1876.0 - speed_download: 3418.0 + speed_download: 3870.0 speed_upload: 0.0 download_content_length: 1876.0 upload_content_length: 0.0 - starttransfer_time: 0.548698 + starttransfer_time: 0.484577 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53561 + local_ip: 192.168.1.75 + local_port: 52802 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 132494 - connect_time_us: 65638 - namelookup_time_us: 1145 - pretransfer_time_us: 132572 + scheme: https + appconnect_time_us: 66689 + connect_time_us: 33128 + namelookup_time_us: 1700 + pretransfer_time_us: 66747 redirect_time_us: 0 - starttransfer_time_us: 548698 - total_time_us: 548718 + starttransfer_time_us: 484577 + total_time_us: 484649 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/end_shipper/create.yml b/test/cassettes/end_shipper/create.yml index d2d4cde6..affe2ba5 100644 --- a/test/cassettes/end_shipper/create.yml +++ b/test/cassettes/end_shipper/create.yml @@ -14,8 +14,7 @@ body: '{"address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,19 +23,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f874655e6539e7885da5001f3c9d + x-ep-request-uuid: e181587b66bcec0be2b9005f00870c17 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '365' - x-runtime: '0.071523' - x-node: bigweb40nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.053124' + x-node: bigweb33nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"es_3b20b5e5c97642f58a2e68c07e91a66b","object":"EndShipper","mode":"test","created_at":"2023-11-22T20:31:53+00:00","updated_at":"2023-11-22T20:31:53+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":""}' + body: '{"id":"es_6880eb4656df4ed5b81ba3674e415f87","object":"EndShipper","mode":"test","created_at":"2024-08-14T17:40:27+00:00","updated_at":"2024-08-14T17:40:27+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":""}' curl_info: url: 'https://api.easypost.com/v2/end_shippers' content_type: 'application/json; charset=utf-8' @@ -46,33 +45,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.263121 - namelookup_time: 0.001733 - connect_time: 0.063928 - pretransfer_time: 0.12766 + total_time: 0.152128 + namelookup_time: 0.003002 + connect_time: 0.032264 + pretransfer_time: 0.064569 size_upload: 195.0 size_download: 365.0 - speed_download: 1387.0 - speed_upload: 741.0 + speed_download: 2399.0 + speed_upload: 1281.0 download_content_length: 365.0 upload_content_length: 195.0 - starttransfer_time: 0.263082 + starttransfer_time: 0.152113 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53556 + local_ip: 192.168.1.75 + local_port: 52798 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 127636 - connect_time_us: 63928 - namelookup_time_us: 1733 - pretransfer_time_us: 127660 + scheme: https + appconnect_time_us: 64515 + connect_time_us: 32264 + namelookup_time_us: 3002 + pretransfer_time_us: 64569 redirect_time_us: 0 - starttransfer_time_us: 263082 - total_time_us: 263121 + starttransfer_time_us: 152113 + total_time_us: 152128 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/end_shipper/retrieve.yml b/test/cassettes/end_shipper/retrieve.yml index ecd10da4..4839ee98 100644 --- a/test/cassettes/end_shipper/retrieve.yml +++ b/test/cassettes/end_shipper/retrieve.yml @@ -14,8 +14,7 @@ body: '{"address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,19 +23,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f874655e6539e7885da6001f3ceb + x-ep-request-uuid: e181587766bcec0ce2b9006000870c3b cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '365' - x-runtime: '0.052066' - x-node: bigweb39nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.056842' + x-node: bigweb40nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"es_462c2239af1c401a94fb82e70bb7a8a8","object":"EndShipper","mode":"test","created_at":"2023-11-22T20:31:53+00:00","updated_at":"2023-11-22T20:31:53+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":""}' + body: '{"id":"es_9e87a53154684eb58161db24736076e3","object":"EndShipper","mode":"test","created_at":"2024-08-14T17:40:28+00:00","updated_at":"2024-08-14T17:40:28+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":""}' curl_info: url: 'https://api.easypost.com/v2/end_shippers' content_type: 'application/json; charset=utf-8' @@ -46,40 +45,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.257731 - namelookup_time: 0.001109 - connect_time: 0.064891 - pretransfer_time: 0.135168 + total_time: 0.165448 + namelookup_time: 0.001247 + connect_time: 0.034433 + pretransfer_time: 0.071481 size_upload: 195.0 size_download: 365.0 - speed_download: 1416.0 - speed_upload: 756.0 + speed_download: 2206.0 + speed_upload: 1178.0 download_content_length: 365.0 upload_content_length: 195.0 - starttransfer_time: 0.257712 + starttransfer_time: 0.165388 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53557 + local_ip: 192.168.1.75 + local_port: 52799 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 135098 - connect_time_us: 64891 - namelookup_time_us: 1109 - pretransfer_time_us: 135168 + scheme: https + appconnect_time_us: 71338 + connect_time_us: 34433 + namelookup_time_us: 1247 + pretransfer_time_us: 71481 redirect_time_us: 0 - starttransfer_time_us: 257712 - total_time_us: 257731 + starttransfer_time_us: 165388 + total_time_us: 165448 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/end_shippers/es_462c2239af1c401a94fb82e70bb7a8a8' + url: 'https://api.easypost.com/v2/end_shippers/es_9e87a53154684eb58161db24736076e3' headers: Host: api.easypost.com Accept-Encoding: '' @@ -89,8 +91,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -99,21 +100,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f877655e6539e7885da7001f3d35 + x-ep-request-uuid: e181587d66bcec0ce2b9036f00870c66 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '367' - x-runtime: '0.027159' - x-node: bigweb36nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.035809' + x-node: bigweb33nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"es_462c2239af1c401a94fb82e70bb7a8a8","object":"EndShipper","mode":"test","created_at":"2023-11-22T20:31:53+00:00","updated_at":"2023-11-22T20:31:53+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":"","email":""}' + body: '{"id":"es_9e87a53154684eb58161db24736076e3","object":"EndShipper","mode":"test","created_at":"2024-08-14T17:40:28+00:00","updated_at":"2024-08-14T17:40:28+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":"","email":""}' curl_info: - url: 'https://api.easypost.com/v2/end_shippers/es_462c2239af1c401a94fb82e70bb7a8a8' + url: 'https://api.easypost.com/v2/end_shippers/es_9e87a53154684eb58161db24736076e3' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 688 @@ -121,33 +122,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.220028 - namelookup_time: 0.001006 - connect_time: 0.062909 - pretransfer_time: 0.128294 + total_time: 0.149362 + namelookup_time: 0.00291 + connect_time: 0.038155 + pretransfer_time: 0.075404 size_upload: 0.0 size_download: 367.0 - speed_download: 1667.0 + speed_download: 2457.0 speed_upload: 0.0 download_content_length: 367.0 upload_content_length: 0.0 - starttransfer_time: 0.219986 + starttransfer_time: 0.149325 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53558 + local_ip: 192.168.1.75 + local_port: 52800 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 128248 - connect_time_us: 62909 - namelookup_time_us: 1006 - pretransfer_time_us: 128294 + scheme: https + appconnect_time_us: 75353 + connect_time_us: 38155 + namelookup_time_us: 2910 + pretransfer_time_us: 75404 redirect_time_us: 0 - starttransfer_time_us: 219986 - total_time_us: 220028 + starttransfer_time_us: 149325 + total_time_us: 149362 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/end_shipper/update.yml b/test/cassettes/end_shipper/update.yml index 47993958..f6c4e043 100644 --- a/test/cassettes/end_shipper/update.yml +++ b/test/cassettes/end_shipper/update.yml @@ -14,8 +14,7 @@ body: '{"address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,63 +23,65 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f874655e653ae7885da8001f3d8a + x-ep-request-uuid: e181587c66bcec0ce2b9037200870d10 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '365' - x-runtime: '0.056473' - x-node: bigweb32nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.059335' + x-node: bigweb36nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"es_6a76c5cd08fc40daa2f7b69b2befde28","object":"EndShipper","mode":"test","created_at":"2023-11-22T20:31:54+00:00","updated_at":"2023-11-22T20:31:54+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":""}' + body: '{"id":"es_a8f4f5c017394ac991d626e9a7ea77dd","object":"EndShipper","mode":"test","created_at":"2024-08-14T17:40:28+00:00","updated_at":"2024-08-14T17:40:28+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":""}' curl_info: url: 'https://api.easypost.com/v2/end_shippers' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 711 + header_size: 693 request_size: 506 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.25718 - namelookup_time: 0.001032 - connect_time: 0.064122 - pretransfer_time: 0.130799 + total_time: 0.168399 + namelookup_time: 0.003074 + connect_time: 0.036339 + pretransfer_time: 0.072507 size_upload: 195.0 size_download: 365.0 - speed_download: 1419.0 - speed_upload: 758.0 + speed_download: 2167.0 + speed_upload: 1157.0 download_content_length: 365.0 upload_content_length: 195.0 - starttransfer_time: 0.25715 + starttransfer_time: 0.168365 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53559 + local_ip: 192.168.1.75 + local_port: 52803 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 130740 - connect_time_us: 64122 - namelookup_time_us: 1032 - pretransfer_time_us: 130799 + scheme: https + appconnect_time_us: 72443 + connect_time_us: 36339 + namelookup_time_us: 3074 + pretransfer_time_us: 72507 redirect_time_us: 0 - starttransfer_time_us: 257150 - total_time_us: 257180 + starttransfer_time_us: 168365 + total_time_us: 168399 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: PUT - url: 'https://api.easypost.com/v2/end_shippers/es_6a76c5cd08fc40daa2f7b69b2befde28' + url: 'https://api.easypost.com/v2/end_shippers/es_a8f4f5c017394ac991d626e9a7ea77dd' headers: Host: api.easypost.com Expect: '' @@ -92,8 +93,7 @@ body: '{"address":{"name":"NEW NAME","company":"EasyPost","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","phone":"9999999999","email":"test@example.com"}}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -102,56 +102,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f873655e653ae7885dc0001f3dd9 + x-ep-request-uuid: e181587c66bcec0de2b9037300870d39 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '367' - x-runtime: '0.054189' - x-node: bigweb32nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.058862' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"es_6a76c5cd08fc40daa2f7b69b2befde28","object":"EndShipper","mode":"test","created_at":"2023-11-22T20:31:54+00:00","updated_at":"2023-11-22T20:31:54+00:00","name":"NEW NAME","company":"EASYPOST","street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":""}' + body: '{"id":"es_a8f4f5c017394ac991d626e9a7ea77dd","object":"EndShipper","mode":"test","created_at":"2024-08-14T17:40:28+00:00","updated_at":"2024-08-14T17:40:29+00:00","name":"NEW NAME","company":"EASYPOST","street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":""}' curl_info: - url: 'https://api.easypost.com/v2/end_shippers/es_6a76c5cd08fc40daa2f7b69b2befde28' + url: 'https://api.easypost.com/v2/end_shippers/es_a8f4f5c017394ac991d626e9a7ea77dd' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 706 + header_size: 688 request_size: 558 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.247146 - namelookup_time: 0.001316 - connect_time: 0.063574 - pretransfer_time: 0.12894 + total_time: 0.167549 + namelookup_time: 0.002677 + connect_time: 0.0358 + pretransfer_time: 0.071661 size_upload: 212.0 size_download: 367.0 - speed_download: 1484.0 - speed_upload: 857.0 + speed_download: 2190.0 + speed_upload: 1265.0 download_content_length: 367.0 upload_content_length: 212.0 - starttransfer_time: 0.247091 + starttransfer_time: 0.16748 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53560 + local_ip: 192.168.1.75 + local_port: 52804 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 128851 - connect_time_us: 63574 - namelookup_time_us: 1316 - pretransfer_time_us: 128940 + scheme: https + appconnect_time_us: 71610 + connect_time_us: 35800 + namelookup_time_us: 2677 + pretransfer_time_us: 71661 redirect_time_us: 0 - starttransfer_time_us: 247091 - total_time_us: 247146 + starttransfer_time_us: 167480 + total_time_us: 167549 + effective_method: PUT + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/errors/errors.yml b/test/cassettes/errors/errors.yml index 07c2fcbf..3a83937d 100644 --- a/test/cassettes/errors/errors.yml +++ b/test/cassettes/errors/errors.yml @@ -14,8 +14,7 @@ body: '[]' response: status: - http_version: '1.1' - code: '422' + code: 422 message: 'Unprocessable Entity' headers: x-frame-options: SAMEORIGIN @@ -24,17 +23,17 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f874655e6539e7885da4001f3c60 + x-ep-request-uuid: e181587866bcec0de2b9037400870d63 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '139' - x-runtime: '0.035100' - x-node: bigweb42nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.023497' + x-node: bigweb38nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' body: '{"error":{"code":"PARAMETER.REQUIRED","message":"Missing required parameter.","errors":[{"field":"shipment","message":"cannot be blank"}]}}' curl_info: @@ -46,33 +45,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.237609 - namelookup_time: 0.001313 - connect_time: 0.064817 - pretransfer_time: 0.136908 + total_time: 0.119793 + namelookup_time: 0.001663 + connect_time: 0.031202 + pretransfer_time: 0.063838 size_upload: 2.0 size_download: 139.0 - speed_download: 584.0 - speed_upload: 8.0 + speed_download: 1160.0 + speed_upload: 16.0 download_content_length: 139.0 upload_content_length: 2.0 - starttransfer_time: 0.237594 + starttransfer_time: 0.119769 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53555 + local_ip: 192.168.1.75 + local_port: 52805 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 136852 - connect_time_us: 64817 - namelookup_time_us: 1313 - pretransfer_time_us: 136908 + scheme: https + appconnect_time_us: 63775 + connect_time_us: 31202 + namelookup_time_us: 1663 + pretransfer_time_us: 63838 redirect_time_us: 0 - starttransfer_time_us: 237594 - total_time_us: 237609 + starttransfer_time_us: 119769 + total_time_us: 119793 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/events/all.yml b/test/cassettes/events/all.yml index 2f227706..b5783d32 100644 --- a/test/cassettes/events/all.yml +++ b/test/cassettes/events/all.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,19 +21,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f870655e6537e7885da1001f3acf + x-ep-request-uuid: e181587866bcec0de2b9037500870d7c cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1118' - x-runtime: '0.250976' - x-node: bigweb36nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.234526' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"events":[{"description":"tracker.created","id":"evt_2b522fc2897611ee84b70d16a6e53740","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T20:31:52.101Z","mode":"test","object":"Event"},{"description":"tracker.created","id":"evt_2a7a7b0e897611eeaf5c1df1fd968d33","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T20:31:50.688Z","mode":"test","object":"Event"},{"description":"tracker.created","id":"evt_2a3d4ce8897611ee851555718ba90c95","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T20:31:50.287Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_288be076897611ee970a0f4e8e2811f6","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T20:31:47.446Z","mode":"test","object":"Event"},{"description":"tracker.created","id":"evt_28630a8e897611eeb57821ed4b1b14e1","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T20:31:47.178Z","mode":"test","object":"Event"}],"has_more":true}' + body: '{"events":[{"description":"tracker.updated","id":"evt_4baf3ed05a6411ef8b1d0535d2a3cb59","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:28.478Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_4a6484725a6411ef8aba0fc6b423ec7f","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:26.310Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_495e7aba5a6411efbbab251d0f7390cc","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:24.593Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_47e5b5545a6411ef93621368753eb209","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:22.124Z","mode":"test","object":"Event"},{"description":"tracker.created","id":"evt_47df0f565a6411efacd055f2d9d822bc","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:22.080Z","mode":"test","object":"Event"}],"has_more":true}' curl_info: url: 'https://api.easypost.com/v2/events?page_size=5' content_type: 'application/json; charset=utf-8' @@ -44,33 +43,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.449138 - namelookup_time: 0.001265 - connect_time: 0.06306 - pretransfer_time: 0.133494 + total_time: 0.341717 + namelookup_time: 0.002116 + connect_time: 0.035021 + pretransfer_time: 0.071167 size_upload: 0.0 size_download: 1118.0 - speed_download: 2489.0 + speed_download: 3271.0 speed_upload: 0.0 download_content_length: 1118.0 upload_content_length: 0.0 - starttransfer_time: 0.449092 + starttransfer_time: 0.341698 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53552 + local_ip: 192.168.1.75 + local_port: 52806 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 133447 - connect_time_us: 63060 - namelookup_time_us: 1265 - pretransfer_time_us: 133494 + scheme: https + appconnect_time_us: 71111 + connect_time_us: 35021 + namelookup_time_us: 2116 + pretransfer_time_us: 71167 redirect_time_us: 0 - starttransfer_time_us: 449092 - total_time_us: 449138 + starttransfer_time_us: 341698 + total_time_us: 341717 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/events/getNextPage.yml b/test/cassettes/events/getNextPage.yml index 2cf73fc9..6755c59e 100644 --- a/test/cassettes/events/getNextPage.yml +++ b/test/cassettes/events/getNextPage.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,19 +21,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 0610ca3b6564ead5e787e228001427af + x-ep-request-uuid: e181587a66bcec0de2b9037600870dd6 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1118' - x-runtime: '0.248567' - x-node: bigweb34nuq - x-version-label: easypost-202311250013-a0f06fbc2c-master + x-runtime: '0.217563' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"events":[{"description":"tracker.updated","id":"evt_f54c36ee897e11eea41223159a3c6619","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T21:34:46.936Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_d17d1288897e11eeb6216d0c628adcd4","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T21:33:46.858Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_adb1cbfa897e11eea9483325002e9e17","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T21:32:46.805Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_9e678fea897e11ee9dc1418dfae67354","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T21:32:21.153Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_8a281f2c897e11eeb2661fb356483f18","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T21:31:47.183Z","mode":"test","object":"Event"}],"has_more":true}' + body: '{"events":[{"description":"tracker.updated","id":"evt_4baf3ed05a6411ef8b1d0535d2a3cb59","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:28.478Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_4a6484725a6411ef8aba0fc6b423ec7f","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:26.310Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_495e7aba5a6411efbbab251d0f7390cc","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:24.593Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_47e5b5545a6411ef93621368753eb209","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:22.124Z","mode":"test","object":"Event"},{"description":"tracker.created","id":"evt_47df0f565a6411efacd055f2d9d822bc","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:22.080Z","mode":"test","object":"Event"}],"has_more":true}' curl_info: url: 'https://api.easypost.com/v2/events?page_size=5' content_type: 'application/json; charset=utf-8' @@ -44,40 +43,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.454064 - namelookup_time: 0.00131 - connect_time: 0.065799 - pretransfer_time: 0.130677 + total_time: 0.328029 + namelookup_time: 0.005832 + connect_time: 0.039099 + pretransfer_time: 0.07385 size_upload: 0.0 size_download: 1118.0 - speed_download: 2462.0 + speed_download: 3408.0 speed_upload: 0.0 download_content_length: 1118.0 upload_content_length: 0.0 - starttransfer_time: 0.454024 + starttransfer_time: 0.327997 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.31 - local_port: 52947 + local_ip: 192.168.1.75 + local_port: 52807 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 130617 - connect_time_us: 65799 - namelookup_time_us: 1310 - pretransfer_time_us: 130677 + scheme: https + appconnect_time_us: 73818 + connect_time_us: 39099 + namelookup_time_us: 5832 + pretransfer_time_us: 73850 redirect_time_us: 0 - starttransfer_time_us: 454024 - total_time_us: 454064 + starttransfer_time_us: 327997 + total_time_us: 328029 + effective_method: GET + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/events?page_size=5&before_id=evt_8a281f2c897e11eeb2661fb356483f18' + url: 'https://api.easypost.com/v2/events?page_size=5&before_id=evt_47df0f565a6411efacd055f2d9d822bc' headers: Host: api.easypost.com Accept-Encoding: '' @@ -87,8 +89,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -97,21 +98,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 0610ca3b6564ead6e787e2290014285f + x-ep-request-uuid: e181587c66bcec0ee2b9037700870e17 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1118' - x-runtime: '0.158289' - x-node: bigweb42nuq - x-version-label: easypost-202311250013-a0f06fbc2c-master + x-runtime: '0.199932' + x-node: bigweb39nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"events":[{"description":"tracker.updated","id":"evt_89e5a958897e11eeaaa277fad9990dd4","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T21:31:46.747Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_7a9afade897e11eeb06c170783cc4134","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T21:31:21.092Z","mode":"test","object":"Event"},{"description":"tracker.created","id":"evt_784744b8897e11ee9f4c2f246134d065","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T21:31:17.188Z","mode":"test","object":"Event"},{"description":"tracker.created","id":"evt_78034236897e11ee9f852330de3b5ff9","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T21:31:16.742Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_56ce68ac897e11ee8e2279ee208efebe","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T21:30:21.031Z","mode":"test","object":"Event"}],"has_more":true}' + body: '{"events":[{"description":"tracker.created","id":"evt_46cdbc705a6411ef9c4c03322fc2ead0","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:20.289Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_456790185a6411efae6c3bc842b99c7e","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:17.941Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_41b091685a6411efa8b80d9bf8d8fe11","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:11.709Z","mode":"test","object":"Event"},{"description":"tracker.created","id":"evt_416d6d3e5a6411efb723151c85d90d42","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:11.269Z","mode":"test","object":"Event"},{"description":"tracker.created","id":"evt_403141525a6411efadee69799c483bd1","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:09.197Z","mode":"test","object":"Event"}],"has_more":true}' curl_info: - url: 'https://api.easypost.com/v2/events?page_size=5&before_id=evt_8a281f2c897e11eeb2661fb356483f18' + url: 'https://api.easypost.com/v2/events?page_size=5&before_id=evt_47df0f565a6411efacd055f2d9d822bc' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 689 @@ -119,33 +120,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.353124 - namelookup_time: 0.001919 - connect_time: 0.064541 - pretransfer_time: 0.129125 + total_time: 0.315512 + namelookup_time: 0.003062 + connect_time: 0.032391 + pretransfer_time: 0.064549 size_upload: 0.0 size_download: 1118.0 - speed_download: 3166.0 + speed_download: 3543.0 speed_upload: 0.0 download_content_length: 1118.0 upload_content_length: 0.0 - starttransfer_time: 0.353104 + starttransfer_time: 0.315442 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.31 - local_port: 52948 + local_ip: 192.168.1.75 + local_port: 52808 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 129086 - connect_time_us: 64541 - namelookup_time_us: 1919 - pretransfer_time_us: 129125 + scheme: https + appconnect_time_us: 64496 + connect_time_us: 32391 + namelookup_time_us: 3062 + pretransfer_time_us: 64549 redirect_time_us: 0 - starttransfer_time_us: 353104 - total_time_us: 353124 + starttransfer_time_us: 315442 + total_time_us: 315512 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/events/retrieve.yml b/test/cassettes/events/retrieve.yml index 88c22dc0..2ddcff6f 100644 --- a/test/cassettes/events/retrieve.yml +++ b/test/cassettes/events/retrieve.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,63 +21,65 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f872655e6529e7885d7e001f2be1 + x-ep-request-uuid: e181587766bcec0ee2b9037800870e5e cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1118' - x-runtime: '0.230769' - x-node: bigweb32nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.202705' + x-node: bigweb38nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"events":[{"description":"tracker.created","id":"evt_21934372897611ee8a86110f643624aa","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T20:31:35.750Z","mode":"test","object":"Event"},{"description":"tracker.created","id":"evt_2000b8dc897611ee9bfc350b83cd811f","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T20:31:33.112Z","mode":"test","object":"Event"},{"description":"tracker.created","id":"evt_1eb9b8ac897611eebe9577d78e845e11","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T20:31:30.969Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_1e091d62897611ee9eb94b49eb4e7161","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T20:31:29.812Z","mode":"test","object":"Event"},{"description":"tracker.created","id":"evt_1d82d252897611ee9a9b0969131eebbf","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T20:31:28.932Z","mode":"test","object":"Event"}],"has_more":true}' + body: '{"events":[{"description":"tracker.updated","id":"evt_4c996f5a5a6411efa7f6335722e82275","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:30.012Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_4baf3ed05a6411ef8b1d0535d2a3cb59","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:28.478Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_4a6484725a6411ef8aba0fc6b423ec7f","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:26.310Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_495e7aba5a6411efbbab251d0f7390cc","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:24.593Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_47e5b5545a6411ef93621368753eb209","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:22.124Z","mode":"test","object":"Event"}],"has_more":true}' curl_info: url: 'https://api.easypost.com/v2/events?page_size=5' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 707 + header_size: 689 request_size: 295 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.425971 - namelookup_time: 0.001313 - connect_time: 0.063981 - pretransfer_time: 0.130254 + total_time: 0.31221 + namelookup_time: 0.002231 + connect_time: 0.034747 + pretransfer_time: 0.071998 size_upload: 0.0 size_download: 1118.0 - speed_download: 2624.0 + speed_download: 3580.0 speed_upload: 0.0 download_content_length: 1118.0 upload_content_length: 0.0 - starttransfer_time: 0.425929 + starttransfer_time: 0.312128 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53540 + local_ip: 192.168.1.75 + local_port: 52809 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 130165 - connect_time_us: 63981 - namelookup_time_us: 1313 - pretransfer_time_us: 130254 + scheme: https + appconnect_time_us: 71943 + connect_time_us: 34747 + namelookup_time_us: 2231 + pretransfer_time_us: 71998 redirect_time_us: 0 - starttransfer_time_us: 425929 - total_time_us: 425971 + starttransfer_time_us: 312128 + total_time_us: 312210 + effective_method: GET + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/events/evt_21934372897611ee8a86110f643624aa' + url: 'https://api.easypost.com/v2/events/evt_4c996f5a5a6411efa7f6335722e82275' headers: Host: api.easypost.com Accept-Encoding: '' @@ -88,8 +89,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -98,21 +98,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f873655e6529e7885d7f001f2c4f + x-ep-request-uuid: e181587666bcec0ee2b9039000870ebc cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '340' - x-runtime: '0.031721' - x-node: bigweb42nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '338' + x-runtime: '0.051935' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"description":"tracker.created","mode":"test","previous_attributes":[],"created_at":"2023-11-22T20:31:36.000Z","pending_urls":["http:\/\/example.com"],"completed_urls":[],"updated_at":"2023-11-22T20:31:36.000Z","id":"evt_21934372897611ee8a86110f643624aa","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","object":"Event"}' + body: '{"description":"tracker.updated","mode":"test","previous_attributes":{"status":"unknown"},"created_at":"2024-08-14T17:40:30.000Z","pending_urls":[],"completed_urls":[],"updated_at":"2024-08-14T17:40:30.000Z","id":"evt_4c996f5a5a6411efa7f6335722e82275","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","object":"Event"}' curl_info: - url: 'https://api.easypost.com/v2/events/evt_21934372897611ee8a86110f643624aa' + url: 'https://api.easypost.com/v2/events/evt_4c996f5a5a6411efa7f6335722e82275' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 688 @@ -120,33 +120,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.232651 - namelookup_time: 0.001154 - connect_time: 0.065342 - pretransfer_time: 0.135324 + total_time: 0.151175 + namelookup_time: 0.002047 + connect_time: 0.032149 + pretransfer_time: 0.065967 size_upload: 0.0 - size_download: 340.0 - speed_download: 1461.0 + size_download: 338.0 + speed_download: 2235.0 speed_upload: 0.0 - download_content_length: 340.0 + download_content_length: 338.0 upload_content_length: 0.0 - starttransfer_time: 0.232616 + starttransfer_time: 0.151103 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53541 + local_ip: 192.168.1.75 + local_port: 52810 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 135237 - connect_time_us: 65342 - namelookup_time_us: 1154 - pretransfer_time_us: 135324 + scheme: https + appconnect_time_us: 65897 + connect_time_us: 32149 + namelookup_time_us: 2047 + pretransfer_time_us: 65967 redirect_time_us: 0 - starttransfer_time_us: 232616 - total_time_us: 232651 + starttransfer_time_us: 151103 + total_time_us: 151175 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/events/retrieve_all_payloads.yml b/test/cassettes/events/retrieve_all_payloads.yml index 20f997fd..83c78e8a 100644 --- a/test/cassettes/events/retrieve_all_payloads.yml +++ b/test/cassettes/events/retrieve_all_payloads.yml @@ -14,8 +14,7 @@ body: '{"webhook":{"url":"http:\/\/example.com"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,57 +23,61 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f877655e6529e7885d80001f2c9c + x-ep-request-uuid: e181587966bcec0ee2b9039100870edd cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '161' - x-runtime: '0.133429' - x-node: bigweb41nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.170405' + x-node: bigweb43nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-canary: direct + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"hook_22ef69d0897611eeba905da600b431c2","object":"Webhook","mode":"test","url":"http:\/\/example.com","created_at":"2023-11-22T20:31:38Z","disabled_at":null}' + body: '{"id":"hook_4d19eea05a6411efa0002bdce86220a5","object":"Webhook","mode":"test","url":"http:\/\/example.com","created_at":"2024-08-14T17:40:31Z","disabled_at":null}' curl_info: url: 'https://api.easypost.com/v2/webhooks' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 693 + header_size: 711 request_size: 348 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.328311 - namelookup_time: 0.001807 - connect_time: 0.064409 - pretransfer_time: 0.130113 + total_time: 0.271592 + namelookup_time: 0.00283 + connect_time: 0.0322 + pretransfer_time: 0.064576 size_upload: 42.0 size_download: 161.0 - speed_download: 490.0 - speed_upload: 127.0 + speed_download: 592.0 + speed_upload: 154.0 download_content_length: 161.0 upload_content_length: 42.0 - starttransfer_time: 0.328129 + starttransfer_time: 0.271546 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53542 + local_ip: 192.168.1.75 + local_port: 52811 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 130037 - connect_time_us: 64409 - namelookup_time_us: 1807 - pretransfer_time_us: 130113 + scheme: https + appconnect_time_us: 64515 + connect_time_us: 32200 + namelookup_time_us: 2830 + pretransfer_time_us: 64576 redirect_time_us: 0 - starttransfer_time_us: 328129 - total_time_us: 328311 + starttransfer_time_us: 271546 + total_time_us: 271592 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: @@ -91,8 +94,7 @@ body: '{"batch":{"shipments":[{"from_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"to_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"}}]}}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -101,19 +103,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f874655e652ae7885d81001f2cf4 + x-ep-request-uuid: e181587b66bcec0fe2b9039200870f1c cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '384' - x-runtime: '0.042153' - x-node: bigweb39nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.050632' + x-node: bigweb40nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"batch_8bd564209b9c49ab8aee8641ac2ed181","object":"Batch","mode":"test","state":"creating","num_shipments":1,"reference":null,"created_at":"2023-11-22T20:31:38Z","updated_at":"2023-11-22T20:31: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}' + body: '{"id":"batch_3e9e050ddeca42099a7ee5b19c2558fc","object":"Batch","mode":"test","state":"creating","num_shipments":1,"reference":null,"created_at":"2024-08-14T17:40:31Z","updated_at":"2024-08-14T17:40:31Z","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}' curl_info: url: 'https://api.easypost.com/v2/batches' content_type: 'application/json; charset=utf-8' @@ -123,35 +125,38 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.246628 - namelookup_time: 0.005687 - connect_time: 0.069773 - pretransfer_time: 0.139599 + total_time: 0.146946 + namelookup_time: 0.002223 + connect_time: 0.031694 + pretransfer_time: 0.063574 size_upload: 472.0 size_download: 384.0 - speed_download: 1557.0 - speed_upload: 1913.0 + speed_download: 2613.0 + speed_upload: 3212.0 download_content_length: 384.0 upload_content_length: 472.0 - starttransfer_time: 0.246613 + starttransfer_time: 0.146931 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53543 + local_ip: 192.168.1.75 + local_port: 52812 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 139571 - connect_time_us: 69773 - namelookup_time_us: 5687 - pretransfer_time_us: 139599 + scheme: https + appconnect_time_us: 63529 + connect_time_us: 31694 + namelookup_time_us: 2223 + pretransfer_time_us: 63574 redirect_time_us: 0 - starttransfer_time_us: 246613 - total_time_us: 246628 + starttransfer_time_us: 146931 + total_time_us: 146946 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: @@ -166,8 +171,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -176,19 +180,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f877655e652fe7885d82001f328a + x-ep-request-uuid: e181587a66bcec14e2b9039300871436 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '1118' - x-runtime: '0.201153' - x-node: bigweb35nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '1114' + x-runtime: '0.240390' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"events":[{"description":"tracker.updated","id":"evt_253ac036897611ee9e2e035566208406","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T20:31:41.881Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_249d4ffe897611ee99c563768fc249d0","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T20:31:40.849Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_249a2b26897611eebd7d15ca1e81a094","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T20:31:40.829Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_24980580897611ee919a33b81827fbec","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T20:31:40.815Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_241d73c4897611eeae2c7fd122eea202","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T20:31:40.012Z","mode":"test","object":"Event"}],"has_more":true}' + body: '{"events":[{"description":"tracker.updated","id":"evt_500128685a6411ef9323693c2cd65a08","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:35.725Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_4eb8f8465a6411efbbaf0705356b06c4","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:33.574Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_4e4f41085a6411ef97d7496c6afb0a84","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:32.882Z","mode":"test","object":"Event"},{"description":"batch.updated","id":"evt_4d5ac9705a6411efbe52093e7b9d9090","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:31.279Z","mode":"test","object":"Event"},{"description":"batch.created","id":"evt_4d4b84a65a6411ef99855144233b8b77","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:31.179Z","mode":"test","object":"Event"}],"has_more":true}' curl_info: url: 'https://api.easypost.com/v2/events?page_size=5' content_type: 'application/json; charset=utf-8' @@ -198,40 +202,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.447341 - namelookup_time: 0.040257 - connect_time: 0.108144 - pretransfer_time: 0.174606 + total_time: 0.351852 + namelookup_time: 0.002048 + connect_time: 0.035725 + pretransfer_time: 0.072773 size_upload: 0.0 - size_download: 1118.0 - speed_download: 2499.0 + size_download: 1114.0 + speed_download: 3166.0 speed_upload: 0.0 - download_content_length: 1118.0 + download_content_length: 1114.0 upload_content_length: 0.0 - starttransfer_time: 0.44727 + starttransfer_time: 0.351797 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53544 + local_ip: 192.168.1.75 + local_port: 52813 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 174533 - connect_time_us: 108144 - namelookup_time_us: 40257 - pretransfer_time_us: 174606 + scheme: https + appconnect_time_us: 72707 + connect_time_us: 35725 + namelookup_time_us: 2048 + pretransfer_time_us: 72773 redirect_time_us: 0 - starttransfer_time_us: 447270 - total_time_us: 447341 + starttransfer_time_us: 351797 + total_time_us: 351852 + effective_method: GET + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/events/evt_253ac036897611ee9e2e035566208406/payloads' + url: 'https://api.easypost.com/v2/events/evt_500128685a6411ef9323693c2cd65a08/payloads' headers: Host: api.easypost.com Accept-Encoding: '' @@ -241,8 +248,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -251,63 +257,65 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f873655e6530e7885d83001f3314 + x-ep-request-uuid: e181587c66bcec14e2b9039400871495 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '15' - x-runtime: '0.043847' - x-node: bigweb43nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.047531' + x-node: bigweb40nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' body: '{"payloads":[]}' curl_info: - url: 'https://api.easypost.com/v2/events/evt_253ac036897611ee9e2e035566208406/payloads' + url: 'https://api.easypost.com/v2/events/evt_500128685a6411ef9323693c2cd65a08/payloads' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 705 + header_size: 687 request_size: 329 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.237598 - namelookup_time: 0.001076 - connect_time: 0.063165 - pretransfer_time: 0.130104 + total_time: 0.159725 + namelookup_time: 0.002619 + connect_time: 0.035898 + pretransfer_time: 0.072743 size_upload: 0.0 size_download: 15.0 - speed_download: 63.0 + speed_download: 93.0 speed_upload: 0.0 download_content_length: 15.0 upload_content_length: 0.0 - starttransfer_time: 0.237555 + starttransfer_time: 0.159639 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53545 + local_ip: 192.168.1.75 + local_port: 52814 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 130077 - connect_time_us: 63165 - namelookup_time_us: 1076 - pretransfer_time_us: 130104 + scheme: https + appconnect_time_us: 72670 + connect_time_us: 35898 + namelookup_time_us: 2619 + pretransfer_time_us: 72743 redirect_time_us: 0 - starttransfer_time_us: 237555 - total_time_us: 237598 + starttransfer_time_us: 159639 + total_time_us: 159725 + effective_method: GET + capath: '' + cainfo: '' index: 0 - request: method: DELETE - url: 'https://api.easypost.com/v2/webhooks/hook_22ef69d0897611eeba905da600b431c2' + url: 'https://api.easypost.com/v2/webhooks/hook_4d19eea05a6411efa0002bdce86220a5' headers: Host: api.easypost.com Accept-Encoding: '' @@ -317,8 +325,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -327,21 +334,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f877655e6530e7885d84001f3357 + x-ep-request-uuid: e181587666bcec14e2b90395008714c5 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '2' - x-runtime: '0.325197' - x-node: bigweb36nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.385471' + x-node: bigweb40nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' body: '[]' curl_info: - url: 'https://api.easypost.com/v2/webhooks/hook_22ef69d0897611eeba905da600b431c2' + url: 'https://api.easypost.com/v2/webhooks/hook_4d19eea05a6411efa0002bdce86220a5' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 686 @@ -349,33 +356,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.519525 - namelookup_time: 0.001324 - connect_time: 0.063552 - pretransfer_time: 0.130734 + total_time: 0.484221 + namelookup_time: 0.002819 + connect_time: 0.032514 + pretransfer_time: 0.064889 size_upload: 0.0 size_download: 2.0 - speed_download: 3.0 + speed_download: 4.0 speed_upload: 0.0 download_content_length: 2.0 upload_content_length: 0.0 - starttransfer_time: 0.519494 + starttransfer_time: 0.484151 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53546 + local_ip: 192.168.1.75 + local_port: 52815 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 130621 - connect_time_us: 63552 - namelookup_time_us: 1324 - pretransfer_time_us: 130734 + scheme: https + appconnect_time_us: 64826 + connect_time_us: 32514 + namelookup_time_us: 2819 + pretransfer_time_us: 64889 redirect_time_us: 0 - starttransfer_time_us: 519494 - total_time_us: 519525 + starttransfer_time_us: 484151 + total_time_us: 484221 + effective_method: DELETE + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/events/retrieve_payload.yml b/test/cassettes/events/retrieve_payload.yml index e2cef284..7c944f6b 100644 --- a/test/cassettes/events/retrieve_payload.yml +++ b/test/cassettes/events/retrieve_payload.yml @@ -14,8 +14,7 @@ body: '{"webhook":{"url":"http:\/\/example.com"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,57 +23,61 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f873655e6530e7885d85001f33d3 + x-ep-request-uuid: e181587a66bcec15e2b9039600871543 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '161' - x-runtime: '0.157272' - x-node: bigweb42nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.159283' + x-node: bigweb32nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-canary: direct + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"hook_27107c2a897611eebc530b9b84a8c3a6","object":"Webhook","mode":"test","url":"http:\/\/example.com","created_at":"2023-11-22T20:31:45Z","disabled_at":null}' + body: '{"id":"hook_50f4eade5a6411ef9d0413a70ca8f858","object":"Webhook","mode":"test","url":"http:\/\/example.com","created_at":"2024-08-14T17:40:37Z","disabled_at":null}' curl_info: url: 'https://api.easypost.com/v2/webhooks' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 693 + header_size: 711 request_size: 348 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.359719 - namelookup_time: 0.003264 - connect_time: 0.064888 - pretransfer_time: 0.138556 + total_time: 0.260243 + namelookup_time: 0.002057 + connect_time: 0.034413 + pretransfer_time: 0.067334 size_upload: 42.0 size_download: 161.0 - speed_download: 447.0 - speed_upload: 116.0 + speed_download: 618.0 + speed_upload: 161.0 download_content_length: 161.0 upload_content_length: 42.0 - starttransfer_time: 0.359704 + starttransfer_time: 0.260192 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53547 + local_ip: 192.168.1.75 + local_port: 52816 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 138467 - connect_time_us: 64888 - namelookup_time_us: 3264 - pretransfer_time_us: 138556 + scheme: https + appconnect_time_us: 67269 + connect_time_us: 34413 + namelookup_time_us: 2057 + pretransfer_time_us: 67334 redirect_time_us: 0 - starttransfer_time_us: 359704 - total_time_us: 359719 + starttransfer_time_us: 260192 + total_time_us: 260243 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: @@ -91,8 +94,7 @@ body: '{"batch":{"shipments":[{"from_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"to_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"}}]}}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -101,19 +103,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f870655e6531e7885d86001f342b + x-ep-request-uuid: e181587966bcec15e2b903970087158a cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '384' - x-runtime: '0.053303' - x-node: bigweb38nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.064809' + x-node: bigweb40nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"batch_ee6b9fadd3c842f187d326b864982ba4","object":"Batch","mode":"test","state":"creating","num_shipments":1,"reference":null,"created_at":"2023-11-22T20:31:45Z","updated_at":"2023-11-22T20:31:45Z","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}' + body: '{"id":"batch_497ee00109f24e70bf81d36c56ac6d2b","object":"Batch","mode":"test","state":"creating","num_shipments":1,"reference":null,"created_at":"2024-08-14T17:40:37Z","updated_at":"2024-08-14T17:40:37Z","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}' curl_info: url: 'https://api.easypost.com/v2/batches' content_type: 'application/json; charset=utf-8' @@ -123,35 +125,38 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.255351 - namelookup_time: 0.001838 - connect_time: 0.066251 - pretransfer_time: 0.130694 + total_time: 0.174228 + namelookup_time: 0.002102 + connect_time: 0.035279 + pretransfer_time: 0.071261 size_upload: 472.0 size_download: 384.0 - speed_download: 1503.0 - speed_upload: 1848.0 + speed_download: 2204.0 + speed_upload: 2709.0 download_content_length: 384.0 upload_content_length: 472.0 - starttransfer_time: 0.255304 + starttransfer_time: 0.174147 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53548 + local_ip: 192.168.1.75 + local_port: 52817 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 130660 - connect_time_us: 66251 - namelookup_time_us: 1838 - pretransfer_time_us: 130694 + scheme: https + appconnect_time_us: 71190 + connect_time_us: 35279 + namelookup_time_us: 2102 + pretransfer_time_us: 71261 redirect_time_us: 0 - starttransfer_time_us: 255304 - total_time_us: 255351 + starttransfer_time_us: 174147 + total_time_us: 174228 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: @@ -166,8 +171,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -176,19 +180,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f873655e6536e7885d87001f3989 + x-ep-request-uuid: e181587c66bcec1ae2b9039800871a37 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1116' - x-runtime: '0.198184' - x-node: bigweb34nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.239750' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"events":[{"description":"tracker.created","id":"evt_2a7a7b0e897611eeaf5c1df1fd968d33","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T20:31:50.688Z","mode":"test","object":"Event"},{"description":"tracker.created","id":"evt_2a3d4ce8897611ee851555718ba90c95","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T20:31:50.287Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_288be076897611ee970a0f4e8e2811f6","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T20:31:47.446Z","mode":"test","object":"Event"},{"description":"tracker.created","id":"evt_28630a8e897611eeb57821ed4b1b14e1","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T20:31:47.178Z","mode":"test","object":"Event"},{"description":"batch.updated","id":"evt_275b82ba897611ee921f75290e9e90db","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2023-11-22T20:31:45.451Z","mode":"test","object":"Event"}],"has_more":true}' + body: '{"events":[{"description":"tracker.updated","id":"evt_535939f65a6411efbada2f59619d559e","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:41.336Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_534dda705a6411efb342075730c8b8d2","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:41.261Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_5213ca2a5a6411ef811b51df5719c18c","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:39.203Z","mode":"test","object":"Event"},{"description":"tracker.updated","id":"evt_51eaf7f85a6411ef8df02104d9249134","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:38.935Z","mode":"test","object":"Event"},{"description":"batch.updated","id":"evt_5134eb2a5a6411ef850c431aa8a7a3bf","user_id":"user_465eab8bb86844108100be2d4d5288ab","status":"pending","created_at":"2024-08-14T17:40:37.742Z","mode":"test","object":"Event"}],"has_more":true}' curl_info: url: 'https://api.easypost.com/v2/events?page_size=5' content_type: 'application/json; charset=utf-8' @@ -198,40 +202,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.39429 - namelookup_time: 0.002149 - connect_time: 0.064577 - pretransfer_time: 0.13169 + total_time: 0.349021 + namelookup_time: 0.002539 + connect_time: 0.035388 + pretransfer_time: 0.072538 size_upload: 0.0 size_download: 1116.0 - speed_download: 2830.0 + speed_download: 3197.0 speed_upload: 0.0 download_content_length: 1116.0 upload_content_length: 0.0 - starttransfer_time: 0.394211 + starttransfer_time: 0.348973 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53549 + local_ip: 192.168.1.75 + local_port: 52818 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 131527 - connect_time_us: 64577 - namelookup_time_us: 2149 - pretransfer_time_us: 131690 + scheme: https + appconnect_time_us: 72482 + connect_time_us: 35388 + namelookup_time_us: 2539 + pretransfer_time_us: 72538 redirect_time_us: 0 - starttransfer_time_us: 394211 - total_time_us: 394290 + starttransfer_time_us: 348973 + total_time_us: 349021 + effective_method: GET + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/events/evt_2a7a7b0e897611eeaf5c1df1fd968d33/payloads/payload_11111111111111111111111111111111' + url: 'https://api.easypost.com/v2/events/evt_535939f65a6411efbada2f59619d559e/payloads/payload_11111111111111111111111111111111' headers: Host: api.easypost.com Accept-Encoding: '' @@ -241,8 +248,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '404' + code: 404 message: 'Not Found' headers: x-frame-options: SAMEORIGIN @@ -251,21 +257,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f875655e6536e7885d9f001f39ea + x-ep-request-uuid: e181587b66bcec1be2b9039900871a9b cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '97' - x-runtime: '0.037087' - x-node: bigweb33nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.036810' + x-node: bigweb38nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' body: '{"error":{"code":"PAYLOAD.NOT_FOUND","message":"The payload(s) could not be found.","errors":[]}}' curl_info: - url: 'https://api.easypost.com/v2/events/evt_2a7a7b0e897611eeaf5c1df1fd968d33/payloads/payload_11111111111111111111111111111111' + url: 'https://api.easypost.com/v2/events/evt_535939f65a6411efbada2f59619d559e/payloads/payload_11111111111111111111111111111111' content_type: 'application/json; charset=utf-8' http_code: 404 header_size: 694 @@ -273,40 +279,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.234177 - namelookup_time: 0.001265 - connect_time: 0.064395 - pretransfer_time: 0.132268 + total_time: 0.148055 + namelookup_time: 0.002455 + connect_time: 0.037006 + pretransfer_time: 0.074628 size_upload: 0.0 size_download: 97.0 - speed_download: 414.0 + speed_download: 655.0 speed_upload: 0.0 download_content_length: 97.0 upload_content_length: 0.0 - starttransfer_time: 0.234146 + starttransfer_time: 0.147992 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53550 + local_ip: 192.168.1.75 + local_port: 52819 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 132197 - connect_time_us: 64395 - namelookup_time_us: 1265 - pretransfer_time_us: 132268 + scheme: https + appconnect_time_us: 74556 + connect_time_us: 37006 + namelookup_time_us: 2455 + pretransfer_time_us: 74628 redirect_time_us: 0 - starttransfer_time_us: 234146 - total_time_us: 234177 + starttransfer_time_us: 147992 + total_time_us: 148055 + effective_method: GET + capath: '' + cainfo: '' index: 0 - request: method: DELETE - url: 'https://api.easypost.com/v2/webhooks/hook_27107c2a897611eebc530b9b84a8c3a6' + url: 'https://api.easypost.com/v2/webhooks/hook_50f4eade5a6411ef9d0413a70ca8f858' headers: Host: api.easypost.com Accept-Encoding: '' @@ -316,8 +325,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -326,21 +334,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f872655e6537e7885da0001f3a3d + x-ep-request-uuid: e181587c66bcec1be2b903b100871aba cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '2' - x-runtime: '0.393399' - x-node: bigweb38nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.313813' + x-node: bigweb39nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' body: '[]' curl_info: - url: 'https://api.easypost.com/v2/webhooks/hook_27107c2a897611eebc530b9b84a8c3a6' + url: 'https://api.easypost.com/v2/webhooks/hook_50f4eade5a6411ef9d0413a70ca8f858' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 686 @@ -348,33 +356,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.592585 - namelookup_time: 0.001084 - connect_time: 0.064596 - pretransfer_time: 0.130789 + total_time: 0.426089 + namelookup_time: 0.002478 + connect_time: 0.035484 + pretransfer_time: 0.073133 size_upload: 0.0 size_download: 2.0 - speed_download: 3.0 + speed_download: 4.0 speed_upload: 0.0 download_content_length: 2.0 upload_content_length: 0.0 - starttransfer_time: 0.592557 + starttransfer_time: 0.426023 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53551 + local_ip: 192.168.1.75 + local_port: 52820 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 130720 - connect_time_us: 64596 - namelookup_time_us: 1084 - pretransfer_time_us: 130789 + scheme: https + appconnect_time_us: 73072 + connect_time_us: 35484 + namelookup_time_us: 2478 + pretransfer_time_us: 73133 redirect_time_us: 0 - starttransfer_time_us: 592557 - total_time_us: 592585 + starttransfer_time_us: 426023 + total_time_us: 426089 + effective_method: DELETE + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/hooks/request.yml b/test/cassettes/hooks/request.yml index e4441a36..020b5d7e 100644 --- a/test/cassettes/hooks/request.yml +++ b/test/cassettes/hooks/request.yml @@ -14,8 +14,7 @@ body: '{"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,57 +23,59 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f870655e6555e7886140001f57d3 + x-ep-request-uuid: e181587a66bcec1be2b903b200871b4e cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/parcels/prcl_b83ff40b3f9c467c90efeb9c256306c9 + location: /api/v2/parcels/prcl_13c7e8870ac14b53929ae2dfb871e78d content-type: 'application/json; charset=utf-8' content-length: '229' - x-runtime: '0.034026' - x-node: bigweb32nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.033386' + x-node: bigweb34nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"prcl_b83ff40b3f9c467c90efeb9c256306c9","object":"Parcel","created_at":"2023-11-22T20:32:21Z","updated_at":"2023-11-22T20:32:21Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"}' + body: '{"id":"prcl_13c7e8870ac14b53929ae2dfb871e78d","object":"Parcel","created_at":"2024-08-14T17:40:43Z","updated_at":"2024-08-14T17:40:43Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"}' curl_info: url: 'https://api.easypost.com/v2/parcels' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 776 + header_size: 758 request_size: 372 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.225612 - namelookup_time: 0.00118 - connect_time: 0.063765 - pretransfer_time: 0.127733 + total_time: 0.134087 + namelookup_time: 0.004001 + connect_time: 0.033944 + pretransfer_time: 0.067329 size_upload: 67.0 size_download: 229.0 - speed_download: 1015.0 - speed_upload: 296.0 + speed_download: 1707.0 + speed_upload: 499.0 download_content_length: 229.0 upload_content_length: 67.0 - starttransfer_time: 0.225596 + starttransfer_time: 0.134058 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53605 + local_ip: 192.168.1.75 + local_port: 52821 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 127707 - connect_time_us: 63765 - namelookup_time_us: 1180 - pretransfer_time_us: 127733 + scheme: https + appconnect_time_us: 67267 + connect_time_us: 33944 + namelookup_time_us: 4001 + pretransfer_time_us: 67329 redirect_time_us: 0 - starttransfer_time_us: 225596 - total_time_us: 225612 + starttransfer_time_us: 134058 + total_time_us: 134087 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/hooks/response.yml b/test/cassettes/hooks/response.yml index 23b09381..2493500d 100644 --- a/test/cassettes/hooks/response.yml +++ b/test/cassettes/hooks/response.yml @@ -14,8 +14,7 @@ body: '{"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f874655e6556e7886141001f5806 + x-ep-request-uuid: e181587766bcec1be2b903b300871b75 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/parcels/prcl_bed18dd72dfe46dfb711d4387fac85be + location: /api/v2/parcels/prcl_33736c67f22a43a4b56e514e8b434d3a content-type: 'application/json; charset=utf-8' content-length: '229' - x-runtime: '0.035377' + x-runtime: '0.036926' x-node: bigweb34nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"prcl_bed18dd72dfe46dfb711d4387fac85be","object":"Parcel","created_at":"2023-11-22T20:32:22Z","updated_at":"2023-11-22T20:32:22Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"}' + body: '{"id":"prcl_33736c67f22a43a4b56e514e8b434d3a","object":"Parcel","created_at":"2024-08-14T17:40:43Z","updated_at":"2024-08-14T17:40:43Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"}' curl_info: url: 'https://api.easypost.com/v2/parcels' content_type: 'application/json; charset=utf-8' @@ -47,33 +46,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.254493 - namelookup_time: 0.002576 - connect_time: 0.067496 - pretransfer_time: 0.148964 + total_time: 0.136492 + namelookup_time: 0.002763 + connect_time: 0.032453 + pretransfer_time: 0.065974 size_upload: 67.0 size_download: 229.0 - speed_download: 899.0 - speed_upload: 263.0 + speed_download: 1677.0 + speed_upload: 490.0 download_content_length: 229.0 upload_content_length: 67.0 - starttransfer_time: 0.254434 + starttransfer_time: 0.136359 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53606 + local_ip: 192.168.1.75 + local_port: 52822 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 148892 - connect_time_us: 67496 - namelookup_time_us: 2576 - pretransfer_time_us: 148964 + scheme: https + appconnect_time_us: 65904 + connect_time_us: 32453 + namelookup_time_us: 2763 + pretransfer_time_us: 65974 redirect_time_us: 0 - starttransfer_time_us: 254434 - total_time_us: 254493 + starttransfer_time_us: 136359 + total_time_us: 136492 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/hooks/unsubscribe.yml b/test/cassettes/hooks/unsubscribe.yml index 6148bc5b..87f09cb0 100644 --- a/test/cassettes/hooks/unsubscribe.yml +++ b/test/cassettes/hooks/unsubscribe.yml @@ -14,8 +14,7 @@ body: '{"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f873655e6556e7886142001f584b + x-ep-request-uuid: e181587a66bcec1be2b903b400871b9b cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/parcels/prcl_a14d41f726b6466bbf868b55c0434a06 + location: /api/v2/parcels/prcl_982ab0fcc68744d9bfb1125de796be86 content-type: 'application/json; charset=utf-8' content-length: '229' - x-runtime: '0.036942' - x-node: bigweb33nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.031405' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"prcl_a14d41f726b6466bbf868b55c0434a06","object":"Parcel","created_at":"2023-11-22T20:32:22Z","updated_at":"2023-11-22T20:32:22Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"}' + body: '{"id":"prcl_982ab0fcc68744d9bfb1125de796be86","object":"Parcel","created_at":"2024-08-14T17:40:44Z","updated_at":"2024-08-14T17:40:44Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"}' curl_info: url: 'https://api.easypost.com/v2/parcels' content_type: 'application/json; charset=utf-8' @@ -47,33 +46,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.249403 - namelookup_time: 0.003287 - connect_time: 0.069408 - pretransfer_time: 0.144517 + total_time: 0.138536 + namelookup_time: 0.002139 + connect_time: 0.034989 + pretransfer_time: 0.07068 size_upload: 67.0 size_download: 229.0 - speed_download: 918.0 - speed_upload: 268.0 + speed_download: 1652.0 + speed_upload: 483.0 download_content_length: 229.0 upload_content_length: 67.0 - starttransfer_time: 0.249383 + starttransfer_time: 0.138458 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53607 + local_ip: 192.168.1.75 + local_port: 52823 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 144460 - connect_time_us: 69408 - namelookup_time_us: 3287 - pretransfer_time_us: 144517 + scheme: https + appconnect_time_us: 70613 + connect_time_us: 34989 + namelookup_time_us: 2139 + pretransfer_time_us: 70680 redirect_time_us: 0 - starttransfer_time_us: 249383 - total_time_us: 249403 + starttransfer_time_us: 138458 + total_time_us: 138536 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/insurance/all.yml b/test/cassettes/insurance/all.yml index 96cf0570..010a1a97 100644 --- a/test/cassettes/insurance/all.yml +++ b/test/cassettes/insurance/all.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,56 +21,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef9120655e6acee7886a2200253995 + x-ep-request-uuid: e181587866bceba2e2b8faed0086a2b6 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '17304' - x-runtime: '0.281135' - x-node: bigweb32nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '15793' + x-runtime: '0.351903' + x-node: bigweb36nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"insurances":[{"id":"ins_5d1e631b2da04e228e3ebc4b0ecec2d9","object":"Insurance","mode":"test","reference":null,"status":"pending","amount":"100.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_7f89e388897911ee9e413cecef1b359e","object":"Address","created_at":"2023-11-22T20:55:41+00:00","updated_at":"2023-11-22T20:55:41+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_7f8ee3b7897911eeb020ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:55:41+00:00","updated_at":"2023-11-22T20:55:41+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"shipment_id":null,"tracker":{"id":"trk_c1e533955c854f98b3d5fc96603cc1bb","object":"Tracker","mode":"test","tracking_code":"9400100105440282044703","status":"error","status_detail":null,"created_at":"2023-11-22T20:55:42Z","updated_at":"2023-11-22T20:55:42Z","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":"2023-11-22T20:55:42Z","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\/djE6dHJrX2MxZTUzMzk1NWM4NTRmOThiM2Q1ZmM5NjYwM2NjMWJi","fees":[]},"tracking_code":"9400100105440282044703","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2023-11-22T20:55:41Z","updated_at":"2023-11-22T20:55:41Z"},{"id":"ins_f3db178d346442728a07783f687aae2c","object":"Insurance","mode":"test","reference":null,"status":"purchased","amount":"50.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_7eb0c6f7897911ee8e4eac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:55:40+00:00","updated_at":"2023-11-22T20:55:40+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"from_address":{"id":"adr_7eb3d855897911ee9f09ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:55:40+00:00","updated_at":"2023-11-22T20:55:40+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"shipment_id":"shp_7a0b7549964545b08822009bf94f9589","tracker":{"id":"trk_fc4d034ebe91457282f121f575d33a8a","object":"Tracker","mode":"test","tracking_code":"9400100105440282044703","status":"pre_transit","status_detail":"status_update","created_at":"2023-11-22T20:55:41Z","updated_at":"2023-11-22T20:55:41Z","signed_by":null,"weight":null,"est_delivery_date":"2023-11-22T20:55:41Z","shipment_id":"shp_7a0b7549964545b08822009bf94f9589","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:55:41Z","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-10-23T09:32:41Z","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\/djE6dHJrX2ZjNGQwMzRlYmU5MTQ1NzI4MmYxMjFmNTc1ZDMzYThh","fees":[]},"tracking_code":"9400100105440282044703","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false},"messages":[],"created_at":"2023-11-22T20:55:40Z","updated_at":"2023-11-22T20:55:41Z"},{"id":"ins_2e69f3da14e945188d976770842d8ea8","object":"Insurance","mode":"test","reference":null,"status":"pending","amount":"100.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_b82ae7b3897711ee87eaac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:42:57+00:00","updated_at":"2023-11-22T20:42:57+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_b8309ba9897711ee87ecac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:42:57+00:00","updated_at":"2023-11-22T20:42:57+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"shipment_id":null,"tracker":{"id":"trk_e73b3e6b431842bf8b59fb9c83dbcb55","object":"Tracker","mode":"test","tracking_code":"9400100105440282039129","status":"error","status_detail":null,"created_at":"2023-11-22T20:42:58Z","updated_at":"2023-11-22T20:42:58Z","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":"2023-11-22T20:42:58Z","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\/djE6dHJrX2U3M2IzZTZiNDMxODQyYmY4YjU5ZmI5YzgzZGJjYjU1","fees":[]},"tracking_code":"9400100105440282039129","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2023-11-22T20:42:57Z","updated_at":"2023-11-22T20:42:58Z"},{"id":"ins_76877bdd7c80441aa259f0fb3bdb5ae9","object":"Insurance","mode":"test","reference":null,"status":"purchased","amount":"50.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_b75401d2897711ee876bac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:42:56+00:00","updated_at":"2023-11-22T20:42:56+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"from_address":{"id":"adr_b75650fd897711eea605ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:42:56+00:00","updated_at":"2023-11-22T20:42:56+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"shipment_id":"shp_aaccf5851734473085f89bb9a271b458","tracker":{"id":"trk_df9e068cf2bc4e668f29354d6c927d1c","object":"Tracker","mode":"test","tracking_code":"9400100105440282039129","status":"delivered","status_detail":"arrived_at_destination","created_at":"2023-11-22T20:42:57Z","updated_at":"2023-11-22T20:45:57Z","signed_by":"John Tester","weight":null,"est_delivery_date":"2023-11-22T20:45:57Z","shipment_id":"shp_aaccf5851734473085f89bb9a271b458","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:45: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-10-23T09:22:57Z","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-10-23T19:27:57Z","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-10-24T21:03:57Z","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-10-24T23:54:57Z","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-10-25T05:34:57Z","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-10-25T05:44:57Z","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-10-25T10:36:57Z","source":"USPS","carrier_code":"","tracking_location":{"object":"TrackingLocation","city":"CHARLESTON","state":"SC","country":null,"zip":"29407"}}],"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-10-25T10:36:57Z"},"finalized":true,"is_return":false,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2RmOWUwNjhjZjJiYzRlNjY4ZjI5MzU0ZDZjOTI3ZDFj","fees":[]},"tracking_code":"9400100105440282039129","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false},"messages":[],"created_at":"2023-11-22T20:42:56Z","updated_at":"2023-11-22T20:42:57Z"},{"id":"ins_08a04c08adc54e8fa10e6f1274173c89","object":"Insurance","mode":"test","reference":null,"status":"purchased","amount":"100.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_7c320826897711ee8b9a3cecef1b359e","object":"Address","created_at":"2023-11-22T20:41:17+00:00","updated_at":"2023-11-22T20:41:17+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_7c36eb8f897711ee9eb5ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:41:17+00:00","updated_at":"2023-11-22T20:41:17+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"shipment_id":null,"tracker":{"id":"trk_a77b855ff7484093b5ef330c3f66f43e","object":"Tracker","mode":"test","tracking_code":"EZ1000000001","status":"pre_transit","status_detail":"status_update","created_at":"2023-11-22T20:41:17Z","updated_at":"2023-11-22T20:41:17Z","signed_by":null,"weight":null,"est_delivery_date":"2023-11-22T20:41:17Z","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-10-22T20:41:17Z","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-10-23T09:18:17Z","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\/djE6dHJrX2E3N2I4NTVmZjc0ODQwOTNiNWVmMzMwYzNmNjZmNDNl","fees":[]},"tracking_code":"EZ1000000001","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2023-11-22T20:41:17Z","updated_at":"2023-11-22T20:42:46Z"}],"has_more":true}' + body: '{"insurances":[{"id":"ins_032ec855f3874672bdf9b0fe4ab2aa98","object":"Insurance","mode":"test","reference":null,"status":"pending","amount":"100.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_0bd2f89e5a6411ef8874ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:38:41+00:00","updated_at":"2024-08-14T17:38:41+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_0bd835b65a6411efaa67ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:41+00:00","updated_at":"2024-08-14T17:38:41+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"shipment_id":null,"tracker":{"id":"trk_c06ab53d70da4c64bdfc08000cb2bfcc","object":"Tracker","mode":"test","tracking_code":"9400100105807075196122","status":"error","status_detail":null,"created_at":"2024-08-14T17:38:41Z","updated_at":"2024-08-14T17:38:41Z","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-08-14T17:38:41Z","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\/djE6dHJrX2MwNmFiNTNkNzBkYTRjNjRiZGZjMDgwMDBjYjJiZmNj","fees":[]},"tracking_code":"9400100105807075196122","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2024-08-14T17:38:41Z","updated_at":"2024-08-14T17:38:41Z"},{"id":"ins_e77eed963a774fff815c33cc684b31c2","object":"Insurance","mode":"test","reference":null,"status":"purchased","amount":"50.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_0b1070aa5a6411efa80a3cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:40+00:00","updated_at":"2024-08-14T17:38:40+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"from_address":{"id":"adr_0b1347025a6411efa80d3cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:40+00:00","updated_at":"2024-08-14T17:38:40+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"shipment_id":"shp_01b1bd4e7ed445e3a8137a99cd418b4c","tracker":{"id":"trk_a828be1c4ee243ad9e5141eeb2930c73","object":"Tracker","mode":"test","tracking_code":"9400100105807075196122","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:38:41Z","updated_at":"2024-08-14T17:38:41Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:38:41Z","shipment_id":"shp_01b1bd4e7ed445e3a8137a99cd418b4c","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:38:41Z","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":"2024-07-15T06:15:41Z","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\/djE6dHJrX2E4MjhiZTFjNGVlMjQzYWQ5ZTUxNDFlZWIyOTMwYzcz","fees":[]},"tracking_code":"9400100105807075196122","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2024-08-14T17:38:40Z","updated_at":"2024-08-14T17:38:41Z"},{"id":"ins_75663c2dbd37430a9db48b57d78937f2","object":"Insurance","mode":"test","reference":null,"status":"purchased","amount":"50.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_09a315415a6411efa7873cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:37+00:00","updated_at":"2024-08-14T17:38:37+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"from_address":{"id":"adr_09a53f9e5a6411ef87a8ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:38:37+00:00","updated_at":"2024-08-14T17:38:37+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"shipment_id":"shp_1a413e0158c345558d080d634954f66a","tracker":{"id":"trk_4a096b5f556e499898cdcd51fd53bb92","object":"Tracker","mode":"test","tracking_code":"9400100105807075196078","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:38:38Z","updated_at":"2024-08-14T17:38:38Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:38:38Z","shipment_id":"shp_1a413e0158c345558d080d634954f66a","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:38: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":"2024-07-15T06:15:38Z","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\/djE6dHJrXzRhMDk2YjVmNTU2ZTQ5OTg5OGNkY2Q1MWZkNTNiYjky","fees":[]},"tracking_code":"9400100105807075196078","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2024-08-14T17:38:37Z","updated_at":"2024-08-14T17:38:38Z"},{"id":"ins_f4d0e03a70dd4ced977f3ff0f4f1c2f7","object":"Insurance","mode":"test","reference":null,"status":"purchased","amount":"50.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_06642d8f5a6411ef996aac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:32+00:00","updated_at":"2024-08-14T17:38:32+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"from_address":{"id":"adr_066684c15a6411efa824ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:32+00:00","updated_at":"2024-08-14T17:38:32+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"shipment_id":"shp_3b9e2541493247728360f3c2b43df567","tracker":{"id":"trk_2cb9337f98bf4eb5958ffe1cea479f12","object":"Tracker","mode":"test","tracking_code":"9400100105807075195965","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:38:33Z","updated_at":"2024-08-14T17:38:33Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:38:33Z","shipment_id":"shp_3b9e2541493247728360f3c2b43df567","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:38:33Z","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":"2024-07-15T06:15:33Z","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\/djE6dHJrXzJjYjkzMzdmOThiZjRlYjU5NThmZmUxY2VhNDc5ZjEy","fees":[]},"tracking_code":"9400100105807075195965","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2024-08-14T17:38:32Z","updated_at":"2024-08-14T17:38:33Z"},{"id":"ins_29fe145928604640954175af4233f82d","object":"Insurance","mode":"test","reference":null,"status":"purchased","amount":"50.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_efba33275a6311ef9d69ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:37:54+00:00","updated_at":"2024-08-14T17:37:54+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"from_address":{"id":"adr_efbc0be15a6311ef9d6aac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:37:54+00:00","updated_at":"2024-08-14T17:37:54+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"shipment_id":"shp_adf84f2ffe8a49c7a2e9b46fc98bf628","tracker":{"id":"trk_21a4b7a1577a48d9b9fad7910c1efa4b","object":"Tracker","mode":"test","tracking_code":"9400100105807075195507","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:37:55Z","updated_at":"2024-08-14T17:37:55Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:37:55Z","shipment_id":"shp_adf84f2ffe8a49c7a2e9b46fc98bf628","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:37:55Z","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":"2024-07-15T06:14:55Z","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\/djE6dHJrXzIxYTRiN2ExNTc3YTQ4ZDliOWZhZDc5MTBjMWVmYTRi","fees":[]},"tracking_code":"9400100105807075195507","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2024-08-14T17:37:54Z","updated_at":"2024-08-14T17:37:55Z"}],"has_more":true}' curl_info: url: 'https://api.easypost.com/v2/insurances?page_size=5' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 708 + header_size: 690 request_size: 299 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.54418 - namelookup_time: 0.002036 - connect_time: 0.069392 - pretransfer_time: 0.134312 + total_time: 0.47801 + namelookup_time: 0.001405 + connect_time: 0.030642 + pretransfer_time: 0.063006 size_upload: 0.0 - size_download: 17304.0 - speed_download: 31798.0 + size_download: 15793.0 + speed_download: 33039.0 speed_upload: 0.0 - download_content_length: 17304.0 + download_content_length: 15793.0 upload_content_length: 0.0 - starttransfer_time: 0.480895 + starttransfer_time: 0.448686 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53832 + local_ip: 192.168.1.75 + local_port: 52600 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 134282 - connect_time_us: 69392 - namelookup_time_us: 2036 - pretransfer_time_us: 134312 + scheme: https + appconnect_time_us: 62960 + connect_time_us: 30642 + namelookup_time_us: 1405 + pretransfer_time_us: 63006 redirect_time_us: 0 - starttransfer_time_us: 480895 - total_time_us: 544180 + starttransfer_time_us: 448686 + total_time_us: 478010 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/insurance/create.yml b/test/cassettes/insurance/create.yml index 09f24ef0..f632b703 100644 --- a/test/cassettes/insurance/create.yml +++ b/test/cassettes/insurance/create.yml @@ -11,11 +11,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"First","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' + body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"GroundAdvantage","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,59 +23,61 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911f655e6acce7886a2000253805 + x-ep-request-uuid: e181587666bceba0e2b8f7db0086a04b cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_7a0b7549964545b08822009bf94f9589 + location: /api/v2/shipments/shp_01b1bd4e7ed445e3a8137a99cd418b4c content-type: 'application/json; charset=utf-8' - content-length: '7619' - x-runtime: '1.122364' - x-node: bigweb43nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '6549' + x-runtime: '1.084651' + x-node: bigweb34nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:55:40Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105440282044703","updated_at":"2023-11-22T20:55:41Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_7eb3d855897911ee9f09ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:55:40+00:00","updated_at":"2023-11-22T20:55:40+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_e015bbfcee664f999483682463ce3275","object":"Parcel","created_at":"2023-11-22T20:55:40Z","updated_at":"2023-11-22T20:55:40Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_92311a33d0ed4fa09b2948a6eac80faf","created_at":"2023-11-22T20:55:41Z","updated_at":"2023-11-22T20:55:41Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:55:41Z","label_resolution":300,"label_size":"4x6","label_type":"default","label_file_type":"image\/png","label_url":"https:\/\/easypost-files.s3.us-west-2.amazonaws.com\/files\/postage_label\/20231122\/e89ba3257027be4e7dae93864631c5a3b0.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_46ca39cac9484173b8f9d84f681d3444","object":"Rate","created_at":"2023-11-22T20:55:40Z","updated_at":"2023-11-22T20:55:40Z","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_7a0b7549964545b08822009bf94f9589","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_89359f0d341c4a508871ddac0ed72d83","object":"Rate","created_at":"2023-11-22T20:55:40Z","updated_at":"2023-11-22T20:55:40Z","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_7a0b7549964545b08822009bf94f9589","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_3a4b74544fa14d32a3143c06cb5d17c2","object":"Rate","created_at":"2023-11-22T20:55:40Z","updated_at":"2023-11-22T20:55:40Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7a0b7549964545b08822009bf94f9589","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_ece2d8ef099e45f09384205888567efa","object":"Rate","created_at":"2023-11-22T20:55:40Z","updated_at":"2023-11-22T20:55:40Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7a0b7549964545b08822009bf94f9589","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_1f9e6236372640838cf1b79f6880595f","object":"Rate","created_at":"2023-11-22T20:55:40Z","updated_at":"2023-11-22T20:55:40Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7a0b7549964545b08822009bf94f9589","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_ece2d8ef099e45f09384205888567efa","object":"Rate","created_at":"2023-11-22T20:55:41Z","updated_at":"2023-11-22T20:55:41Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7a0b7549964545b08822009bf94f9589","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_fc4d034ebe91457282f121f575d33a8a","object":"Tracker","mode":"test","tracking_code":"9400100105440282044703","status":"unknown","status_detail":"unknown","created_at":"2023-11-22T20:55:41Z","updated_at":"2023-11-22T20:55:41Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_7a0b7549964545b08822009bf94f9589","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2ZjNGQwMzRlYmU5MTQ1NzI4MmYxMjFmNTc1ZDMzYThh"},"to_address":{"id":"adr_7eb0c6f7897911ee8e4eac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:55:40+00:00","updated_at":"2023-11-22T20:55:40+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_7eb3d855897911ee9f09ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:55:40+00:00","updated_at":"2023-11-22T20:55:40+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_7eb0c6f7897911ee8e4eac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:55:40+00:00","updated_at":"2023-11-22T20:55:40+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_7a0b7549964545b08822009bf94f9589","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:38:40Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196122","updated_at":"2024-08-14T17:38:40Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_0b1347025a6411efa80d3cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:40+00:00","updated_at":"2024-08-14T17:38:40+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_0b1fdd2961f945dd8ce0ebfbc08b28e9","object":"Parcel","created_at":"2024-08-14T17:38:40Z","updated_at":"2024-08-14T17:38:40Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_fb0ae734c7484a54a6a9343d12f18bf8","created_at":"2024-08-14T17:38:40Z","updated_at":"2024-08-14T17:38:40Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:38: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\/20240814\/e86b86253a7f894f27bdb5954e348397dd.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_0ed6237a637c40929763d1f55f22aebe","object":"Rate","created_at":"2024-08-14T17:38:40Z","updated_at":"2024-08-14T17:38:40Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_01b1bd4e7ed445e3a8137a99cd418b4c","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_67296d5ce27947e49f70aab6448f83ae","object":"Rate","created_at":"2024-08-14T17:38:40Z","updated_at":"2024-08-14T17:38:40Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_01b1bd4e7ed445e3a8137a99cd418b4c","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_16705497d08a4e668e5375375cc356b9","object":"Rate","created_at":"2024-08-14T17:38:40Z","updated_at":"2024-08-14T17:38:40Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_01b1bd4e7ed445e3a8137a99cd418b4c","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_67296d5ce27947e49f70aab6448f83ae","object":"Rate","created_at":"2024-08-14T17:38:40Z","updated_at":"2024-08-14T17:38:40Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_01b1bd4e7ed445e3a8137a99cd418b4c","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_a828be1c4ee243ad9e5141eeb2930c73","object":"Tracker","mode":"test","tracking_code":"9400100105807075196122","status":"unknown","status_detail":"unknown","created_at":"2024-08-14T17:38:41Z","updated_at":"2024-08-14T17:38:41Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_01b1bd4e7ed445e3a8137a99cd418b4c","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2E4MjhiZTFjNGVlMjQzYWQ5ZTUxNDFlZWIyOTMwYzcz"},"to_address":{"id":"adr_0b1070aa5a6411efa80a3cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:40+00:00","updated_at":"2024-08-14T17:38:40+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_0b1347025a6411efa80d3cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:40+00:00","updated_at":"2024-08-14T17:38:40+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_0b1070aa5a6411efa80a3cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:40+00:00","updated_at":"2024-08-14T17:38:40+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_01b1bd4e7ed445e3a8137a99cd418b4c","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 778 - request_size: 861 + header_size: 760 + request_size: 871 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.329288 - namelookup_time: 0.002119 - connect_time: 0.065587 - pretransfer_time: 0.134823 - size_upload: 553.0 - size_download: 7619.0 - speed_download: 5731.0 - speed_upload: 416.0 - download_content_length: 7619.0 - upload_content_length: 553.0 - starttransfer_time: 1.32926 + total_time: 1.186808 + namelookup_time: 0.00614 + connect_time: 0.036092 + pretransfer_time: 0.069303 + size_upload: 563.0 + size_download: 6549.0 + speed_download: 5518.0 + speed_upload: 474.0 + download_content_length: 6549.0 + upload_content_length: 563.0 + starttransfer_time: 1.186767 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53830 + local_ip: 192.168.1.75 + local_port: 52596 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 134773 - connect_time_us: 65587 - namelookup_time_us: 2119 - pretransfer_time_us: 134823 + scheme: https + appconnect_time_us: 69229 + connect_time_us: 36092 + namelookup_time_us: 6140 + pretransfer_time_us: 69303 redirect_time_us: 0 - starttransfer_time_us: 1329260 - total_time_us: 1329288 + starttransfer_time_us: 1186767 + total_time_us: 1186808 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: @@ -90,11 +91,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"insurance":{"from_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"to_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"carrier":"USPS","amount":"100","tracking_code":"9400100105440282044703"}}' + body: '{"insurance":{"from_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"to_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"carrier":"USPS","amount":"100","tracking_code":"9400100105807075196122"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -103,20 +103,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911f655e6acde7886a2100253921 + x-ep-request-uuid: e181587d66bceba1e2b8f7dc0086a13e cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/insurances/ins_5d1e631b2da04e228e3ebc4b0ecec2d9 + location: /api/v2/insurances/ins_032ec855f3874672bdf9b0fe4ab2aa98 content-type: 'application/json; charset=utf-8' - content-length: '3420' - x-runtime: '0.168178' + content-length: '3424' + x-runtime: '0.323467' x-node: bigweb35nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"ins_5d1e631b2da04e228e3ebc4b0ecec2d9","object":"Insurance","mode":"test","reference":null,"status":"pending","amount":"100.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_7f89e388897911ee9e413cecef1b359e","object":"Address","created_at":"2023-11-22T20:55:41+00:00","updated_at":"2023-11-22T20:55:41+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_7f8ee3b7897911eeb020ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:55:41+00:00","updated_at":"2023-11-22T20:55:41+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"shipment_id":null,"tracker":{"id":"trk_fc4d034ebe91457282f121f575d33a8a","object":"Tracker","mode":"test","tracking_code":"9400100105440282044703","status":"pre_transit","status_detail":"status_update","created_at":"2023-11-22T20:55:41Z","updated_at":"2023-11-22T20:55:41Z","signed_by":null,"weight":null,"est_delivery_date":"2023-11-22T20:55:41Z","shipment_id":"shp_7a0b7549964545b08822009bf94f9589","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:55:41Z","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-10-23T09:32:41Z","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\/djE6dHJrX2ZjNGQwMzRlYmU5MTQ1NzI4MmYxMjFmNTc1ZDMzYThh","fees":[]},"tracking_code":"9400100105440282044703","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2023-11-22T20:55:41Z","updated_at":"2023-11-22T20:55:41Z"}' + body: '{"id":"ins_032ec855f3874672bdf9b0fe4ab2aa98","object":"Insurance","mode":"test","reference":null,"status":"pending","amount":"100.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_0bd2f89e5a6411ef8874ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:38:41+00:00","updated_at":"2024-08-14T17:38:41+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_0bd835b65a6411efaa67ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:41+00:00","updated_at":"2024-08-14T17:38:41+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"shipment_id":null,"tracker":{"id":"trk_a828be1c4ee243ad9e5141eeb2930c73","object":"Tracker","mode":"test","tracking_code":"9400100105807075196122","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:38:41Z","updated_at":"2024-08-14T17:38:41Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:38:41Z","shipment_id":"shp_01b1bd4e7ed445e3a8137a99cd418b4c","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:38:41Z","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":"2024-07-15T06:15:41Z","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\/djE6dHJrX2E4MjhiZTFjNGVlMjQzYWQ5ZTUxNDFlZWIyOTMwYzcz","fees":[]},"tracking_code":"9400100105807075196122","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2024-08-14T17:38:41Z","updated_at":"2024-08-14T17:38:41Z"}' curl_info: url: 'https://api.easypost.com/v2/insurances' content_type: 'application/json; charset=utf-8' @@ -126,33 +126,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.364158 - namelookup_time: 0.001326 - connect_time: 0.06254 - pretransfer_time: 0.126191 + total_time: 0.430463 + namelookup_time: 0.002133 + connect_time: 0.034983 + pretransfer_time: 0.069841 size_upload: 467.0 - size_download: 3420.0 - speed_download: 9391.0 - speed_upload: 1282.0 - download_content_length: 3420.0 + size_download: 3424.0 + speed_download: 7954.0 + speed_upload: 1084.0 + download_content_length: 3424.0 upload_content_length: 467.0 - starttransfer_time: 0.36414 + starttransfer_time: 0.430443 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53831 + local_ip: 192.168.1.75 + local_port: 52597 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 126161 - connect_time_us: 62540 - namelookup_time_us: 1326 - pretransfer_time_us: 126191 + scheme: https + appconnect_time_us: 69797 + connect_time_us: 34983 + namelookup_time_us: 2133 + pretransfer_time_us: 69841 redirect_time_us: 0 - starttransfer_time_us: 364140 - total_time_us: 364158 + starttransfer_time_us: 430443 + total_time_us: 430463 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/insurance/getNextPage.yml b/test/cassettes/insurance/getNextPage.yml index 316716ac..adeafd13 100644 --- a/test/cassettes/insurance/getNextPage.yml +++ b/test/cassettes/insurance/getNextPage.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,19 +21,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 0610ca3a6564eab4e787e2230013f5a2 + x-ep-request-uuid: e181587c66bceba3e2b8faee0086a39e cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '18601' - x-runtime: '0.309798' - x-node: bigweb35nuq - x-version-label: easypost-202311250013-a0f06fbc2c-master + content-length: '15793' + x-runtime: '0.323362' + x-node: bigweb36nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"insurances":[{"id":"ins_df403e7955054bc7af470c31a0126729","object":"Insurance","mode":"test","reference":null,"status":"pending","amount":"100.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_66464b3b897e11eea668ac1f6bc53342","object":"Address","created_at":"2023-11-22T21:30:46+00:00","updated_at":"2023-11-22T21:30:46+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_664b3834897e11ee97edac1f6bc539aa","object":"Address","created_at":"2023-11-22T21:30:47+00:00","updated_at":"2023-11-22T21:30:47+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"shipment_id":null,"tracker":{"id":"trk_4a71bdf4d87f446e872430a8da9bb09e","object":"Tracker","mode":"test","tracking_code":"9400100105440282056140","status":"error","status_detail":null,"created_at":"2023-11-22T21:30:47Z","updated_at":"2023-11-22T21:30:47Z","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":"2023-11-22T21:30:47Z","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\/djE6dHJrXzRhNzFiZGY0ZDg3ZjQ0NmU4NzI0MzBhOGRhOWJiMDll","fees":[]},"tracking_code":"9400100105440282056140","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2023-11-22T21:30:47Z","updated_at":"2023-11-22T21:30:47Z"},{"id":"ins_9d92dc30f013418ab232aa86952ecd8d","object":"Insurance","mode":"test","reference":null,"status":"purchased","amount":"50.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_656a6a19897e11ee976dac1f6bc539aa","object":"Address","created_at":"2023-11-22T21:30:45+00:00","updated_at":"2023-11-22T21:30:45+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"from_address":{"id":"adr_656e3fc6897e11eea5eaac1f6bc53342","object":"Address","created_at":"2023-11-22T21:30:45+00:00","updated_at":"2023-11-22T21:30:45+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"shipment_id":"shp_c890bc7068604393a9379ad28e669ee5","tracker":{"id":"trk_4c2b46ef848d4a6f8d1b6b62fedeffb2","object":"Tracker","mode":"test","tracking_code":"9400100105440282056140","status":"delivered","status_detail":"arrived_at_destination","created_at":"2023-11-22T21:30:46Z","updated_at":"2023-11-22T21:33:46Z","signed_by":"John Tester","weight":null,"est_delivery_date":"2023-11-22T21:33:46Z","shipment_id":"shp_c890bc7068604393a9379ad28e669ee5","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T21:33:46Z","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-10-23T10:10:46Z","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-10-23T20:15:46Z","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-10-24T21:51:46Z","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-10-25T00:42:46Z","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-10-25T06:22:46Z","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-10-25T06:32:46Z","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-10-25T11:24:46Z","source":"USPS","carrier_code":"","tracking_location":{"object":"TrackingLocation","city":"CHARLESTON","state":"SC","country":null,"zip":"29407"}}],"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-10-25T11:24:46Z"},"finalized":true,"is_return":false,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzRjMmI0NmVmODQ4ZDRhNmY4ZDFiNmI2MmZlZGVmZmIy","fees":[]},"tracking_code":"9400100105440282056140","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false},"messages":[],"created_at":"2023-11-22T21:30:45Z","updated_at":"2023-11-22T21:30:46Z"},{"id":"ins_3e86bcaef1384d96a4ae35deb8a4605e","object":"Insurance","mode":"test","reference":null,"status":"pending","amount":"100.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_0f62c4fb897e11ee8a72ac1f6bc539ae","object":"Address","created_at":"2023-11-22T21:28:21+00:00","updated_at":"2023-11-22T21:28:21+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_0f6a4181897e11ee8a77ac1f6bc539ae","object":"Address","created_at":"2023-11-22T21:28:21+00:00","updated_at":"2023-11-22T21:28:21+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"shipment_id":null,"tracker":{"id":"trk_216fed0e162e443ca81fb68e7adb1c4a","object":"Tracker","mode":"test","tracking_code":"9400100105440282055525","status":"error","status_detail":null,"created_at":"2023-11-22T21:28:21Z","updated_at":"2023-11-22T21:28:21Z","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":"2023-11-22T21:28:21Z","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\/djE6dHJrXzIxNmZlZDBlMTYyZTQ0M2NhODFmYjY4ZTdhZGIxYzRh","fees":[]},"tracking_code":"9400100105440282055525","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2023-11-22T21:28:21Z","updated_at":"2023-11-22T21:28:21Z"},{"id":"ins_3cc9c6a22d6d4bafbc97ee536577b04f","object":"Insurance","mode":"test","reference":null,"status":"purchased","amount":"50.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_0e7c4479897e11eeb99d3cecef1b359e","object":"Address","created_at":"2023-11-22T21:28:19+00:00","updated_at":"2023-11-22T21:28:20+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"from_address":{"id":"adr_0e7e9acc897e11eeb99e3cecef1b359e","object":"Address","created_at":"2023-11-22T21:28:19+00:00","updated_at":"2023-11-22T21:28:19+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"shipment_id":"shp_d6d87640397c40689d4b497289be70f9","tracker":{"id":"trk_ca5b413564c2411b86bb8a190ad3d2ac","object":"Tracker","mode":"test","tracking_code":"9400100105440282055525","status":"delivered","status_detail":"arrived_at_destination","created_at":"2023-11-22T21:28:20Z","updated_at":"2023-11-22T21:31:21Z","signed_by":"John Tester","weight":null,"est_delivery_date":"2023-11-22T21:31:21Z","shipment_id":"shp_d6d87640397c40689d4b497289be70f9","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T21:31: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-10-23T10:08:21Z","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-10-23T20:13:21Z","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-10-24T21:49:21Z","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-10-25T00:40:21Z","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-10-25T06:20:21Z","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-10-25T06:30:21Z","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-10-25T11:22:21Z","source":"USPS","carrier_code":"","tracking_location":{"object":"TrackingLocation","city":"CHARLESTON","state":"SC","country":null,"zip":"29407"}}],"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-10-25T11:22:21Z"},"finalized":true,"is_return":false,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2NhNWI0MTM1NjRjMjQxMWI4NmJiOGExOTBhZDNkMmFj","fees":[]},"tracking_code":"9400100105440282055525","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false},"messages":[],"created_at":"2023-11-22T21:28:19Z","updated_at":"2023-11-22T21:28:20Z"},{"id":"ins_da3f1617b227483a8377e96b95afe349","object":"Insurance","mode":"test","reference":null,"status":"pending","amount":"100.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_013098c9897e11ee82caac1f6bc539ae","object":"Address","created_at":"2023-11-22T21:27:57+00:00","updated_at":"2023-11-22T21:27:57+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_01363b9b897e11eeaf05ac1f6bc53342","object":"Address","created_at":"2023-11-22T21:27:57+00:00","updated_at":"2023-11-22T21:27:57+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"shipment_id":null,"tracker":{"id":"trk_28774cd740384274bc29032189c04070","object":"Tracker","mode":"test","tracking_code":"EZ1000000007","status":"error","status_detail":null,"created_at":"2023-11-22T21:27:57Z","updated_at":"2023-11-22T21:27:57Z","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":"2023-11-22T21:27:57Z","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\/djE6dHJrXzI4Nzc0Y2Q3NDAzODQyNzRiYzI5MDMyMTg5YzA0MDcw","fees":[]},"tracking_code":"EZ1000000007","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2023-11-22T21:27:57Z","updated_at":"2023-11-22T21:27:57Z"}],"has_more":true}' + body: '{"insurances":[{"id":"ins_032ec855f3874672bdf9b0fe4ab2aa98","object":"Insurance","mode":"test","reference":null,"status":"pending","amount":"100.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_0bd2f89e5a6411ef8874ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:38:41+00:00","updated_at":"2024-08-14T17:38:41+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_0bd835b65a6411efaa67ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:41+00:00","updated_at":"2024-08-14T17:38:41+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"shipment_id":null,"tracker":{"id":"trk_c06ab53d70da4c64bdfc08000cb2bfcc","object":"Tracker","mode":"test","tracking_code":"9400100105807075196122","status":"error","status_detail":null,"created_at":"2024-08-14T17:38:41Z","updated_at":"2024-08-14T17:38:41Z","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-08-14T17:38:41Z","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\/djE6dHJrX2MwNmFiNTNkNzBkYTRjNjRiZGZjMDgwMDBjYjJiZmNj","fees":[]},"tracking_code":"9400100105807075196122","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2024-08-14T17:38:41Z","updated_at":"2024-08-14T17:38:41Z"},{"id":"ins_e77eed963a774fff815c33cc684b31c2","object":"Insurance","mode":"test","reference":null,"status":"purchased","amount":"50.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_0b1070aa5a6411efa80a3cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:40+00:00","updated_at":"2024-08-14T17:38:40+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"from_address":{"id":"adr_0b1347025a6411efa80d3cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:40+00:00","updated_at":"2024-08-14T17:38:40+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"shipment_id":"shp_01b1bd4e7ed445e3a8137a99cd418b4c","tracker":{"id":"trk_a828be1c4ee243ad9e5141eeb2930c73","object":"Tracker","mode":"test","tracking_code":"9400100105807075196122","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:38:41Z","updated_at":"2024-08-14T17:38:41Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:38:41Z","shipment_id":"shp_01b1bd4e7ed445e3a8137a99cd418b4c","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:38:41Z","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":"2024-07-15T06:15:41Z","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\/djE6dHJrX2E4MjhiZTFjNGVlMjQzYWQ5ZTUxNDFlZWIyOTMwYzcz","fees":[]},"tracking_code":"9400100105807075196122","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2024-08-14T17:38:40Z","updated_at":"2024-08-14T17:38:41Z"},{"id":"ins_75663c2dbd37430a9db48b57d78937f2","object":"Insurance","mode":"test","reference":null,"status":"purchased","amount":"50.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_09a315415a6411efa7873cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:37+00:00","updated_at":"2024-08-14T17:38:37+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"from_address":{"id":"adr_09a53f9e5a6411ef87a8ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:38:37+00:00","updated_at":"2024-08-14T17:38:37+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"shipment_id":"shp_1a413e0158c345558d080d634954f66a","tracker":{"id":"trk_4a096b5f556e499898cdcd51fd53bb92","object":"Tracker","mode":"test","tracking_code":"9400100105807075196078","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:38:38Z","updated_at":"2024-08-14T17:38:38Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:38:38Z","shipment_id":"shp_1a413e0158c345558d080d634954f66a","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:38: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":"2024-07-15T06:15:38Z","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\/djE6dHJrXzRhMDk2YjVmNTU2ZTQ5OTg5OGNkY2Q1MWZkNTNiYjky","fees":[]},"tracking_code":"9400100105807075196078","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2024-08-14T17:38:37Z","updated_at":"2024-08-14T17:38:38Z"},{"id":"ins_f4d0e03a70dd4ced977f3ff0f4f1c2f7","object":"Insurance","mode":"test","reference":null,"status":"purchased","amount":"50.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_06642d8f5a6411ef996aac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:32+00:00","updated_at":"2024-08-14T17:38:32+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"from_address":{"id":"adr_066684c15a6411efa824ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:32+00:00","updated_at":"2024-08-14T17:38:32+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"shipment_id":"shp_3b9e2541493247728360f3c2b43df567","tracker":{"id":"trk_2cb9337f98bf4eb5958ffe1cea479f12","object":"Tracker","mode":"test","tracking_code":"9400100105807075195965","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:38:33Z","updated_at":"2024-08-14T17:38:33Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:38:33Z","shipment_id":"shp_3b9e2541493247728360f3c2b43df567","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:38:33Z","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":"2024-07-15T06:15:33Z","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\/djE6dHJrXzJjYjkzMzdmOThiZjRlYjU5NThmZmUxY2VhNDc5ZjEy","fees":[]},"tracking_code":"9400100105807075195965","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2024-08-14T17:38:32Z","updated_at":"2024-08-14T17:38:33Z"},{"id":"ins_29fe145928604640954175af4233f82d","object":"Insurance","mode":"test","reference":null,"status":"purchased","amount":"50.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_efba33275a6311ef9d69ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:37:54+00:00","updated_at":"2024-08-14T17:37:54+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"from_address":{"id":"adr_efbc0be15a6311ef9d6aac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:37:54+00:00","updated_at":"2024-08-14T17:37:54+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"shipment_id":"shp_adf84f2ffe8a49c7a2e9b46fc98bf628","tracker":{"id":"trk_21a4b7a1577a48d9b9fad7910c1efa4b","object":"Tracker","mode":"test","tracking_code":"9400100105807075195507","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:37:55Z","updated_at":"2024-08-14T17:37:55Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:37:55Z","shipment_id":"shp_adf84f2ffe8a49c7a2e9b46fc98bf628","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:37:55Z","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":"2024-07-15T06:14:55Z","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\/djE6dHJrXzIxYTRiN2ExNTc3YTQ4ZDliOWZhZDc5MTBjMWVmYTRi","fees":[]},"tracking_code":"9400100105807075195507","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2024-08-14T17:37:54Z","updated_at":"2024-08-14T17:37:55Z"}],"has_more":true}' curl_info: url: 'https://api.easypost.com/v2/insurances?page_size=5' content_type: 'application/json; charset=utf-8' @@ -44,40 +43,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.570445 - namelookup_time: 0.001938 - connect_time: 0.064468 - pretransfer_time: 0.129229 + total_time: 0.46336 + namelookup_time: 0.003369 + connect_time: 0.036464 + pretransfer_time: 0.071328 size_upload: 0.0 - size_download: 18601.0 - speed_download: 32607.0 + size_download: 15793.0 + speed_download: 34083.0 speed_upload: 0.0 - download_content_length: 18601.0 + download_content_length: 15793.0 upload_content_length: 0.0 - starttransfer_time: 0.504123 + starttransfer_time: 0.431257 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.31 - local_port: 52942 + local_ip: 192.168.1.75 + local_port: 52601 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 129185 - connect_time_us: 64468 - namelookup_time_us: 1938 - pretransfer_time_us: 129229 + scheme: https + appconnect_time_us: 71295 + connect_time_us: 36464 + namelookup_time_us: 3369 + pretransfer_time_us: 71328 redirect_time_us: 0 - starttransfer_time_us: 504123 - total_time_us: 570445 + starttransfer_time_us: 431257 + total_time_us: 463360 + effective_method: GET + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/insurances?page_size=5&before_id=ins_da3f1617b227483a8377e96b95afe349' + url: 'https://api.easypost.com/v2/insurances?page_size=5&before_id=ins_29fe145928604640954175af4233f82d' headers: Host: api.easypost.com Accept-Encoding: '' @@ -87,8 +89,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -97,56 +98,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 0610ca396564eac5e787e22500140e70 + x-ep-request-uuid: e181587866bceba4e2b8faef0086a473 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '16708' - x-runtime: '0.288221' - x-node: bigweb43nuq - x-version-label: easypost-202311250013-a0f06fbc2c-master + content-length: '24536' + x-runtime: '0.399213' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"insurances":[{"id":"ins_8033d1e64087475ebb88a9fcd34a9d81","object":"Insurance","mode":"test","reference":null,"status":"cancelled","amount":"100.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_78868cd3897a11ee9346ac1f6bc539ae","object":"Address","created_at":"2023-11-22T21:02:39+00:00","updated_at":"2023-11-22T21:02:39+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_788bc4fb897a11ee9349ac1f6bc539ae","object":"Address","created_at":"2023-11-22T21:02:39+00:00","updated_at":"2023-11-22T21:02:39+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"shipment_id":null,"tracker":{"id":"trk_28774cd740384274bc29032189c04070","object":"Tracker","mode":"test","tracking_code":"EZ1000000007","status":"error","status_detail":null,"created_at":"2023-11-22T21:27:57Z","updated_at":"2023-11-22T21:27:57Z","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":"2023-11-22T21:27:57Z","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\/djE6dHJrXzI4Nzc0Y2Q3NDAzODQyNzRiYzI5MDMyMTg5YzA0MDcw","fees":[]},"tracking_code":"EZ1000000007","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":["The tracking number could not be tracked."],"created_at":"2023-11-22T21:02:39Z","updated_at":"2023-11-22T21:04:38Z"},{"id":"ins_584b2b3399814711a7aeb8cd2af91887","object":"Insurance","mode":"test","reference":null,"status":"pending","amount":"100.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_b9ce4b75897911ee83e93cecef1b359e","object":"Address","created_at":"2023-11-22T20:57:19+00:00","updated_at":"2023-11-22T20:57:19+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_b9d35565897911ee85a9ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:57:19+00:00","updated_at":"2023-11-22T20:57:19+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"shipment_id":null,"tracker":{"id":"trk_315a3a03c4bd47eb88b6be860a85259b","object":"Tracker","mode":"test","tracking_code":"EZ1000000001","status":"pre_transit","status_detail":"status_update","created_at":"2023-11-22T20:57:19Z","updated_at":"2023-11-22T20:57:19Z","signed_by":null,"weight":null,"est_delivery_date":"2023-11-22T20:57:19Z","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-10-22T20:57: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-10-23T09:34:19Z","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\/djE6dHJrXzMxNWEzYTAzYzRiZDQ3ZWI4OGI2YmU4NjBhODUyNTli","fees":[]},"tracking_code":"EZ1000000001","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2023-11-22T20:57:19Z","updated_at":"2023-11-22T20:57:19Z"},{"id":"ins_1545cc71e49d4a31a895df04d03f4026","object":"Insurance","mode":"test","reference":null,"status":"pending","amount":"100.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_82fc9ee9897911ee90f9ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:55:47+00:00","updated_at":"2023-11-22T20:55:47+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_8301bbbb897911eeb252ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:55:47+00:00","updated_at":"2023-11-22T20:55:47+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"shipment_id":null,"tracker":{"id":"trk_90883da53a544861aeafb302a32b1772","object":"Tracker","mode":"test","tracking_code":"9400100105440282044765","status":"error","status_detail":null,"created_at":"2023-11-22T20:55:47Z","updated_at":"2023-11-22T20:55:47Z","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":"2023-11-22T20:55:47Z","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\/djE6dHJrXzkwODgzZGE1M2E1NDQ4NjFhZWFmYjMwMmEzMmIxNzcy","fees":[]},"tracking_code":"9400100105440282044765","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2023-11-22T20:55:47Z","updated_at":"2023-11-22T20:55:47Z"},{"id":"ins_5468b0544dc04adba1463e9d20b2fb52","object":"Insurance","mode":"test","reference":null,"status":"purchased","amount":"50.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_8213993d897911ee9070ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:55:46+00:00","updated_at":"2023-11-22T20:55:46+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"from_address":{"id":"adr_821608bd897911eeb1d8ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:55:46+00:00","updated_at":"2023-11-22T20:55:46+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"shipment_id":"shp_d2909cf61aa8499b90f99190c5bc9010","tracker":{"id":"trk_fab9e411cdb04ca3a9d245fef085e6ee","object":"Tracker","mode":"test","tracking_code":"9400100105440282044765","status":"delivered","status_detail":"arrived_at_destination","created_at":"2023-11-22T20:55:47Z","updated_at":"2023-11-22T20:58:47Z","signed_by":"John Tester","weight":null,"est_delivery_date":"2023-11-22T20:58:47Z","shipment_id":"shp_d2909cf61aa8499b90f99190c5bc9010","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:58: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-10-23T09:35: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-10-23T19:40: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-10-24T21:16: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-10-25T00:07: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-10-25T05:47: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-10-25T05:57: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-10-25T10:49:47Z","source":"USPS","carrier_code":"","tracking_location":{"object":"TrackingLocation","city":"CHARLESTON","state":"SC","country":null,"zip":"29407"}}],"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-10-25T10:49:47Z"},"finalized":true,"is_return":false,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2ZhYjllNDExY2RiMDRjYTNhOWQyNDVmZWYwODVlNmVl","fees":[]},"tracking_code":"9400100105440282044765","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false},"messages":[],"created_at":"2023-11-22T20:55:46Z","updated_at":"2023-11-22T20:55:47Z"},{"id":"ins_5d1e631b2da04e228e3ebc4b0ecec2d9","object":"Insurance","mode":"test","reference":null,"status":"pending","amount":"100.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_7f89e388897911ee9e413cecef1b359e","object":"Address","created_at":"2023-11-22T20:55:41+00:00","updated_at":"2023-11-22T20:55:41+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_7f8ee3b7897911eeb020ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:55:41+00:00","updated_at":"2023-11-22T20:55:41+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"shipment_id":null,"tracker":{"id":"trk_c1e533955c854f98b3d5fc96603cc1bb","object":"Tracker","mode":"test","tracking_code":"9400100105440282044703","status":"error","status_detail":null,"created_at":"2023-11-22T20:55:42Z","updated_at":"2023-11-22T20:55:42Z","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":"2023-11-22T20:55:42Z","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\/djE6dHJrX2MxZTUzMzk1NWM4NTRmOThiM2Q1ZmM5NjYwM2NjMWJi","fees":[]},"tracking_code":"9400100105440282044703","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2023-11-22T20:55:41Z","updated_at":"2023-11-22T20:55:41Z"}],"has_more":true}' + body: '{"insurances":[{"id":"ins_cc9445747a97406891c0147185ffb878","object":"Insurance","mode":"test","reference":null,"status":"purchased","amount":"50.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_b15f55d6492b11efb9b53cecef1b359e","object":"Address","created_at":"2024-07-23T19:42:28+00:00","updated_at":"2024-07-23T19:42:29+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_b162100a492b11efb9b63cecef1b359e","object":"Address","created_at":"2024-07-23T19:42:28+00:00","updated_at":"2024-07-23T19:42:28+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":[]},"shipment_id":"shp_834523de684540c295bc2e8df9f6e9fe","tracker":{"id":"trk_3a0fd0ba1d3c4603ab3775439fd3e8bf","object":"Tracker","mode":"test","tracking_code":"9400100110368066397833","status":"delivered","status_detail":"arrived_at_destination","created_at":"2024-07-23T19:42:29Z","updated_at":"2024-07-23T19:45:29Z","signed_by":"John Tester","weight":null,"est_delivery_date":"2024-07-23T19:45:29Z","shipment_id":"shp_834523de684540c295bc2e8df9f6e9fe","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-06-23T19:45: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":"2024-06-24T08:22: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":"2024-06-24T18:27: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":"2024-06-25T20:03: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":"2024-06-25T22:54: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":"2024-06-26T04:34: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":"2024-06-26T04:44: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":"2024-06-26T09:36:29Z","source":"USPS","carrier_code":"","tracking_location":{"object":"TrackingLocation","city":"CHARLESTON","state":"SC","country":null,"zip":"29407"}}],"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":"2024-06-26T09:36:29Z"},"finalized":true,"is_return":false,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzNhMGZkMGJhMWQzYzQ2MDNhYjM3NzU0MzlmZDNlOGJm","fees":[]},"tracking_code":"9400100110368066397833","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false},"messages":[],"created_at":"2024-07-23T19:42:28Z","updated_at":"2024-07-23T19:42:29Z"},{"id":"ins_9651e894aafb450ead9cc2e44b76a53b","object":"Insurance","mode":"test","reference":null,"status":"purchased","amount":"100.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_85fee21a492c11efa851ac1f6bc53342","object":"Address","created_at":"2024-07-23T19:48:24+00:00","updated_at":"2024-07-23T19:48:25+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_8604020c492c11ef9f113cecef1b359e","object":"Address","created_at":"2024-07-23T19:48:24+00:00","updated_at":"2024-07-23T19:48:24+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":[]},"shipment_id":"shp_086a0105d412457c99ee9de3c14cc2d2","tracker":{"id":"trk_473511f15c5e47a6840cf67efeade15a","object":"Tracker","mode":"test","tracking_code":"9400100110368066399110","status":"delivered","status_detail":"arrived_at_destination","created_at":"2024-07-23T19:48:26Z","updated_at":"2024-07-23T19:51:26Z","signed_by":"John Tester","weight":null,"est_delivery_date":"2024-07-23T19:51:26Z","shipment_id":"shp_086a0105d412457c99ee9de3c14cc2d2","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-06-23T19:51:26Z","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":"2024-06-24T08:28:26Z","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":"2024-06-24T18:33:26Z","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":"2024-06-25T20:09:26Z","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":"2024-06-25T23:00:26Z","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":"2024-06-26T04:40:26Z","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":"2024-06-26T04:50:26Z","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":"2024-06-26T09:42:26Z","source":"USPS","carrier_code":"","tracking_location":{"object":"TrackingLocation","city":"CHARLESTON","state":"SC","country":null,"zip":"29407"}}],"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":"2024-06-26T09:42:26Z"},"finalized":true,"is_return":false,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzQ3MzUxMWYxNWM1ZTQ3YTY4NDBjZjY3ZWZlYWRlMTVh","fees":[]},"tracking_code":"9400100110368066399110","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2024-07-23T19:48:25Z","updated_at":"2024-07-23T19:48:26Z"},{"id":"ins_6d1b3e02c4e041b08b00254e3c45ca79","object":"Insurance","mode":"test","reference":null,"status":"purchased","amount":"100.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_b1ba8e13492d11efbceeac1f6bc53342","object":"Address","created_at":"2024-07-23T19:56:47+00:00","updated_at":"2024-07-23T19:56:48+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_b1bc55e7492d11efb3883cecef1b359e","object":"Address","created_at":"2024-07-23T19:56:47+00:00","updated_at":"2024-07-23T19:56:47+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":[]},"shipment_id":"shp_f98d4ce802094693be6cc09f0776fea4","tracker":{"id":"trk_b1c8a176410f40f193def5a36c3652e2","object":"Tracker","mode":"test","tracking_code":"9400100110368066400960","status":"delivered","status_detail":"arrived_at_destination","created_at":"2024-07-23T19:56:49Z","updated_at":"2024-07-23T19:59:49Z","signed_by":"John Tester","weight":null,"est_delivery_date":"2024-07-23T19:59:49Z","shipment_id":"shp_f98d4ce802094693be6cc09f0776fea4","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-06-23T19:59:49Z","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":"2024-06-24T08:36:49Z","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":"2024-06-24T18:41:49Z","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":"2024-06-25T20:17:49Z","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":"2024-06-25T23:08:49Z","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":"2024-06-26T04:48:49Z","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":"2024-06-26T04:58:49Z","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":"2024-06-26T09:50:49Z","source":"USPS","carrier_code":"","tracking_location":{"object":"TrackingLocation","city":"CHARLESTON","state":"SC","country":null,"zip":"29407"}}],"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":"2024-06-26T09:50:49Z"},"finalized":true,"is_return":false,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2IxYzhhMTc2NDEwZjQwZjE5M2RlZjVhMzZjMzY1MmUy","fees":[]},"tracking_code":"9400100110368066400960","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2024-07-23T19:56:48Z","updated_at":"2024-07-23T19:56:49Z"},{"id":"ins_cfe583f5459042c49b410ba35e975338","object":"Insurance","mode":"test","reference":null,"status":"purchased","amount":"100.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_376ca903492e11ef86f2ac1f6bc539ae","object":"Address","created_at":"2024-07-23T20:00:31+00:00","updated_at":"2024-07-23T20:00:32+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_376f22c7492e11efbb52ac1f6bc53342","object":"Address","created_at":"2024-07-23T20:00:31+00:00","updated_at":"2024-07-23T20:00:31+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":[]},"shipment_id":"shp_2664316df809459887cd1035e4a4f7fa","tracker":{"id":"trk_82054308216d4080a0e6be47f49e1b2a","object":"Tracker","mode":"test","tracking_code":"9400100110368066401769","status":"delivered","status_detail":"arrived_at_destination","created_at":"2024-07-23T20:00:33Z","updated_at":"2024-07-23T20:03:33Z","signed_by":"John Tester","weight":null,"est_delivery_date":"2024-07-23T20:03:33Z","shipment_id":"shp_2664316df809459887cd1035e4a4f7fa","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-06-23T20:03:33Z","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":"2024-06-24T08:40:33Z","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":"2024-06-24T18:45:33Z","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":"2024-06-25T20:21:33Z","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":"2024-06-25T23:12:33Z","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":"2024-06-26T04:52:33Z","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":"2024-06-26T05:02:33Z","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":"2024-06-26T09:54:33Z","source":"USPS","carrier_code":"","tracking_location":{"object":"TrackingLocation","city":"CHARLESTON","state":"SC","country":null,"zip":"29407"}}],"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":"2024-06-26T09:54:33Z"},"finalized":true,"is_return":false,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzgyMDU0MzA4MjE2ZDQwODBhMGU2YmU0N2Y0OWUxYjJh","fees":[]},"tracking_code":"9400100110368066401769","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2024-07-23T20:00:32Z","updated_at":"2024-07-23T20:00:33Z"},{"id":"ins_667242bb232d4eafb5e846e568039227","object":"Insurance","mode":"test","reference":null,"status":"purchased","amount":"50.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_ef851e015a6311ef9b283cecef1b359e","object":"Address","created_at":"2024-08-14T17:37:53+00:00","updated_at":"2024-08-14T17:37:54+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"from_address":{"id":"adr_ef86d4d65a6311efbb68ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:37:53+00:00","updated_at":"2024-08-14T17:37:53+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"shipment_id":"shp_7901b8f196a54a03b1435c7496bcad10","tracker":{"id":"trk_6fb6cedf3935473787e68fed44f04cbd","object":"Tracker","mode":"test","tracking_code":"9400100105807075195491","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:37:55Z","updated_at":"2024-08-14T17:37:55Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:37:55Z","shipment_id":"shp_7901b8f196a54a03b1435c7496bcad10","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:37:55Z","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":"2024-07-15T06:14:55Z","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\/djE6dHJrXzZmYjZjZWRmMzkzNTQ3Mzc4N2U2OGZlZDQ0ZjA0Y2Jk","fees":[]},"tracking_code":"9400100105807075195491","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2024-08-14T17:37:54Z","updated_at":"2024-08-14T17:37:54Z"}],"has_more":false}' curl_info: - url: 'https://api.easypost.com/v2/insurances?page_size=5&before_id=ins_da3f1617b227483a8377e96b95afe349' + url: 'https://api.easypost.com/v2/insurances?page_size=5&before_id=ins_29fe145928604640954175af4233f82d' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 708 + header_size: 690 request_size: 346 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.546095 - namelookup_time: 0.001112 - connect_time: 0.063722 - pretransfer_time: 0.127903 + total_time: 0.526135 + namelookup_time: 0.00111 + connect_time: 0.030585 + pretransfer_time: 0.061808 size_upload: 0.0 - size_download: 16708.0 - speed_download: 30595.0 + size_download: 24536.0 + speed_download: 46634.0 speed_upload: 0.0 - download_content_length: 16708.0 + download_content_length: 24536.0 upload_content_length: 0.0 - starttransfer_time: 0.481392 + starttransfer_time: 0.493817 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.31 - local_port: 52944 + local_ip: 192.168.1.75 + local_port: 52602 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 127867 - connect_time_us: 63722 - namelookup_time_us: 1112 - pretransfer_time_us: 127903 + scheme: https + appconnect_time_us: 61775 + connect_time_us: 30585 + namelookup_time_us: 1110 + pretransfer_time_us: 61808 redirect_time_us: 0 - starttransfer_time_us: 481392 - total_time_us: 546095 + starttransfer_time_us: 493817 + total_time_us: 526135 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/insurance/refund.yml b/test/cassettes/insurance/refund.yml index 28992603..3a26a78b 100644 --- a/test/cassettes/insurance/refund.yml +++ b/test/cassettes/insurance/refund.yml @@ -23,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 295ee6206614304ee799e5e200929c62 + x-ep-request-uuid: e181587a66bceba6e2b8faf00086a57c cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/insurances/ins_3af44aefc4c844f79a0177483cc63922 + location: /api/v2/insurances/ins_f98e961ce9d94fdb879d07785d61663f content-type: 'application/json; charset=utf-8' - content-length: '3366' - x-runtime: '0.205495' - x-node: bigweb41nuq - x-version-label: easypost-202404081732-cdcb81b7f6-master + content-length: '3370' + x-runtime: '0.426244' + x-node: bigweb42nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb4nuq 39c21b8207', 'extlb2nuq 60566a9ec2'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"ins_3af44aefc4c844f79a0177483cc63922","object":"Insurance","mode":"test","reference":null,"status":"pending","amount":"100.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_a0beee4df5d111eea56bac1f6bc539ae","object":"Address","created_at":"2024-04-08T17:58:38+00:00","updated_at":"2024-04-08T17:58:38+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_a0c428d7f5d111ee92fdac1f6bc539aa","object":"Address","created_at":"2024-04-08T17:58:38+00:00","updated_at":"2024-04-08T17:58:38+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"shipment_id":null,"tracker":{"id":"trk_7f7d4c306afd4be2b6bd9a4404f1845f","object":"Tracker","mode":"test","tracking_code":"EZ1000000001","status":"pre_transit","status_detail":"status_update","created_at":"2024-04-08T17:57:04Z","updated_at":"2024-04-08T17:57:04Z","signed_by":null,"weight":null,"est_delivery_date":"2024-04-08T17:57:04Z","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":"2024-03-08T17:57: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":"2024-03-09T06:34:04Z","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\/djE6dHJrXzdmN2Q0YzMwNmFmZDRiZTJiNmJkOWE0NDA0ZjE4NDVm","fees":[]},"tracking_code":"EZ1000000001","fee":{"object":"Fee","type":"InsuranceFee","amount":"1.00000","charged":true,"refunded":false},"messages":[],"created_at":"2024-04-08T17:58:38Z","updated_at":"2024-04-08T17:58:39Z"}' + body: '{"id":"ins_f98e961ce9d94fdb879d07785d61663f","object":"Insurance","mode":"test","reference":null,"status":"pending","amount":"100.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_0ed405935a6411ef8a21ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:38:46+00:00","updated_at":"2024-08-14T17:38:46+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_0ed8e6485a6411ef8a22ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:38:46+00:00","updated_at":"2024-08-14T17:38:46+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"shipment_id":null,"tracker":{"id":"trk_315a3a03c4bd47eb88b6be860a85259b","object":"Tracker","mode":"test","tracking_code":"EZ1000000001","status":"pre_transit","status_detail":"status_update","created_at":"2023-11-22T20:57:19Z","updated_at":"2023-11-22T20:57:19Z","signed_by":null,"weight":null,"est_delivery_date":"2023-11-22T20:57:19Z","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-10-22T20:57: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-10-23T09:34:19Z","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\/djE6dHJrXzMxNWEzYTAzYzRiZDQ3ZWI4OGI2YmU4NjBhODUyNTli","fees":[]},"tracking_code":"EZ1000000001","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2024-08-14T17:38:46Z","updated_at":"2024-08-14T17:38:46Z"}' curl_info: url: 'https://api.easypost.com/v2/insurances' content_type: 'application/json; charset=utf-8' @@ -46,35 +46,35 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.651972 - namelookup_time: 0.027094 - connect_time: 0.156382 - pretransfer_time: 0.318202 + total_time: 0.535173 + namelookup_time: 0.001344 + connect_time: 0.034411 + pretransfer_time: 0.070082 size_upload: 457.0 - size_download: 3366.0 - speed_download: 5162.0 - speed_upload: 700.0 - download_content_length: 3366.0 + size_download: 3370.0 + speed_download: 6297.0 + speed_upload: 853.0 + download_content_length: 3370.0 upload_content_length: 457.0 - starttransfer_time: 0.651907 + starttransfer_time: 0.535082 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.16 - local_port: 62481 + local_ip: 192.168.1.75 + local_port: 52603 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 318026 - connect_time_us: 156382 - namelookup_time_us: 27094 - pretransfer_time_us: 318202 + scheme: https + appconnect_time_us: 70036 + connect_time_us: 34411 + namelookup_time_us: 1344 + pretransfer_time_us: 70082 redirect_time_us: 0 - starttransfer_time_us: 651907 - total_time_us: 651972 + starttransfer_time_us: 535082 + total_time_us: 535173 effective_method: POST capath: '' cainfo: '' @@ -82,7 +82,7 @@ - request: method: POST - url: 'https://api.easypost.com/v2/insurances/ins_3af44aefc4c844f79a0177483cc63922/refund' + url: 'https://api.easypost.com/v2/insurances/ins_f98e961ce9d94fdb879d07785d61663f/refund' headers: Host: api.easypost.com Expect: '' @@ -103,21 +103,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 295ee6216614304fe799e5e300929cfa + x-ep-request-uuid: e181587b66bceba6e2b8faf10086a5fb cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '3410' - x-runtime: '0.106600' - x-node: bigweb40nuq - x-version-label: easypost-202404081732-cdcb81b7f6-master + content-length: '3420' + x-runtime: '0.224356' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb3nuq 39c21b8207', 'extlb2nuq 60566a9ec2'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"ins_3af44aefc4c844f79a0177483cc63922","object":"Insurance","mode":"test","reference":null,"status":"cancelled","amount":"100.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_a0beee4df5d111eea56bac1f6bc539ae","object":"Address","created_at":"2024-04-08T17:58:38+00:00","updated_at":"2024-04-08T17:58:38+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_a0c428d7f5d111ee92fdac1f6bc539aa","object":"Address","created_at":"2024-04-08T17:58:38+00:00","updated_at":"2024-04-08T17:58:38+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"shipment_id":null,"tracker":{"id":"trk_14186867f37a44fb876a1fe4aacc675c","object":"Tracker","mode":"test","tracking_code":"EZ1000000001","status":"pre_transit","status_detail":"status_update","created_at":"2024-04-08T17:58:39Z","updated_at":"2024-04-08T17:58:39Z","signed_by":null,"weight":null,"est_delivery_date":"2024-04-08T17:58:39Z","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":"2024-03-08T17:58:39Z","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":"2024-03-09T06:35:39Z","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\/djE6dHJrXzE0MTg2ODY3ZjM3YTQ0ZmI4NzZhMWZlNGFhY2M2NzVj","fees":[]},"tracking_code":"EZ1000000001","fee":{"object":"Fee","type":"InsuranceFee","amount":"1.00000","charged":true,"refunded":false},"messages":["Insurance was cancelled by the user."],"created_at":"2024-04-08T17:58:38Z","updated_at":"2024-04-08T17:58:39Z"}' + body: '{"id":"ins_f98e961ce9d94fdb879d07785d61663f","object":"Insurance","mode":"test","reference":null,"status":"cancelled","amount":"100.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_0ed405935a6411ef8a21ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:38:46+00:00","updated_at":"2024-08-14T17:38:46+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_0ed8e6485a6411ef8a22ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:38:46+00:00","updated_at":"2024-08-14T17:38:46+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"shipment_id":null,"tracker":{"id":"trk_1c9f7586ac174a389f476d4bbdaff639","object":"Tracker","mode":"test","tracking_code":"EZ1000000001","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:38:46Z","updated_at":"2024-08-14T17:38:46Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:38:46Z","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":"2024-07-14T17:38:46Z","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":"2024-07-15T06:15:46Z","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\/djE6dHJrXzFjOWY3NTg2YWMxNzRhMzg5ZjQ3NmQ0YmJkYWZmNjM5","fees":[]},"tracking_code":"EZ1000000001","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":["Insurance was cancelled by the user."],"created_at":"2024-08-14T17:38:46Z","updated_at":"2024-08-14T17:38:46Z"}' curl_info: - url: 'https://api.easypost.com/v2/insurances/ins_3af44aefc4c844f79a0177483cc63922/refund' + url: 'https://api.easypost.com/v2/insurances/ins_f98e961ce9d94fdb879d07785d61663f/refund' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 689 @@ -125,35 +125,35 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.506935 - namelookup_time: 0.001466 - connect_time: 0.126772 - pretransfer_time: 0.25948 + total_time: 0.321955 + namelookup_time: 0.003371 + connect_time: 0.033132 + pretransfer_time: 0.064263 size_upload: 2.0 - size_download: 3410.0 - speed_download: 6726.0 - speed_upload: 3.0 - download_content_length: 3410.0 + size_download: 3420.0 + speed_download: 10622.0 + speed_upload: 6.0 + download_content_length: 3420.0 upload_content_length: 2.0 - starttransfer_time: 0.506891 + starttransfer_time: 0.32189 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.16 - local_port: 62482 + local_ip: 192.168.1.75 + local_port: 52604 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 259374 - connect_time_us: 126772 - namelookup_time_us: 1466 - pretransfer_time_us: 259480 + scheme: https + appconnect_time_us: 64210 + connect_time_us: 33132 + namelookup_time_us: 3371 + pretransfer_time_us: 64263 redirect_time_us: 0 - starttransfer_time_us: 506891 - total_time_us: 506935 + starttransfer_time_us: 321890 + total_time_us: 321955 effective_method: POST capath: '' cainfo: '' diff --git a/test/cassettes/insurance/retrieve.yml b/test/cassettes/insurance/retrieve.yml index 7e8dd01f..e6046c9e 100644 --- a/test/cassettes/insurance/retrieve.yml +++ b/test/cassettes/insurance/retrieve.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,19 +21,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911a655e7411e788ee21002de8d1 + x-ep-request-uuid: e181587c66bceba1e2b8f7dd0086a19d cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '18601' - x-runtime: '0.252247' - x-node: bigweb38nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '15793' + x-runtime: '0.379962' + x-node: bigweb40nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"insurances":[{"id":"ins_df403e7955054bc7af470c31a0126729","object":"Insurance","mode":"test","reference":null,"status":"pending","amount":"100.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_66464b3b897e11eea668ac1f6bc53342","object":"Address","created_at":"2023-11-22T21:30:46+00:00","updated_at":"2023-11-22T21:30:46+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_664b3834897e11ee97edac1f6bc539aa","object":"Address","created_at":"2023-11-22T21:30:47+00:00","updated_at":"2023-11-22T21:30:47+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"shipment_id":null,"tracker":{"id":"trk_4a71bdf4d87f446e872430a8da9bb09e","object":"Tracker","mode":"test","tracking_code":"9400100105440282056140","status":"error","status_detail":null,"created_at":"2023-11-22T21:30:47Z","updated_at":"2023-11-22T21:30:47Z","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":"2023-11-22T21:30:47Z","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\/djE6dHJrXzRhNzFiZGY0ZDg3ZjQ0NmU4NzI0MzBhOGRhOWJiMDll","fees":[]},"tracking_code":"9400100105440282056140","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2023-11-22T21:30:47Z","updated_at":"2023-11-22T21:30:47Z"},{"id":"ins_9d92dc30f013418ab232aa86952ecd8d","object":"Insurance","mode":"test","reference":null,"status":"purchased","amount":"50.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_656a6a19897e11ee976dac1f6bc539aa","object":"Address","created_at":"2023-11-22T21:30:45+00:00","updated_at":"2023-11-22T21:30:45+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"from_address":{"id":"adr_656e3fc6897e11eea5eaac1f6bc53342","object":"Address","created_at":"2023-11-22T21:30:45+00:00","updated_at":"2023-11-22T21:30:45+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"shipment_id":"shp_c890bc7068604393a9379ad28e669ee5","tracker":{"id":"trk_4c2b46ef848d4a6f8d1b6b62fedeffb2","object":"Tracker","mode":"test","tracking_code":"9400100105440282056140","status":"delivered","status_detail":"arrived_at_destination","created_at":"2023-11-22T21:30:46Z","updated_at":"2023-11-22T21:33:46Z","signed_by":"John Tester","weight":null,"est_delivery_date":"2023-11-22T21:33:46Z","shipment_id":"shp_c890bc7068604393a9379ad28e669ee5","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T21:33:46Z","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-10-23T10:10:46Z","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-10-23T20:15:46Z","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-10-24T21:51:46Z","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-10-25T00:42:46Z","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-10-25T06:22:46Z","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-10-25T06:32:46Z","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-10-25T11:24:46Z","source":"USPS","carrier_code":"","tracking_location":{"object":"TrackingLocation","city":"CHARLESTON","state":"SC","country":null,"zip":"29407"}}],"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-10-25T11:24:46Z"},"finalized":true,"is_return":false,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzRjMmI0NmVmODQ4ZDRhNmY4ZDFiNmI2MmZlZGVmZmIy","fees":[]},"tracking_code":"9400100105440282056140","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false},"messages":[],"created_at":"2023-11-22T21:30:45Z","updated_at":"2023-11-22T21:30:46Z"},{"id":"ins_3e86bcaef1384d96a4ae35deb8a4605e","object":"Insurance","mode":"test","reference":null,"status":"pending","amount":"100.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_0f62c4fb897e11ee8a72ac1f6bc539ae","object":"Address","created_at":"2023-11-22T21:28:21+00:00","updated_at":"2023-11-22T21:28:21+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_0f6a4181897e11ee8a77ac1f6bc539ae","object":"Address","created_at":"2023-11-22T21:28:21+00:00","updated_at":"2023-11-22T21:28:21+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"shipment_id":null,"tracker":{"id":"trk_216fed0e162e443ca81fb68e7adb1c4a","object":"Tracker","mode":"test","tracking_code":"9400100105440282055525","status":"error","status_detail":null,"created_at":"2023-11-22T21:28:21Z","updated_at":"2023-11-22T21:28:21Z","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":"2023-11-22T21:28:21Z","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\/djE6dHJrXzIxNmZlZDBlMTYyZTQ0M2NhODFmYjY4ZTdhZGIxYzRh","fees":[]},"tracking_code":"9400100105440282055525","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2023-11-22T21:28:21Z","updated_at":"2023-11-22T21:28:21Z"},{"id":"ins_3cc9c6a22d6d4bafbc97ee536577b04f","object":"Insurance","mode":"test","reference":null,"status":"purchased","amount":"50.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_0e7c4479897e11eeb99d3cecef1b359e","object":"Address","created_at":"2023-11-22T21:28:19+00:00","updated_at":"2023-11-22T21:28:20+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"from_address":{"id":"adr_0e7e9acc897e11eeb99e3cecef1b359e","object":"Address","created_at":"2023-11-22T21:28:19+00:00","updated_at":"2023-11-22T21:28:19+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"shipment_id":"shp_d6d87640397c40689d4b497289be70f9","tracker":{"id":"trk_ca5b413564c2411b86bb8a190ad3d2ac","object":"Tracker","mode":"test","tracking_code":"9400100105440282055525","status":"delivered","status_detail":"arrived_at_destination","created_at":"2023-11-22T21:28:20Z","updated_at":"2023-11-22T21:31:21Z","signed_by":"John Tester","weight":null,"est_delivery_date":"2023-11-22T21:31:21Z","shipment_id":"shp_d6d87640397c40689d4b497289be70f9","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T21:31: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-10-23T10:08:21Z","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-10-23T20:13:21Z","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-10-24T21:49:21Z","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-10-25T00:40:21Z","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-10-25T06:20:21Z","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-10-25T06:30:21Z","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-10-25T11:22:21Z","source":"USPS","carrier_code":"","tracking_location":{"object":"TrackingLocation","city":"CHARLESTON","state":"SC","country":null,"zip":"29407"}}],"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-10-25T11:22:21Z"},"finalized":true,"is_return":false,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2NhNWI0MTM1NjRjMjQxMWI4NmJiOGExOTBhZDNkMmFj","fees":[]},"tracking_code":"9400100105440282055525","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false},"messages":[],"created_at":"2023-11-22T21:28:19Z","updated_at":"2023-11-22T21:28:20Z"},{"id":"ins_da3f1617b227483a8377e96b95afe349","object":"Insurance","mode":"test","reference":null,"status":"pending","amount":"100.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_013098c9897e11ee82caac1f6bc539ae","object":"Address","created_at":"2023-11-22T21:27:57+00:00","updated_at":"2023-11-22T21:27:57+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_01363b9b897e11eeaf05ac1f6bc53342","object":"Address","created_at":"2023-11-22T21:27:57+00:00","updated_at":"2023-11-22T21:27:57+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"shipment_id":null,"tracker":{"id":"trk_28774cd740384274bc29032189c04070","object":"Tracker","mode":"test","tracking_code":"EZ1000000007","status":"error","status_detail":null,"created_at":"2023-11-22T21:27:57Z","updated_at":"2023-11-22T21:27:57Z","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":"2023-11-22T21:27:57Z","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\/djE6dHJrXzI4Nzc0Y2Q3NDAzODQyNzRiYzI5MDMyMTg5YzA0MDcw","fees":[]},"tracking_code":"EZ1000000007","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2023-11-22T21:27:57Z","updated_at":"2023-11-22T21:27:57Z"}],"has_more":true}' + body: '{"insurances":[{"id":"ins_032ec855f3874672bdf9b0fe4ab2aa98","object":"Insurance","mode":"test","reference":null,"status":"pending","amount":"100.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_0bd2f89e5a6411ef8874ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:38:41+00:00","updated_at":"2024-08-14T17:38:41+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_0bd835b65a6411efaa67ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:41+00:00","updated_at":"2024-08-14T17:38:41+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"shipment_id":null,"tracker":{"id":"trk_c06ab53d70da4c64bdfc08000cb2bfcc","object":"Tracker","mode":"test","tracking_code":"9400100105807075196122","status":"error","status_detail":null,"created_at":"2024-08-14T17:38:41Z","updated_at":"2024-08-14T17:38:41Z","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-08-14T17:38:41Z","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\/djE6dHJrX2MwNmFiNTNkNzBkYTRjNjRiZGZjMDgwMDBjYjJiZmNj","fees":[]},"tracking_code":"9400100105807075196122","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2024-08-14T17:38:41Z","updated_at":"2024-08-14T17:38:41Z"},{"id":"ins_e77eed963a774fff815c33cc684b31c2","object":"Insurance","mode":"test","reference":null,"status":"purchased","amount":"50.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_0b1070aa5a6411efa80a3cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:40+00:00","updated_at":"2024-08-14T17:38:40+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"from_address":{"id":"adr_0b1347025a6411efa80d3cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:40+00:00","updated_at":"2024-08-14T17:38:40+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"shipment_id":"shp_01b1bd4e7ed445e3a8137a99cd418b4c","tracker":{"id":"trk_a828be1c4ee243ad9e5141eeb2930c73","object":"Tracker","mode":"test","tracking_code":"9400100105807075196122","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:38:41Z","updated_at":"2024-08-14T17:38:41Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:38:41Z","shipment_id":"shp_01b1bd4e7ed445e3a8137a99cd418b4c","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:38:41Z","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":"2024-07-15T06:15:41Z","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\/djE6dHJrX2E4MjhiZTFjNGVlMjQzYWQ5ZTUxNDFlZWIyOTMwYzcz","fees":[]},"tracking_code":"9400100105807075196122","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2024-08-14T17:38:40Z","updated_at":"2024-08-14T17:38:41Z"},{"id":"ins_75663c2dbd37430a9db48b57d78937f2","object":"Insurance","mode":"test","reference":null,"status":"purchased","amount":"50.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_09a315415a6411efa7873cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:37+00:00","updated_at":"2024-08-14T17:38:37+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"from_address":{"id":"adr_09a53f9e5a6411ef87a8ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:38:37+00:00","updated_at":"2024-08-14T17:38:37+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"shipment_id":"shp_1a413e0158c345558d080d634954f66a","tracker":{"id":"trk_4a096b5f556e499898cdcd51fd53bb92","object":"Tracker","mode":"test","tracking_code":"9400100105807075196078","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:38:38Z","updated_at":"2024-08-14T17:38:38Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:38:38Z","shipment_id":"shp_1a413e0158c345558d080d634954f66a","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:38: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":"2024-07-15T06:15:38Z","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\/djE6dHJrXzRhMDk2YjVmNTU2ZTQ5OTg5OGNkY2Q1MWZkNTNiYjky","fees":[]},"tracking_code":"9400100105807075196078","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2024-08-14T17:38:37Z","updated_at":"2024-08-14T17:38:38Z"},{"id":"ins_f4d0e03a70dd4ced977f3ff0f4f1c2f7","object":"Insurance","mode":"test","reference":null,"status":"purchased","amount":"50.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_06642d8f5a6411ef996aac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:32+00:00","updated_at":"2024-08-14T17:38:32+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"from_address":{"id":"adr_066684c15a6411efa824ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:32+00:00","updated_at":"2024-08-14T17:38:32+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"shipment_id":"shp_3b9e2541493247728360f3c2b43df567","tracker":{"id":"trk_2cb9337f98bf4eb5958ffe1cea479f12","object":"Tracker","mode":"test","tracking_code":"9400100105807075195965","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:38:33Z","updated_at":"2024-08-14T17:38:33Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:38:33Z","shipment_id":"shp_3b9e2541493247728360f3c2b43df567","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:38:33Z","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":"2024-07-15T06:15:33Z","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\/djE6dHJrXzJjYjkzMzdmOThiZjRlYjU5NThmZmUxY2VhNDc5ZjEy","fees":[]},"tracking_code":"9400100105807075195965","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2024-08-14T17:38:32Z","updated_at":"2024-08-14T17:38:33Z"},{"id":"ins_29fe145928604640954175af4233f82d","object":"Insurance","mode":"test","reference":null,"status":"purchased","amount":"50.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_efba33275a6311ef9d69ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:37:54+00:00","updated_at":"2024-08-14T17:37:54+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"from_address":{"id":"adr_efbc0be15a6311ef9d6aac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:37:54+00:00","updated_at":"2024-08-14T17:37:54+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"shipment_id":"shp_adf84f2ffe8a49c7a2e9b46fc98bf628","tracker":{"id":"trk_21a4b7a1577a48d9b9fad7910c1efa4b","object":"Tracker","mode":"test","tracking_code":"9400100105807075195507","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:37:55Z","updated_at":"2024-08-14T17:37:55Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:37:55Z","shipment_id":"shp_adf84f2ffe8a49c7a2e9b46fc98bf628","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:37:55Z","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":"2024-07-15T06:14:55Z","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\/djE6dHJrXzIxYTRiN2ExNTc3YTQ4ZDliOWZhZDc5MTBjMWVmYTRi","fees":[]},"tracking_code":"9400100105807075195507","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2024-08-14T17:37:54Z","updated_at":"2024-08-14T17:37:55Z"}],"has_more":true}' curl_info: url: 'https://api.easypost.com/v2/insurances?page_size=5' content_type: 'application/json; charset=utf-8' @@ -44,40 +43,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.521627 - namelookup_time: 0.005414 - connect_time: 0.068706 - pretransfer_time: 0.136968 + total_time: 0.521064 + namelookup_time: 0.003237 + connect_time: 0.036416 + pretransfer_time: 0.071266 size_upload: 0.0 - size_download: 18601.0 - speed_download: 35659.0 + size_download: 15793.0 + speed_download: 30309.0 speed_upload: 0.0 - download_content_length: 18601.0 + download_content_length: 15793.0 upload_content_length: 0.0 - starttransfer_time: 0.459394 + starttransfer_time: 0.488124 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 54641 + local_ip: 192.168.1.75 + local_port: 52598 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 136899 - connect_time_us: 68706 - namelookup_time_us: 5414 - pretransfer_time_us: 136968 + scheme: https + appconnect_time_us: 71230 + connect_time_us: 36416 + namelookup_time_us: 3237 + pretransfer_time_us: 71266 redirect_time_us: 0 - starttransfer_time_us: 459394 - total_time_us: 521627 + starttransfer_time_us: 488124 + total_time_us: 521064 + effective_method: GET + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/insurances/ins_df403e7955054bc7af470c31a0126729' + url: 'https://api.easypost.com/v2/insurances/ins_032ec855f3874672bdf9b0fe4ab2aa98' headers: Host: api.easypost.com Accept-Encoding: '' @@ -87,8 +89,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -97,56 +98,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911b655e7415e788ee22002dec8f + x-ep-request-uuid: e181587a66bceba2e2b8f7de0086a265 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '2656' - x-runtime: '0.074347' - x-node: bigweb32nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '2666' + x-runtime: '0.132450' + x-node: bigweb40nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"ins_df403e7955054bc7af470c31a0126729","object":"Insurance","mode":"test","reference":null,"status":"pending","amount":"100.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_66464b3b897e11eea668ac1f6bc53342","object":"Address","created_at":"2023-11-22T21:30:46+00:00","updated_at":"2023-11-22T21:30:46+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_664b3834897e11ee97edac1f6bc539aa","object":"Address","created_at":"2023-11-22T21:30:47+00:00","updated_at":"2023-11-22T21:30:47+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"shipment_id":null,"tracker":{"id":"trk_4a71bdf4d87f446e872430a8da9bb09e","object":"Tracker","mode":"test","tracking_code":"9400100105440282056140","status":"error","status_detail":null,"created_at":"2023-11-22T21:30:47Z","updated_at":"2023-11-22T21:30:47Z","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":"2023-11-22T21:30:47Z","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\/djE6dHJrXzRhNzFiZGY0ZDg3ZjQ0NmU4NzI0MzBhOGRhOWJiMDll","fees":[]},"tracking_code":"9400100105440282056140","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2023-11-22T21:30:47Z","updated_at":"2023-11-22T21:30:47Z"}' + body: '{"id":"ins_032ec855f3874672bdf9b0fe4ab2aa98","object":"Insurance","mode":"test","reference":null,"status":"pending","amount":"100.00000","provider":"easypost","provider_id":null,"to_address":{"id":"adr_0bd2f89e5a6411ef8874ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:38:41+00:00","updated_at":"2024-08-14T17:38:41+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_0bd835b65a6411efaa67ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:41+00:00","updated_at":"2024-08-14T17:38:41+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"shipment_id":null,"tracker":{"id":"trk_c06ab53d70da4c64bdfc08000cb2bfcc","object":"Tracker","mode":"test","tracking_code":"9400100105807075196122","status":"error","status_detail":null,"created_at":"2024-08-14T17:38:41Z","updated_at":"2024-08-14T17:38:41Z","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-08-14T17:38:41Z","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\/djE6dHJrX2MwNmFiNTNkNzBkYTRjNjRiZGZjMDgwMDBjYjJiZmNj","fees":[]},"tracking_code":"9400100105807075196122","fee":{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false},"messages":[],"created_at":"2024-08-14T17:38:41Z","updated_at":"2024-08-14T17:38:41Z"}' curl_info: - url: 'https://api.easypost.com/v2/insurances/ins_df403e7955054bc7af470c31a0126729' + url: 'https://api.easypost.com/v2/insurances/ins_032ec855f3874672bdf9b0fe4ab2aa98' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 707 + header_size: 689 request_size: 324 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.28234 - namelookup_time: 0.001478 - connect_time: 0.064388 - pretransfer_time: 0.128621 + total_time: 0.245215 + namelookup_time: 0.001273 + connect_time: 0.034253 + pretransfer_time: 0.068682 size_upload: 0.0 - size_download: 2656.0 - speed_download: 9407.0 + size_download: 2666.0 + speed_download: 10872.0 speed_upload: 0.0 - download_content_length: 2656.0 + download_content_length: 2666.0 upload_content_length: 0.0 - starttransfer_time: 0.282237 + starttransfer_time: 0.24517 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 54642 + local_ip: 192.168.1.75 + local_port: 52599 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 128594 - connect_time_us: 64388 - namelookup_time_us: 1478 - pretransfer_time_us: 128621 + scheme: https + appconnect_time_us: 68649 + connect_time_us: 34253 + namelookup_time_us: 1273 + pretransfer_time_us: 68682 redirect_time_us: 0 - starttransfer_time_us: 282237 - total_time_us: 282340 + starttransfer_time_us: 245170 + total_time_us: 245215 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/orders/buy.yml b/test/cassettes/orders/buy.yml index ac5f0b5d..1a52abc0 100644 --- a/test/cassettes/orders/buy.yml +++ b/test/cassettes/orders/buy.yml @@ -23,58 +23,59 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 2a24806f666c73e4e78aa07100051435 + x-ep-request-uuid: e181587666bcebabe2b8faf60086aa78 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/orders/order_ced6a98720774f0da8df764fe1ee34f6 + location: /api/v2/orders/order_11f68dd96d9f465687e8a5129967ccb3 content-type: 'application/json; charset=utf-8' - content-length: '17580' - x-runtime: '1.339223' - x-node: bigweb39nuq - x-version-label: easypost-202406132320-de9fa0c698-master + content-length: '14425' + x-runtime: '1.194441' + x-node: bigweb32nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb3nuq 9d6131b01c', 'extlb2nuq a97f7bac00'] + x-canary: direct + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"mode":"test","reference":"","is_return":false,"options":{"currency":"USD","payment":{"type":"SENDER"}},"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"}],"created_at":"2024-06-14T16:46:28Z","updated_at":"2024-06-14T16:46:29Z","customs_info":null,"from_address":{"id":"adr_a57600982a6d11efa20bac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:28+00:00","updated_at":"2024-06-14T16:46:28+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":[]},"to_address":{"id":"adr_a5736f672a6d11ef9154ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:28+00:00","updated_at":"2024-06-14T16:46:28+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_a5736f672a6d11ef9154ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:28+00:00","updated_at":"2024-06-14T16:46:28+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"return_address":{"id":"adr_a57600982a6d11efa20bac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:28+00:00","updated_at":"2024-06-14T16:46:28+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":[]},"shipments":[{"created_at":"2024-06-14T16:46:28Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-06-14T16:46:28Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_a57600982a6d11efa20bac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:28+00:00","updated_at":"2024-06-14T16:46:28+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":[]},"insurance":null,"order_id":"order_ced6a98720774f0da8df764fe1ee34f6","parcel":{"id":"prcl_5aac8f50c6094c59bab30e14aff80f3f","object":"Parcel","created_at":"2024-06-14T16:46:28Z","updated_at":"2024-06-14T16:46:28Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":10.2,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_9e2f5ceb53c64528ab661330f40ce17e","object":"Rate","created_at":"2024-06-14T16:46:29Z","updated_at":"2024-06-14T16:46:29Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_299002bef189420e988a975c06a03917","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_c2a838d388d94657bc63bf2e4452c04f","object":"Rate","created_at":"2024-06-14T16:46:29Z","updated_at":"2024-06-14T16:46:29Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.88","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_299002bef189420e988a975c06a03917","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_089a5eea28c942e8a9a3bbb6200b1ffa","object":"Rate","created_at":"2024-06-14T16:46:29Z","updated_at":"2024-06-14T16:46:29Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_299002bef189420e988a975c06a03917","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_23763760051b42cba931960e546d8725","object":"Rate","created_at":"2024-06-14T16:46:29Z","updated_at":"2024-06-14T16:46:29Z","mode":"test","service":"First","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_299002bef189420e988a975c06a03917","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_238b93f6585149048f90a55e6aa9f84c","object":"Rate","created_at":"2024-06-14T16:46:29Z","updated_at":"2024-06-14T16:46:29Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_299002bef189420e988a975c06a03917","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_a5736f672a6d11ef9154ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:28+00:00","updated_at":"2024-06-14T16:46:28+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_a57600982a6d11efa20bac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:28+00:00","updated_at":"2024-06-14T16:46:28+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":[]},"buyer_address":{"id":"adr_a5736f672a6d11ef9154ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:28+00:00","updated_at":"2024-06-14T16:46:28+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_299002bef189420e988a975c06a03917","object":"Shipment"},{"created_at":"2024-06-14T16:46:28Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-06-14T16:46:28Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_a57600982a6d11efa20bac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:28+00:00","updated_at":"2024-06-14T16:46:28+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":[]},"insurance":null,"order_id":"order_ced6a98720774f0da8df764fe1ee34f6","parcel":{"id":"prcl_73aec31291d1498bbfddd11ab5b30750","object":"Parcel","created_at":"2024-06-14T16:46:28Z","updated_at":"2024-06-14T16:46:28Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":17.5,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_c9224a3442f0495894820ae193e4c22b","object":"Rate","created_at":"2024-06-14T16:46:29Z","updated_at":"2024-06-14T16:46:29Z","mode":"test","service":"Express","carrier":"USPS","rate":"37.20","currency":"USD","retail_rate":"42.80","retail_currency":"USD","list_rate":"37.20","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_a268d9c4c83d4d4e84d09c079094ed3f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_885d229ac60e4106b452b9fe66ef235f","object":"Rate","created_at":"2024-06-14T16:46:29Z","updated_at":"2024-06-14T16:46:29Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.91","currency":"USD","retail_rate":"12.50","retail_currency":"USD","list_rate":"8.97","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_a268d9c4c83d4d4e84d09c079094ed3f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_80c922a65dec43efb2df0ba3df64d4cb","object":"Rate","created_at":"2024-06-14T16:46:29Z","updated_at":"2024-06-14T16:46:29Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_a268d9c4c83d4d4e84d09c079094ed3f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_e0f22af301494eb6b909e89ebec1a8af","object":"Rate","created_at":"2024-06-14T16:46:29Z","updated_at":"2024-06-14T16:46:29Z","mode":"test","service":"First","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_a268d9c4c83d4d4e84d09c079094ed3f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_848802fa9f9f4f18a81db6a1aa449ccd","object":"Rate","created_at":"2024-06-14T16:46:29Z","updated_at":"2024-06-14T16:46:29Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_a268d9c4c83d4d4e84d09c079094ed3f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_a5736f672a6d11ef9154ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:28+00:00","updated_at":"2024-06-14T16:46:28+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_a57600982a6d11efa20bac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:28+00:00","updated_at":"2024-06-14T16:46:28+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":[]},"buyer_address":{"id":"adr_a5736f672a6d11ef9154ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:28+00:00","updated_at":"2024-06-14T16:46:28+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_a268d9c4c83d4d4e84d09c079094ed3f","object":"Shipment"}],"rates":[{"id":"rate_9e2f5ceb53c64528ab661330f40ce17e","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Express","carrier":"USPS","rate":"70.30","currency":"USD","retail_rate":"80.70","retail_currency":"USD","list_rate":"70.30","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_299002bef189420e988a975c06a03917","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_c2a838d388d94657bc63bf2e4452c04f","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Priority","carrier":"USPS","rate":"13.79","currency":"USD","retail_rate":"22.30","retail_currency":"USD","list_rate":"17.22","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_299002bef189420e988a975c06a03917","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_089a5eea28c942e8a9a3bbb6200b1ffa","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_299002bef189420e988a975c06a03917","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_23763760051b42cba931960e546d8725","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"First","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_299002bef189420e988a975c06a03917","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_238b93f6585149048f90a55e6aa9f84c","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_299002bef189420e988a975c06a03917","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"id":"order_ced6a98720774f0da8df764fe1ee34f6","object":"Order"}' + body: '{"mode":"test","reference":"","is_return":false,"options":{"currency":"USD","payment":{"type":"SENDER"}},"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"}],"created_at":"2024-08-14T17:38:51Z","updated_at":"2024-08-14T17:38:52Z","customs_info":null,"from_address":{"id":"adr_1206d1395a6411ef9ed2ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:51+00:00","updated_at":"2024-08-14T17:38:51+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":[]},"to_address":{"id":"adr_1204c1e55a6411efad6bac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:51+00:00","updated_at":"2024-08-14T17:38:51+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_1204c1e55a6411efad6bac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:51+00:00","updated_at":"2024-08-14T17:38:51+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"return_address":{"id":"adr_1206d1395a6411ef9ed2ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:51+00:00","updated_at":"2024-08-14T17:38:51+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":[]},"shipments":[{"created_at":"2024-08-14T17:38:51Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:38:51Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_1206d1395a6411ef9ed2ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:51+00:00","updated_at":"2024-08-14T17:38:51+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":[]},"insurance":null,"order_id":"order_11f68dd96d9f465687e8a5129967ccb3","parcel":{"id":"prcl_3f8e42d3518441a192c9c04569e0222d","object":"Parcel","created_at":"2024-08-14T17:38:51Z","updated_at":"2024-08-14T17:38:51Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":10.2,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_9845aef705f34f108e1c60db77076d0c","object":"Rate","created_at":"2024-08-14T17:38:52Z","updated_at":"2024-08-14T17:38:52Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_01369cd72df24b3faebd519c0385075f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_19ea0c6cad24403d90066894e8d9c612","object":"Rate","created_at":"2024-08-14T17:38:52Z","updated_at":"2024-08-14T17:38:52Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_01369cd72df24b3faebd519c0385075f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_a4d22f21598844f0a8801e0770abe3d5","object":"Rate","created_at":"2024-08-14T17:38:52Z","updated_at":"2024-08-14T17:38:52Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_01369cd72df24b3faebd519c0385075f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_1204c1e55a6411efad6bac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:51+00:00","updated_at":"2024-08-14T17:38:51+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_1206d1395a6411ef9ed2ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:51+00:00","updated_at":"2024-08-14T17:38:51+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":[]},"buyer_address":{"id":"adr_1204c1e55a6411efad6bac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:51+00:00","updated_at":"2024-08-14T17:38:51+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_01369cd72df24b3faebd519c0385075f","object":"Shipment"},{"created_at":"2024-08-14T17:38:51Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:38:51Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_1206d1395a6411ef9ed2ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:51+00:00","updated_at":"2024-08-14T17:38:51+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":[]},"insurance":null,"order_id":"order_11f68dd96d9f465687e8a5129967ccb3","parcel":{"id":"prcl_2294c76c5a2044c4a61da16ef6472afb","object":"Parcel","created_at":"2024-08-14T17:38:51Z","updated_at":"2024-08-14T17:38:51Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":17.5,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_ba140588fa0e46c59c7d99f2a5538ed3","object":"Rate","created_at":"2024-08-14T17:38:52Z","updated_at":"2024-08-14T17:38:52Z","mode":"test","service":"Priority","carrier":"USPS","rate":"7.58","currency":"USD","retail_rate":"12.50","retail_currency":"USD","list_rate":"8.97","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_dd2bd960ec8f4b22a4acaae89398e22b","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_cea1cc3933f14547a31c0059b77aeecd","object":"Rate","created_at":"2024-08-14T17:38:52Z","updated_at":"2024-08-14T17:38:52Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"6.33","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_dd2bd960ec8f4b22a4acaae89398e22b","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_573b4a9329f14b1b9f8e0490aa4f236d","object":"Rate","created_at":"2024-08-14T17:38:52Z","updated_at":"2024-08-14T17:38:52Z","mode":"test","service":"Express","carrier":"USPS","rate":"37.20","currency":"USD","retail_rate":"42.80","retail_currency":"USD","list_rate":"37.20","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_dd2bd960ec8f4b22a4acaae89398e22b","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_1204c1e55a6411efad6bac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:51+00:00","updated_at":"2024-08-14T17:38:51+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_1206d1395a6411ef9ed2ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:51+00:00","updated_at":"2024-08-14T17:38:51+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":[]},"buyer_address":{"id":"adr_1204c1e55a6411efad6bac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:51+00:00","updated_at":"2024-08-14T17:38:51+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_dd2bd960ec8f4b22a4acaae89398e22b","object":"Shipment"}],"rates":[{"id":"rate_9845aef705f34f108e1c60db77076d0c","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Priority","carrier":"USPS","rate":"14.48","currency":"USD","retail_rate":"22.30","retail_currency":"USD","list_rate":"17.22","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_01369cd72df24b3faebd519c0385075f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_19ea0c6cad24403d90066894e8d9c612","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"11.40","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_01369cd72df24b3faebd519c0385075f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_a4d22f21598844f0a8801e0770abe3d5","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Express","carrier":"USPS","rate":"70.30","currency":"USD","retail_rate":"80.70","retail_currency":"USD","list_rate":"70.30","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_01369cd72df24b3faebd519c0385075f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"id":"order_11f68dd96d9f465687e8a5129967ccb3","object":"Order"}' curl_info: url: 'https://api.easypost.com/v2/orders' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 760 - request_size: 766 + header_size: 778 + request_size: 767 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.616295 - namelookup_time: 0.001428 - connect_time: 0.066986 - pretransfer_time: 0.141857 + total_time: 1.334483 + namelookup_time: 0.002492 + connect_time: 0.035274 + pretransfer_time: 0.069976 size_upload: 462.0 - size_download: 17580.0 - speed_download: 10876.0 - speed_upload: 285.0 - download_content_length: 17580.0 + size_download: 14425.0 + speed_download: 10809.0 + speed_upload: 346.0 + download_content_length: 14425.0 upload_content_length: 462.0 - starttransfer_time: 1.551869 + starttransfer_time: 1.301095 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.19 - local_port: 57978 + local_ip: 192.168.1.75 + local_port: 52609 http_version: 2 protocol: 2 ssl_verifyresult: 0 scheme: https - appconnect_time_us: 141771 - connect_time_us: 66986 - namelookup_time_us: 1428 - pretransfer_time_us: 141857 + appconnect_time_us: 69935 + connect_time_us: 35274 + namelookup_time_us: 2492 + pretransfer_time_us: 69976 redirect_time_us: 0 - starttransfer_time_us: 1551869 - total_time_us: 1616295 + starttransfer_time_us: 1301095 + total_time_us: 1334483 effective_method: POST capath: '' cainfo: '' @@ -82,7 +83,7 @@ - request: method: POST - url: 'https://api.easypost.com/v2/orders/order_ced6a98720774f0da8df764fe1ee34f6/buy' + url: 'https://api.easypost.com/v2/orders/order_11f68dd96d9f465687e8a5129967ccb3/buy' headers: Host: api.easypost.com Expect: '' @@ -91,7 +92,7 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"carrier":"USPS","service":"First"}' + body: '{"carrier":"USPS","service":"GroundAdvantage"}' response: status: code: 200 @@ -103,57 +104,57 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 2a24806f666c73e6e78aa072000515fc + x-ep-request-uuid: e181587d66bcebade2b8fb0e0086abfc cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '21043' - x-runtime: '1.766812' - x-node: bigweb42nuq - x-version-label: easypost-202406132320-de9fa0c698-master + content-length: '17908' + x-runtime: '2.217373' + x-node: bigweb39nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb4nuq 9d6131b01c', 'extlb2nuq a97f7bac00'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"mode":"test","reference":"","is_return":false,"options":{"currency":"USD","payment":{"type":"SENDER"}},"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"}],"created_at":"2024-06-14T16:46:28Z","updated_at":"2024-06-14T16:46:29Z","customs_info":null,"from_address":{"id":"adr_a57600982a6d11efa20bac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:28+00:00","updated_at":"2024-06-14T16:46:28+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":[]},"to_address":{"id":"adr_a5736f672a6d11ef9154ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:28+00:00","updated_at":"2024-06-14T16:46:31+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_a5736f672a6d11ef9154ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:28+00:00","updated_at":"2024-06-14T16:46:31+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_a57600982a6d11efa20bac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:28+00:00","updated_at":"2024-06-14T16:46:28+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":[]},"shipments":[{"created_at":"2024-06-14T16:46:28Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100110368051963265","updated_at":"2024-06-14T16:46:31Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_a57600982a6d11efa20bac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:28+00:00","updated_at":"2024-06-14T16:46:28+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":[]},"insurance":"50.00","order_id":"order_ced6a98720774f0da8df764fe1ee34f6","parcel":{"id":"prcl_5aac8f50c6094c59bab30e14aff80f3f","object":"Parcel","created_at":"2024-06-14T16:46:28Z","updated_at":"2024-06-14T16:46:28Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":10.2,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_ea66c572ebdf48979cf4c2c4310f1499","created_at":"2024-06-14T16:46:30Z","updated_at":"2024-06-14T16:46:30Z","date_advance":0,"integrated_form":"none","label_date":"2024-06-14T16:46:30Z","label_resolution":300,"label_size":"4x6","label_type":"default","label_file_type":"image\/png","label_url":"https:\/\/easypost-files.s3.us-west-2.amazonaws.com\/files\/postage_label\/20240614\/e8aa7f42faad8d42558e44e56828d8e8eb.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_9e2f5ceb53c64528ab661330f40ce17e","object":"Rate","created_at":"2024-06-14T16:46:29Z","updated_at":"2024-06-14T16:46:29Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_299002bef189420e988a975c06a03917","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_c2a838d388d94657bc63bf2e4452c04f","object":"Rate","created_at":"2024-06-14T16:46:29Z","updated_at":"2024-06-14T16:46:29Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.88","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_299002bef189420e988a975c06a03917","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_089a5eea28c942e8a9a3bbb6200b1ffa","object":"Rate","created_at":"2024-06-14T16:46:29Z","updated_at":"2024-06-14T16:46:29Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_299002bef189420e988a975c06a03917","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_23763760051b42cba931960e546d8725","object":"Rate","created_at":"2024-06-14T16:46:29Z","updated_at":"2024-06-14T16:46:29Z","mode":"test","service":"First","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_299002bef189420e988a975c06a03917","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_238b93f6585149048f90a55e6aa9f84c","object":"Rate","created_at":"2024-06-14T16:46:29Z","updated_at":"2024-06-14T16:46:29Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_299002bef189420e988a975c06a03917","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_23763760051b42cba931960e546d8725","object":"Rate","created_at":"2024-06-14T16:46:30Z","updated_at":"2024-06-14T16:46:30Z","mode":"test","service":"First","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_299002bef189420e988a975c06a03917","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_4655426f25b741f0aa26d443bd98740d","object":"Tracker","mode":"test","tracking_code":"9400100110368051963265","status":"unknown","status_detail":"unknown","created_at":"2024-06-14T16:46:31Z","updated_at":"2024-06-14T16:46:31Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_299002bef189420e988a975c06a03917","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzQ2NTU0MjZmMjViNzQxZjBhYTI2ZDQ0M2JkOTg3NDBk"},"to_address":{"id":"adr_a5736f672a6d11ef9154ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:28+00:00","updated_at":"2024-06-14T16:46:31+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_a57600982a6d11efa20bac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:28+00:00","updated_at":"2024-06-14T16:46:28+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":[]},"buyer_address":{"id":"adr_a5736f672a6d11ef9154ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:28+00:00","updated_at":"2024-06-14T16:46:31+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.07000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_299002bef189420e988a975c06a03917","object":"Shipment"},{"created_at":"2024-06-14T16:46:28Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9434600110368051963274","updated_at":"2024-06-14T16:46:31Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_a57600982a6d11efa20bac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:28+00:00","updated_at":"2024-06-14T16:46:28+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":[]},"insurance":"50.00","order_id":"order_ced6a98720774f0da8df764fe1ee34f6","parcel":{"id":"prcl_73aec31291d1498bbfddd11ab5b30750","object":"Parcel","created_at":"2024-06-14T16:46:28Z","updated_at":"2024-06-14T16:46:28Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":17.5,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_60d6133550b1451e82b0eca07225f3f7","created_at":"2024-06-14T16:46:31Z","updated_at":"2024-06-14T16:46:31Z","date_advance":0,"integrated_form":"none","label_date":"2024-06-14T16:46: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\/20240614\/e844801baa6a2e4d69855e6b09ddc13dc4.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_c9224a3442f0495894820ae193e4c22b","object":"Rate","created_at":"2024-06-14T16:46:29Z","updated_at":"2024-06-14T16:46:29Z","mode":"test","service":"Express","carrier":"USPS","rate":"37.20","currency":"USD","retail_rate":"42.80","retail_currency":"USD","list_rate":"37.20","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_a268d9c4c83d4d4e84d09c079094ed3f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_885d229ac60e4106b452b9fe66ef235f","object":"Rate","created_at":"2024-06-14T16:46:29Z","updated_at":"2024-06-14T16:46:29Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.91","currency":"USD","retail_rate":"12.50","retail_currency":"USD","list_rate":"8.97","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_a268d9c4c83d4d4e84d09c079094ed3f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_80c922a65dec43efb2df0ba3df64d4cb","object":"Rate","created_at":"2024-06-14T16:46:29Z","updated_at":"2024-06-14T16:46:29Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_a268d9c4c83d4d4e84d09c079094ed3f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_e0f22af301494eb6b909e89ebec1a8af","object":"Rate","created_at":"2024-06-14T16:46:29Z","updated_at":"2024-06-14T16:46:29Z","mode":"test","service":"First","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_a268d9c4c83d4d4e84d09c079094ed3f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_848802fa9f9f4f18a81db6a1aa449ccd","object":"Rate","created_at":"2024-06-14T16:46:29Z","updated_at":"2024-06-14T16:46:29Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_a268d9c4c83d4d4e84d09c079094ed3f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_e0f22af301494eb6b909e89ebec1a8af","object":"Rate","created_at":"2024-06-14T16:46:31Z","updated_at":"2024-06-14T16:46:31Z","mode":"test","service":"First","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_a268d9c4c83d4d4e84d09c079094ed3f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_cc18fe9ab2554e5f8e6012821826d857","object":"Tracker","mode":"test","tracking_code":"9434600110368051963274","status":"unknown","status_detail":"unknown","created_at":"2024-06-14T16:46:31Z","updated_at":"2024-06-14T16:46:31Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_a268d9c4c83d4d4e84d09c079094ed3f","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2NjMThmZTlhYjI1NTRlNWY4ZTYwMTI4MjE4MjZkODU3"},"to_address":{"id":"adr_a5736f672a6d11ef9154ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:28+00:00","updated_at":"2024-06-14T16:46:31+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_a57600982a6d11efa20bac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:28+00:00","updated_at":"2024-06-14T16:46:28+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":[]},"buyer_address":{"id":"adr_a5736f672a6d11ef9154ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:28+00:00","updated_at":"2024-06-14T16:46:31+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.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.26000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_a268d9c4c83d4d4e84d09c079094ed3f","object":"Shipment"}],"rates":[{"id":"rate_9e2f5ceb53c64528ab661330f40ce17e","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Express","carrier":"USPS","rate":"70.30","currency":"USD","retail_rate":"80.70","retail_currency":"USD","list_rate":"70.30","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_299002bef189420e988a975c06a03917","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_c2a838d388d94657bc63bf2e4452c04f","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Priority","carrier":"USPS","rate":"13.79","currency":"USD","retail_rate":"22.30","retail_currency":"USD","list_rate":"17.22","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_299002bef189420e988a975c06a03917","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_089a5eea28c942e8a9a3bbb6200b1ffa","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_299002bef189420e988a975c06a03917","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_23763760051b42cba931960e546d8725","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"First","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_299002bef189420e988a975c06a03917","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_238b93f6585149048f90a55e6aa9f84c","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_299002bef189420e988a975c06a03917","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"id":"order_ced6a98720774f0da8df764fe1ee34f6","object":"Order"}' + body: '{"mode":"test","reference":"","is_return":false,"options":{"currency":"USD","payment":{"type":"SENDER"}},"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"}],"created_at":"2024-08-14T17:38:51Z","updated_at":"2024-08-14T17:38:52Z","customs_info":null,"from_address":{"id":"adr_1206d1395a6411ef9ed2ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:51+00:00","updated_at":"2024-08-14T17:38:51+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":[]},"to_address":{"id":"adr_1204c1e55a6411efad6bac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:51+00:00","updated_at":"2024-08-14T17:38:54+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_1204c1e55a6411efad6bac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:51+00:00","updated_at":"2024-08-14T17:38:54+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_1206d1395a6411ef9ed2ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:51+00:00","updated_at":"2024-08-14T17:38:51+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":[]},"shipments":[{"created_at":"2024-08-14T17:38:51Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196269","updated_at":"2024-08-14T17:38:54Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_1206d1395a6411ef9ed2ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:51+00:00","updated_at":"2024-08-14T17:38:51+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":[]},"insurance":"50.00","order_id":"order_11f68dd96d9f465687e8a5129967ccb3","parcel":{"id":"prcl_3f8e42d3518441a192c9c04569e0222d","object":"Parcel","created_at":"2024-08-14T17:38:51Z","updated_at":"2024-08-14T17:38:51Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":10.2,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_a24b51d52acf41d1860ee9f4c4d05a1a","created_at":"2024-08-14T17:38:53Z","updated_at":"2024-08-14T17:38:53Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:38: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\/20240814\/e824dd4e020bd249d3aa9a06521b7edb63.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_9845aef705f34f108e1c60db77076d0c","object":"Rate","created_at":"2024-08-14T17:38:52Z","updated_at":"2024-08-14T17:38:52Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_01369cd72df24b3faebd519c0385075f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_19ea0c6cad24403d90066894e8d9c612","object":"Rate","created_at":"2024-08-14T17:38:52Z","updated_at":"2024-08-14T17:38:52Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_01369cd72df24b3faebd519c0385075f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_a4d22f21598844f0a8801e0770abe3d5","object":"Rate","created_at":"2024-08-14T17:38:52Z","updated_at":"2024-08-14T17:38:52Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_01369cd72df24b3faebd519c0385075f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_19ea0c6cad24403d90066894e8d9c612","object":"Rate","created_at":"2024-08-14T17:38:53Z","updated_at":"2024-08-14T17:38:53Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_01369cd72df24b3faebd519c0385075f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_65dac7cc22c14241958f52e5462b4b82","object":"Tracker","mode":"test","tracking_code":"9400100105807075196269","status":"unknown","status_detail":"unknown","created_at":"2024-08-14T17:38:55Z","updated_at":"2024-08-14T17:38:55Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_01369cd72df24b3faebd519c0385075f","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzY1ZGFjN2NjMjJjMTQyNDE5NThmNTJlNTQ2MmI0Yjgy"},"to_address":{"id":"adr_1204c1e55a6411efad6bac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:51+00:00","updated_at":"2024-08-14T17:38:54+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_1206d1395a6411ef9ed2ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:51+00:00","updated_at":"2024-08-14T17:38:51+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":[]},"buyer_address":{"id":"adr_1204c1e55a6411efad6bac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:51+00:00","updated_at":"2024-08-14T17:38:54+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.07000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_01369cd72df24b3faebd519c0385075f","object":"Shipment"},{"created_at":"2024-08-14T17:38:51Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9434600105807075196278","updated_at":"2024-08-14T17:38:55Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_1206d1395a6411ef9ed2ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:51+00:00","updated_at":"2024-08-14T17:38:51+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":[]},"insurance":"50.00","order_id":"order_11f68dd96d9f465687e8a5129967ccb3","parcel":{"id":"prcl_2294c76c5a2044c4a61da16ef6472afb","object":"Parcel","created_at":"2024-08-14T17:38:51Z","updated_at":"2024-08-14T17:38:51Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":17.5,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_2fc89e4ed82945fea402bda3804243da","created_at":"2024-08-14T17:38:54Z","updated_at":"2024-08-14T17:38:54Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:38: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\/20240814\/e8a1fefb596dd846a6be202ff8ff6732f6.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_ba140588fa0e46c59c7d99f2a5538ed3","object":"Rate","created_at":"2024-08-14T17:38:52Z","updated_at":"2024-08-14T17:38:52Z","mode":"test","service":"Priority","carrier":"USPS","rate":"7.58","currency":"USD","retail_rate":"12.50","retail_currency":"USD","list_rate":"8.97","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_dd2bd960ec8f4b22a4acaae89398e22b","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_cea1cc3933f14547a31c0059b77aeecd","object":"Rate","created_at":"2024-08-14T17:38:52Z","updated_at":"2024-08-14T17:38:52Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"6.33","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_dd2bd960ec8f4b22a4acaae89398e22b","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_573b4a9329f14b1b9f8e0490aa4f236d","object":"Rate","created_at":"2024-08-14T17:38:52Z","updated_at":"2024-08-14T17:38:52Z","mode":"test","service":"Express","carrier":"USPS","rate":"37.20","currency":"USD","retail_rate":"42.80","retail_currency":"USD","list_rate":"37.20","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_dd2bd960ec8f4b22a4acaae89398e22b","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_cea1cc3933f14547a31c0059b77aeecd","object":"Rate","created_at":"2024-08-14T17:38:54Z","updated_at":"2024-08-14T17:38:54Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"6.33","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_dd2bd960ec8f4b22a4acaae89398e22b","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_be1e09ae61454a66a0f21f064887a448","object":"Tracker","mode":"test","tracking_code":"9434600105807075196278","status":"unknown","status_detail":"unknown","created_at":"2024-08-14T17:38:55Z","updated_at":"2024-08-14T17:38:55Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_dd2bd960ec8f4b22a4acaae89398e22b","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2JlMWUwOWFlNjE0NTRhNjZhMGYyMWYwNjQ4ODdhNDQ4"},"to_address":{"id":"adr_1204c1e55a6411efad6bac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:51+00:00","updated_at":"2024-08-14T17:38:54+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_1206d1395a6411ef9ed2ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:51+00:00","updated_at":"2024-08-14T17:38:51+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":[]},"buyer_address":{"id":"adr_1204c1e55a6411efad6bac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:51+00:00","updated_at":"2024-08-14T17:38:54+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.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.33000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_dd2bd960ec8f4b22a4acaae89398e22b","object":"Shipment"}],"rates":[{"id":"rate_9845aef705f34f108e1c60db77076d0c","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Priority","carrier":"USPS","rate":"14.48","currency":"USD","retail_rate":"22.30","retail_currency":"USD","list_rate":"17.22","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_01369cd72df24b3faebd519c0385075f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_19ea0c6cad24403d90066894e8d9c612","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"11.40","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_01369cd72df24b3faebd519c0385075f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_a4d22f21598844f0a8801e0770abe3d5","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Express","carrier":"USPS","rate":"70.30","currency":"USD","retail_rate":"80.70","retail_currency":"USD","list_rate":"70.30","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_01369cd72df24b3faebd519c0385075f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"id":"order_11f68dd96d9f465687e8a5129967ccb3","object":"Order"}' curl_info: - url: 'https://api.easypost.com/v2/orders/order_ced6a98720774f0da8df764fe1ee34f6/buy' + url: 'https://api.easypost.com/v2/orders/order_11f68dd96d9f465687e8a5129967ccb3/buy' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 690 - request_size: 382 + request_size: 393 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 2.035607 - namelookup_time: 0.001519 - connect_time: 0.067354 - pretransfer_time: 0.134254 - size_upload: 36.0 - size_download: 21043.0 - speed_download: 10337.0 - speed_upload: 17.0 - download_content_length: 21043.0 - upload_content_length: 36.0 - starttransfer_time: 1.969027 + total_time: 2.359818 + namelookup_time: 0.002761 + connect_time: 0.036102 + pretransfer_time: 0.072038 + size_upload: 46.0 + size_download: 17908.0 + speed_download: 7588.0 + speed_upload: 19.0 + download_content_length: 17908.0 + upload_content_length: 46.0 + starttransfer_time: 2.327913 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.19 - local_port: 57979 + local_ip: 192.168.1.75 + local_port: 52610 http_version: 2 protocol: 2 ssl_verifyresult: 0 scheme: https - appconnect_time_us: 134223 - connect_time_us: 67354 - namelookup_time_us: 1519 - pretransfer_time_us: 134254 + appconnect_time_us: 71968 + connect_time_us: 36102 + namelookup_time_us: 2761 + pretransfer_time_us: 72038 redirect_time_us: 0 - starttransfer_time_us: 1969027 - total_time_us: 2035607 + starttransfer_time_us: 2327913 + total_time_us: 2359818 effective_method: POST capath: '' cainfo: '' diff --git a/test/cassettes/orders/buyRateObject.yml b/test/cassettes/orders/buyRateObject.yml index b8a2384a..285ccea0 100644 --- a/test/cassettes/orders/buyRateObject.yml +++ b/test/cassettes/orders/buyRateObject.yml @@ -23,58 +23,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 2a24806f666c73e8e78aa08a00051879 + x-ep-request-uuid: e181587d66bcebafe2b8fb0f0086aeb6 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/orders/order_86b181ffeaea47828ef780db84fedf63 + location: /api/v2/orders/order_c77576459b0848129e1673a8e747fe77 content-type: 'application/json; charset=utf-8' - content-length: '17580' - x-runtime: '1.408568' + content-length: '14425' + x-runtime: '1.214957' x-node: bigweb39nuq - x-version-label: easypost-202406132320-de9fa0c698-master + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb3nuq 9d6131b01c', 'extlb2nuq a97f7bac00'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"mode":"test","reference":"","is_return":false,"options":{"currency":"USD","payment":{"type":"SENDER"}},"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"}],"created_at":"2024-06-14T16:46:32Z","updated_at":"2024-06-14T16:46:33Z","customs_info":null,"from_address":{"id":"adr_a7ba13f62a6d11ef9151ac1f6bc539ae","object":"Address","created_at":"2024-06-14T16:46:32+00:00","updated_at":"2024-06-14T16:46: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":[]},"to_address":{"id":"adr_a7b804582a6d11ef9294ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:32+00:00","updated_at":"2024-06-14T16:46:32+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_a7b804582a6d11ef9294ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:32+00:00","updated_at":"2024-06-14T16:46:32+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"return_address":{"id":"adr_a7ba13f62a6d11ef9151ac1f6bc539ae","object":"Address","created_at":"2024-06-14T16:46:32+00:00","updated_at":"2024-06-14T16:46: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":[]},"shipments":[{"created_at":"2024-06-14T16:46:32Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-06-14T16:46:32Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_a7ba13f62a6d11ef9151ac1f6bc539ae","object":"Address","created_at":"2024-06-14T16:46:32+00:00","updated_at":"2024-06-14T16:46: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":[]},"insurance":null,"order_id":"order_86b181ffeaea47828ef780db84fedf63","parcel":{"id":"prcl_45ee2cd766fd4f5fb2ac1dbdf8af96b8","object":"Parcel","created_at":"2024-06-14T16:46:32Z","updated_at":"2024-06-14T16:46:32Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":10.2,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_5de32b92bc3540b19ee94b0e04c9858b","object":"Rate","created_at":"2024-06-14T16:46:33Z","updated_at":"2024-06-14T16:46:33Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.88","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_feac425e15f94141a4fde459e735ce2e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_c56cd758eb92467cbccca37a255b1fff","object":"Rate","created_at":"2024-06-14T16:46:33Z","updated_at":"2024-06-14T16:46:33Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_feac425e15f94141a4fde459e735ce2e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_a4764136a9b74f0b8d2f0a2cca1a2269","object":"Rate","created_at":"2024-06-14T16:46:33Z","updated_at":"2024-06-14T16:46:33Z","mode":"test","service":"First","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_feac425e15f94141a4fde459e735ce2e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_3201e319574b4f2691bdc87c81148aff","object":"Rate","created_at":"2024-06-14T16:46:33Z","updated_at":"2024-06-14T16:46:33Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_feac425e15f94141a4fde459e735ce2e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_662e876f9dfb4be58072ccdfa53f4699","object":"Rate","created_at":"2024-06-14T16:46:33Z","updated_at":"2024-06-14T16:46:33Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_feac425e15f94141a4fde459e735ce2e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_a7b804582a6d11ef9294ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:32+00:00","updated_at":"2024-06-14T16:46:32+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_a7ba13f62a6d11ef9151ac1f6bc539ae","object":"Address","created_at":"2024-06-14T16:46:32+00:00","updated_at":"2024-06-14T16:46: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":[]},"buyer_address":{"id":"adr_a7b804582a6d11ef9294ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:32+00:00","updated_at":"2024-06-14T16:46:32+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_feac425e15f94141a4fde459e735ce2e","object":"Shipment"},{"created_at":"2024-06-14T16:46:32Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-06-14T16:46:32Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_a7ba13f62a6d11ef9151ac1f6bc539ae","object":"Address","created_at":"2024-06-14T16:46:32+00:00","updated_at":"2024-06-14T16:46: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":[]},"insurance":null,"order_id":"order_86b181ffeaea47828ef780db84fedf63","parcel":{"id":"prcl_c685c1b4dec943b4a13de01c223bc2d9","object":"Parcel","created_at":"2024-06-14T16:46:32Z","updated_at":"2024-06-14T16:46:32Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":17.5,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_3b51adb3ea7744058917dacfc62f1683","object":"Rate","created_at":"2024-06-14T16:46:33Z","updated_at":"2024-06-14T16:46:33Z","mode":"test","service":"Express","carrier":"USPS","rate":"37.20","currency":"USD","retail_rate":"42.80","retail_currency":"USD","list_rate":"37.20","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_fd61a58079dc4f6c9d58bf168fe5d20f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_6c83aef13078439b8339372926b4e7da","object":"Rate","created_at":"2024-06-14T16:46:33Z","updated_at":"2024-06-14T16:46:33Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.91","currency":"USD","retail_rate":"12.50","retail_currency":"USD","list_rate":"8.97","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_fd61a58079dc4f6c9d58bf168fe5d20f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_9d6608b734b447e28bb9010b56895f40","object":"Rate","created_at":"2024-06-14T16:46:33Z","updated_at":"2024-06-14T16:46:33Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_fd61a58079dc4f6c9d58bf168fe5d20f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_04074cde83cd48cb8209b0f68969ae86","object":"Rate","created_at":"2024-06-14T16:46:33Z","updated_at":"2024-06-14T16:46:33Z","mode":"test","service":"First","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_fd61a58079dc4f6c9d58bf168fe5d20f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_6fb606905dfd42c183a16248560a7789","object":"Rate","created_at":"2024-06-14T16:46:33Z","updated_at":"2024-06-14T16:46:33Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_fd61a58079dc4f6c9d58bf168fe5d20f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_a7b804582a6d11ef9294ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:32+00:00","updated_at":"2024-06-14T16:46:32+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_a7ba13f62a6d11ef9151ac1f6bc539ae","object":"Address","created_at":"2024-06-14T16:46:32+00:00","updated_at":"2024-06-14T16:46: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":[]},"buyer_address":{"id":"adr_a7b804582a6d11ef9294ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:32+00:00","updated_at":"2024-06-14T16:46:32+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_fd61a58079dc4f6c9d58bf168fe5d20f","object":"Shipment"}],"rates":[{"id":"rate_5de32b92bc3540b19ee94b0e04c9858b","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Priority","carrier":"USPS","rate":"13.79","currency":"USD","retail_rate":"22.30","retail_currency":"USD","list_rate":"17.22","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_feac425e15f94141a4fde459e735ce2e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_c56cd758eb92467cbccca37a255b1fff","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_feac425e15f94141a4fde459e735ce2e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_a4764136a9b74f0b8d2f0a2cca1a2269","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"First","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_feac425e15f94141a4fde459e735ce2e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_3201e319574b4f2691bdc87c81148aff","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_feac425e15f94141a4fde459e735ce2e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_662e876f9dfb4be58072ccdfa53f4699","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Express","carrier":"USPS","rate":"70.30","currency":"USD","retail_rate":"80.70","retail_currency":"USD","list_rate":"70.30","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_feac425e15f94141a4fde459e735ce2e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"id":"order_86b181ffeaea47828ef780db84fedf63","object":"Order"}' + body: '{"mode":"test","reference":"","is_return":false,"options":{"currency":"USD","payment":{"type":"SENDER"}},"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"}],"created_at":"2024-08-14T17:38:55Z","updated_at":"2024-08-14T17:38:56Z","customs_info":null,"from_address":{"id":"adr_14699e455a6411efad163cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:55+00:00","updated_at":"2024-08-14T17:38:55+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":[]},"to_address":{"id":"adr_1467b2ae5a6411efad143cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:55+00:00","updated_at":"2024-08-14T17:38:55+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_1467b2ae5a6411efad143cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:55+00:00","updated_at":"2024-08-14T17:38:55+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"return_address":{"id":"adr_14699e455a6411efad163cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:55+00:00","updated_at":"2024-08-14T17:38:55+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":[]},"shipments":[{"created_at":"2024-08-14T17:38:55Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:38:55Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_14699e455a6411efad163cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:55+00:00","updated_at":"2024-08-14T17:38:55+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":[]},"insurance":null,"order_id":"order_c77576459b0848129e1673a8e747fe77","parcel":{"id":"prcl_18d0a9d98e3c4a8c82455db6aa97c613","object":"Parcel","created_at":"2024-08-14T17:38:55Z","updated_at":"2024-08-14T17:38:55Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":10.2,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_35a891b194f24c0899ce93788930f6ac","object":"Rate","created_at":"2024-08-14T17:38:56Z","updated_at":"2024-08-14T17:38:56Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_79f41b8fdd7d4239afe336224070c67d","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_f4b76734550a4ad6a0d705bfcd96f745","object":"Rate","created_at":"2024-08-14T17:38:56Z","updated_at":"2024-08-14T17:38:56Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_79f41b8fdd7d4239afe336224070c67d","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_b9dd54d349104956b713fc91ac2abe05","object":"Rate","created_at":"2024-08-14T17:38:56Z","updated_at":"2024-08-14T17:38:56Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_79f41b8fdd7d4239afe336224070c67d","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_1467b2ae5a6411efad143cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:55+00:00","updated_at":"2024-08-14T17:38:55+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_14699e455a6411efad163cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:55+00:00","updated_at":"2024-08-14T17:38:55+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":[]},"buyer_address":{"id":"adr_1467b2ae5a6411efad143cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:55+00:00","updated_at":"2024-08-14T17:38:55+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_79f41b8fdd7d4239afe336224070c67d","object":"Shipment"},{"created_at":"2024-08-14T17:38:55Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:38:55Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_14699e455a6411efad163cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:55+00:00","updated_at":"2024-08-14T17:38:55+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":[]},"insurance":null,"order_id":"order_c77576459b0848129e1673a8e747fe77","parcel":{"id":"prcl_dd2261a6077c4ec091121b89d5f35fe0","object":"Parcel","created_at":"2024-08-14T17:38:55Z","updated_at":"2024-08-14T17:38:55Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":17.5,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_b287a7d844114a81a0c2cf0b91f22d1d","object":"Rate","created_at":"2024-08-14T17:38:56Z","updated_at":"2024-08-14T17:38:56Z","mode":"test","service":"Priority","carrier":"USPS","rate":"7.58","currency":"USD","retail_rate":"12.50","retail_currency":"USD","list_rate":"8.97","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_e1d974158d9b4e079651b1504a6e9a8a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_98d502f2d90848ea88f266701a2f9a33","object":"Rate","created_at":"2024-08-14T17:38:56Z","updated_at":"2024-08-14T17:38:56Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"6.33","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_e1d974158d9b4e079651b1504a6e9a8a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_237405813c26497d9545140cdac83071","object":"Rate","created_at":"2024-08-14T17:38:56Z","updated_at":"2024-08-14T17:38:56Z","mode":"test","service":"Express","carrier":"USPS","rate":"37.20","currency":"USD","retail_rate":"42.80","retail_currency":"USD","list_rate":"37.20","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_e1d974158d9b4e079651b1504a6e9a8a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_1467b2ae5a6411efad143cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:55+00:00","updated_at":"2024-08-14T17:38:55+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_14699e455a6411efad163cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:55+00:00","updated_at":"2024-08-14T17:38:55+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":[]},"buyer_address":{"id":"adr_1467b2ae5a6411efad143cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:55+00:00","updated_at":"2024-08-14T17:38:55+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_e1d974158d9b4e079651b1504a6e9a8a","object":"Shipment"}],"rates":[{"id":"rate_35a891b194f24c0899ce93788930f6ac","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Express","carrier":"USPS","rate":"70.30","currency":"USD","retail_rate":"80.70","retail_currency":"USD","list_rate":"70.30","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_79f41b8fdd7d4239afe336224070c67d","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_f4b76734550a4ad6a0d705bfcd96f745","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Priority","carrier":"USPS","rate":"14.48","currency":"USD","retail_rate":"22.30","retail_currency":"USD","list_rate":"17.22","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_79f41b8fdd7d4239afe336224070c67d","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_b9dd54d349104956b713fc91ac2abe05","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"11.40","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_79f41b8fdd7d4239afe336224070c67d","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"id":"order_c77576459b0848129e1673a8e747fe77","object":"Order"}' curl_info: url: 'https://api.easypost.com/v2/orders' content_type: 'application/json; charset=utf-8' http_code: 201 header_size: 760 - request_size: 766 + request_size: 767 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.678931 - namelookup_time: 0.001439 - connect_time: 0.067621 - pretransfer_time: 0.135609 + total_time: 1.341552 + namelookup_time: 0.001992 + connect_time: 0.031556 + pretransfer_time: 0.062866 size_upload: 462.0 - size_download: 17580.0 - speed_download: 10470.0 - speed_upload: 275.0 - download_content_length: 17580.0 + size_download: 14425.0 + speed_download: 10752.0 + speed_upload: 344.0 + download_content_length: 14425.0 upload_content_length: 462.0 - starttransfer_time: 1.612395 + starttransfer_time: 1.312507 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.19 - local_port: 57980 + local_ip: 192.168.1.75 + local_port: 52611 http_version: 2 protocol: 2 ssl_verifyresult: 0 scheme: https - appconnect_time_us: 135547 - connect_time_us: 67621 - namelookup_time_us: 1439 - pretransfer_time_us: 135609 + appconnect_time_us: 62828 + connect_time_us: 31556 + namelookup_time_us: 1992 + pretransfer_time_us: 62866 redirect_time_us: 0 - starttransfer_time_us: 1612395 - total_time_us: 1678931 + starttransfer_time_us: 1312507 + total_time_us: 1341552 effective_method: POST capath: '' cainfo: '' @@ -82,7 +82,7 @@ - request: method: POST - url: 'https://api.easypost.com/v2/orders/order_86b181ffeaea47828ef780db84fedf63/buy' + url: 'https://api.easypost.com/v2/orders/order_c77576459b0848129e1673a8e747fe77/buy' headers: Host: api.easypost.com Expect: '' @@ -91,7 +91,7 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"carrier":"USPS","service":"Priority"}' + body: '{"carrier":"USPS","service":"Express"}' response: status: code: 200 @@ -103,21 +103,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 2a24806b666c73eae78aa08b00051a31 + x-ep-request-uuid: e181587766bcebb1e2b8fb100086b034 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '21049' - x-runtime: '1.785584' - x-node: bigweb36nuq - x-version-label: easypost-202406132320-de9fa0c698-master + content-length: '17899' + x-runtime: '1.790683' + x-node: bigweb38nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb4nuq 9d6131b01c', 'extlb2nuq a97f7bac00'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"mode":"test","reference":"","is_return":false,"options":{"currency":"USD","payment":{"type":"SENDER"}},"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"}],"created_at":"2024-06-14T16:46:32Z","updated_at":"2024-06-14T16:46:33Z","customs_info":null,"from_address":{"id":"adr_a7ba13f62a6d11ef9151ac1f6bc539ae","object":"Address","created_at":"2024-06-14T16:46:32+00:00","updated_at":"2024-06-14T16:46: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":[]},"to_address":{"id":"adr_a7b804582a6d11ef9294ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:32+00:00","updated_at":"2024-06-14T16:46:35+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_a7b804582a6d11ef9294ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:32+00:00","updated_at":"2024-06-14T16:46:35+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_a7ba13f62a6d11ef9151ac1f6bc539ae","object":"Address","created_at":"2024-06-14T16:46:32+00:00","updated_at":"2024-06-14T16:46: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":[]},"shipments":[{"created_at":"2024-06-14T16:46:32Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9405500110368051963435","updated_at":"2024-06-14T16:46:35Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_a7ba13f62a6d11ef9151ac1f6bc539ae","object":"Address","created_at":"2024-06-14T16:46:32+00:00","updated_at":"2024-06-14T16:46: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":[]},"insurance":"50.00","order_id":"order_86b181ffeaea47828ef780db84fedf63","parcel":{"id":"prcl_45ee2cd766fd4f5fb2ac1dbdf8af96b8","object":"Parcel","created_at":"2024-06-14T16:46:32Z","updated_at":"2024-06-14T16:46:32Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":10.2,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_e574f5c534a846d0a0ce9b6669c1f798","created_at":"2024-06-14T16:46:34Z","updated_at":"2024-06-14T16:46:34Z","date_advance":0,"integrated_form":"none","label_date":"2024-06-14T16:46: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\/20240614\/e8284b1eb240274e4e8c0f778d8ec2e5a1.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_5de32b92bc3540b19ee94b0e04c9858b","object":"Rate","created_at":"2024-06-14T16:46:33Z","updated_at":"2024-06-14T16:46:33Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.88","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_feac425e15f94141a4fde459e735ce2e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_c56cd758eb92467cbccca37a255b1fff","object":"Rate","created_at":"2024-06-14T16:46:33Z","updated_at":"2024-06-14T16:46:33Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_feac425e15f94141a4fde459e735ce2e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_a4764136a9b74f0b8d2f0a2cca1a2269","object":"Rate","created_at":"2024-06-14T16:46:33Z","updated_at":"2024-06-14T16:46:33Z","mode":"test","service":"First","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_feac425e15f94141a4fde459e735ce2e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_3201e319574b4f2691bdc87c81148aff","object":"Rate","created_at":"2024-06-14T16:46:33Z","updated_at":"2024-06-14T16:46:33Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_feac425e15f94141a4fde459e735ce2e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_662e876f9dfb4be58072ccdfa53f4699","object":"Rate","created_at":"2024-06-14T16:46:33Z","updated_at":"2024-06-14T16:46:33Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_feac425e15f94141a4fde459e735ce2e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_5de32b92bc3540b19ee94b0e04c9858b","object":"Rate","created_at":"2024-06-14T16:46:34Z","updated_at":"2024-06-14T16:46:34Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.88","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_feac425e15f94141a4fde459e735ce2e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_c0695f26a917444db34d7d7b3a07a1ff","object":"Tracker","mode":"test","tracking_code":"9405500110368051963435","status":"unknown","status_detail":"unknown","created_at":"2024-06-14T16:46:35Z","updated_at":"2024-06-14T16:46:35Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_feac425e15f94141a4fde459e735ce2e","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2MwNjk1ZjI2YTkxNzQ0NGRiMzRkN2Q3YjNhMDdhMWZm"},"to_address":{"id":"adr_a7b804582a6d11ef9294ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:32+00:00","updated_at":"2024-06-14T16:46:35+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_a7ba13f62a6d11ef9151ac1f6bc539ae","object":"Address","created_at":"2024-06-14T16:46:32+00:00","updated_at":"2024-06-14T16:46: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":[]},"buyer_address":{"id":"adr_a7b804582a6d11ef9294ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:32+00:00","updated_at":"2024-06-14T16:46:35+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.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.88000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_feac425e15f94141a4fde459e735ce2e","object":"Shipment"},{"created_at":"2024-06-14T16:46:32Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9405500110368051963527","updated_at":"2024-06-14T16:46:35Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_a7ba13f62a6d11ef9151ac1f6bc539ae","object":"Address","created_at":"2024-06-14T16:46:32+00:00","updated_at":"2024-06-14T16:46: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":[]},"insurance":"50.00","order_id":"order_86b181ffeaea47828ef780db84fedf63","parcel":{"id":"prcl_c685c1b4dec943b4a13de01c223bc2d9","object":"Parcel","created_at":"2024-06-14T16:46:32Z","updated_at":"2024-06-14T16:46:32Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":17.5,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_83e7efa06c164c9e9f18e1c75c6855a7","created_at":"2024-06-14T16:46:35Z","updated_at":"2024-06-14T16:46:35Z","date_advance":0,"integrated_form":"none","label_date":"2024-06-14T16:46:35Z","label_resolution":300,"label_size":"4x6","label_type":"default","label_file_type":"image\/png","label_url":"https:\/\/easypost-files.s3.us-west-2.amazonaws.com\/files\/postage_label\/20240614\/e89f189e7c84ae489eaa0ad33c39155bda.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_3b51adb3ea7744058917dacfc62f1683","object":"Rate","created_at":"2024-06-14T16:46:33Z","updated_at":"2024-06-14T16:46:33Z","mode":"test","service":"Express","carrier":"USPS","rate":"37.20","currency":"USD","retail_rate":"42.80","retail_currency":"USD","list_rate":"37.20","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_fd61a58079dc4f6c9d58bf168fe5d20f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_6c83aef13078439b8339372926b4e7da","object":"Rate","created_at":"2024-06-14T16:46:33Z","updated_at":"2024-06-14T16:46:33Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.91","currency":"USD","retail_rate":"12.50","retail_currency":"USD","list_rate":"8.97","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_fd61a58079dc4f6c9d58bf168fe5d20f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_9d6608b734b447e28bb9010b56895f40","object":"Rate","created_at":"2024-06-14T16:46:33Z","updated_at":"2024-06-14T16:46:33Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_fd61a58079dc4f6c9d58bf168fe5d20f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_04074cde83cd48cb8209b0f68969ae86","object":"Rate","created_at":"2024-06-14T16:46:33Z","updated_at":"2024-06-14T16:46:33Z","mode":"test","service":"First","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_fd61a58079dc4f6c9d58bf168fe5d20f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_6fb606905dfd42c183a16248560a7789","object":"Rate","created_at":"2024-06-14T16:46:33Z","updated_at":"2024-06-14T16:46:33Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_fd61a58079dc4f6c9d58bf168fe5d20f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_6c83aef13078439b8339372926b4e7da","object":"Rate","created_at":"2024-06-14T16:46:35Z","updated_at":"2024-06-14T16:46:35Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.91","currency":"USD","retail_rate":"12.50","retail_currency":"USD","list_rate":"8.97","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_fd61a58079dc4f6c9d58bf168fe5d20f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_5d728532c5e64d64aef4eea32df2f495","object":"Tracker","mode":"test","tracking_code":"9405500110368051963527","status":"unknown","status_detail":"unknown","created_at":"2024-06-14T16:46:35Z","updated_at":"2024-06-14T16:46:35Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_fd61a58079dc4f6c9d58bf168fe5d20f","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzVkNzI4NTMyYzVlNjRkNjRhZWY0ZWVhMzJkZjJmNDk1"},"to_address":{"id":"adr_a7b804582a6d11ef9294ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:32+00:00","updated_at":"2024-06-14T16:46:35+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_a7ba13f62a6d11ef9151ac1f6bc539ae","object":"Address","created_at":"2024-06-14T16:46:32+00:00","updated_at":"2024-06-14T16:46: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":[]},"buyer_address":{"id":"adr_a7b804582a6d11ef9294ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:32+00:00","updated_at":"2024-06-14T16:46:35+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.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.91000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_fd61a58079dc4f6c9d58bf168fe5d20f","object":"Shipment"}],"rates":[{"id":"rate_5de32b92bc3540b19ee94b0e04c9858b","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Priority","carrier":"USPS","rate":"13.79","currency":"USD","retail_rate":"22.30","retail_currency":"USD","list_rate":"17.22","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_feac425e15f94141a4fde459e735ce2e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_c56cd758eb92467cbccca37a255b1fff","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_feac425e15f94141a4fde459e735ce2e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_a4764136a9b74f0b8d2f0a2cca1a2269","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"First","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_feac425e15f94141a4fde459e735ce2e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_3201e319574b4f2691bdc87c81148aff","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_feac425e15f94141a4fde459e735ce2e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_662e876f9dfb4be58072ccdfa53f4699","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Express","carrier":"USPS","rate":"70.30","currency":"USD","retail_rate":"80.70","retail_currency":"USD","list_rate":"70.30","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_feac425e15f94141a4fde459e735ce2e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"id":"order_86b181ffeaea47828ef780db84fedf63","object":"Order"}' + body: '{"mode":"test","reference":"","is_return":false,"options":{"currency":"USD","payment":{"type":"SENDER"}},"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"}],"created_at":"2024-08-14T17:38:55Z","updated_at":"2024-08-14T17:38:56Z","customs_info":null,"from_address":{"id":"adr_14699e455a6411efad163cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:55+00:00","updated_at":"2024-08-14T17:38:55+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":[]},"to_address":{"id":"adr_1467b2ae5a6411efad143cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:55+00:00","updated_at":"2024-08-14T17:38:58+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_1467b2ae5a6411efad143cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:55+00:00","updated_at":"2024-08-14T17:38:58+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":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_14699e455a6411efad163cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:55+00:00","updated_at":"2024-08-14T17:38:55+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":[]},"shipments":[{"created_at":"2024-08-14T17:38:55Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9470100105807075196305","updated_at":"2024-08-14T17:38:57Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_14699e455a6411efad163cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:55+00:00","updated_at":"2024-08-14T17:38:55+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":[]},"insurance":"50.00","order_id":"order_c77576459b0848129e1673a8e747fe77","parcel":{"id":"prcl_18d0a9d98e3c4a8c82455db6aa97c613","object":"Parcel","created_at":"2024-08-14T17:38:55Z","updated_at":"2024-08-14T17:38:55Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":10.2,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_afb72e8aa3884f2dbedaa78feca450d6","created_at":"2024-08-14T17:38:57Z","updated_at":"2024-08-14T17:38:57Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:38: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\/20240814\/e8d8d3994cea544008bbf58fe655f49b89.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_35a891b194f24c0899ce93788930f6ac","object":"Rate","created_at":"2024-08-14T17:38:56Z","updated_at":"2024-08-14T17:38:56Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_79f41b8fdd7d4239afe336224070c67d","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_f4b76734550a4ad6a0d705bfcd96f745","object":"Rate","created_at":"2024-08-14T17:38:56Z","updated_at":"2024-08-14T17:38:56Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_79f41b8fdd7d4239afe336224070c67d","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_b9dd54d349104956b713fc91ac2abe05","object":"Rate","created_at":"2024-08-14T17:38:56Z","updated_at":"2024-08-14T17:38:56Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_79f41b8fdd7d4239afe336224070c67d","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_35a891b194f24c0899ce93788930f6ac","object":"Rate","created_at":"2024-08-14T17:38:57Z","updated_at":"2024-08-14T17:38:57Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_79f41b8fdd7d4239afe336224070c67d","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_4a20e2618fc04b6a9e09dc8886590117","object":"Tracker","mode":"test","tracking_code":"9470100105807075196305","status":"unknown","status_detail":"unknown","created_at":"2024-08-14T17:38:58Z","updated_at":"2024-08-14T17:38:58Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_79f41b8fdd7d4239afe336224070c67d","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzRhMjBlMjYxOGZjMDRiNmE5ZTA5ZGM4ODg2NTkwMTE3"},"to_address":{"id":"adr_1467b2ae5a6411efad143cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:55+00:00","updated_at":"2024-08-14T17:38:58+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_14699e455a6411efad163cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:55+00:00","updated_at":"2024-08-14T17:38:55+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":[]},"buyer_address":{"id":"adr_1467b2ae5a6411efad143cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:55+00:00","updated_at":"2024-08-14T17:38:58+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"33.10000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_79f41b8fdd7d4239afe336224070c67d","object":"Shipment"},{"created_at":"2024-08-14T17:38:55Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9470100105807075196336","updated_at":"2024-08-14T17:38:58Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_14699e455a6411efad163cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:55+00:00","updated_at":"2024-08-14T17:38:55+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":[]},"insurance":"50.00","order_id":"order_c77576459b0848129e1673a8e747fe77","parcel":{"id":"prcl_dd2261a6077c4ec091121b89d5f35fe0","object":"Parcel","created_at":"2024-08-14T17:38:55Z","updated_at":"2024-08-14T17:38:55Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":17.5,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_25fc6811547746eda1f97c88087cb509","created_at":"2024-08-14T17:38:58Z","updated_at":"2024-08-14T17:38:58Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:38: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\/20240814\/e8009882fff9264450bdcc0ee011cc29f6.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_b287a7d844114a81a0c2cf0b91f22d1d","object":"Rate","created_at":"2024-08-14T17:38:56Z","updated_at":"2024-08-14T17:38:56Z","mode":"test","service":"Priority","carrier":"USPS","rate":"7.58","currency":"USD","retail_rate":"12.50","retail_currency":"USD","list_rate":"8.97","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_e1d974158d9b4e079651b1504a6e9a8a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_98d502f2d90848ea88f266701a2f9a33","object":"Rate","created_at":"2024-08-14T17:38:56Z","updated_at":"2024-08-14T17:38:56Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"6.33","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_e1d974158d9b4e079651b1504a6e9a8a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_237405813c26497d9545140cdac83071","object":"Rate","created_at":"2024-08-14T17:38:56Z","updated_at":"2024-08-14T17:38:56Z","mode":"test","service":"Express","carrier":"USPS","rate":"37.20","currency":"USD","retail_rate":"42.80","retail_currency":"USD","list_rate":"37.20","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_e1d974158d9b4e079651b1504a6e9a8a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_237405813c26497d9545140cdac83071","object":"Rate","created_at":"2024-08-14T17:38:58Z","updated_at":"2024-08-14T17:38:58Z","mode":"test","service":"Express","carrier":"USPS","rate":"37.20","currency":"USD","retail_rate":"42.80","retail_currency":"USD","list_rate":"37.20","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_e1d974158d9b4e079651b1504a6e9a8a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_f0efdf057d404e68b0744d1d3c3d2d9e","object":"Tracker","mode":"test","tracking_code":"9470100105807075196336","status":"unknown","status_detail":"unknown","created_at":"2024-08-14T17:38:58Z","updated_at":"2024-08-14T17:38:58Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_e1d974158d9b4e079651b1504a6e9a8a","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2YwZWZkZjA1N2Q0MDRlNjhiMDc0NGQxZDNjM2QyZDll"},"to_address":{"id":"adr_1467b2ae5a6411efad143cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:55+00:00","updated_at":"2024-08-14T17:38:58+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_14699e455a6411efad163cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:55+00:00","updated_at":"2024-08-14T17:38:55+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":[]},"buyer_address":{"id":"adr_1467b2ae5a6411efad143cecef1b359e","object":"Address","created_at":"2024-08-14T17:38:55+00:00","updated_at":"2024-08-14T17:38:58+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"37.20000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_e1d974158d9b4e079651b1504a6e9a8a","object":"Shipment"}],"rates":[{"id":"rate_35a891b194f24c0899ce93788930f6ac","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Express","carrier":"USPS","rate":"70.30","currency":"USD","retail_rate":"80.70","retail_currency":"USD","list_rate":"70.30","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_79f41b8fdd7d4239afe336224070c67d","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_f4b76734550a4ad6a0d705bfcd96f745","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Priority","carrier":"USPS","rate":"14.48","currency":"USD","retail_rate":"22.30","retail_currency":"USD","list_rate":"17.22","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_79f41b8fdd7d4239afe336224070c67d","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_b9dd54d349104956b713fc91ac2abe05","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"11.40","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_79f41b8fdd7d4239afe336224070c67d","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"id":"order_c77576459b0848129e1673a8e747fe77","object":"Order"}' curl_info: - url: 'https://api.easypost.com/v2/orders/order_86b181ffeaea47828ef780db84fedf63/buy' + url: 'https://api.easypost.com/v2/orders/order_c77576459b0848129e1673a8e747fe77/buy' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 690 @@ -125,35 +125,35 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 2.061017 - namelookup_time: 0.001331 - connect_time: 0.068305 - pretransfer_time: 0.140177 - size_upload: 39.0 - size_download: 21049.0 - speed_download: 10212.0 - speed_upload: 18.0 - download_content_length: 21049.0 - upload_content_length: 39.0 - starttransfer_time: 2.060637 + total_time: 1.931952 + namelookup_time: 0.003474 + connect_time: 0.036698 + pretransfer_time: 0.071602 + size_upload: 38.0 + size_download: 17899.0 + speed_download: 9264.0 + speed_upload: 19.0 + download_content_length: 17899.0 + upload_content_length: 38.0 + starttransfer_time: 1.900122 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.19 - local_port: 57981 + local_ip: 192.168.1.75 + local_port: 52612 http_version: 2 protocol: 2 ssl_verifyresult: 0 scheme: https - appconnect_time_us: 139984 - connect_time_us: 68305 - namelookup_time_us: 1331 - pretransfer_time_us: 140177 + appconnect_time_us: 71557 + connect_time_us: 36698 + namelookup_time_us: 3474 + pretransfer_time_us: 71602 redirect_time_us: 0 - starttransfer_time_us: 2060637 - total_time_us: 2061017 + starttransfer_time_us: 1900122 + total_time_us: 1931952 effective_method: POST capath: '' cainfo: '' diff --git a/test/cassettes/orders/create.yml b/test/cassettes/orders/create.yml index 9c98343c..5b308898 100644 --- a/test/cassettes/orders/create.yml +++ b/test/cassettes/orders/create.yml @@ -23,58 +23,59 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 2a24806e666c73eee78aa08d00051e11 + x-ep-request-uuid: e181587666bcebb3e2b8fb110086b27d cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/orders/order_07bc56256562425c97ee05396c17911d + location: /api/v2/orders/order_dd2b5c760b6d4fc6866f45602c049e55 content-type: 'application/json; charset=utf-8' - content-length: '17580' - x-runtime: '1.918912' - x-node: bigweb53nuq - x-version-label: easypost-202406132320-de9fa0c698-master + content-length: '14425' + x-runtime: '1.211781' + x-node: bigweb32nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb3nuq 9d6131b01c', 'extlb2nuq a97f7bac00'] + x-canary: direct + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"mode":"test","reference":"","is_return":false,"options":{"currency":"USD","payment":{"type":"SENDER"}},"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"}],"created_at":"2024-06-14T16:46:38Z","updated_at":"2024-06-14T16:46:39Z","customs_info":null,"from_address":{"id":"adr_ab1a88f02a6d11ef85033cecef1b359e","object":"Address","created_at":"2024-06-14T16:46:38+00:00","updated_at":"2024-06-14T16:46:38+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":[]},"to_address":{"id":"adr_ab1537902a6d11ef9441ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:38+00:00","updated_at":"2024-06-14T16:46:38+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_ab1537902a6d11ef9441ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:38+00:00","updated_at":"2024-06-14T16:46:38+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"return_address":{"id":"adr_ab1a88f02a6d11ef85033cecef1b359e","object":"Address","created_at":"2024-06-14T16:46:38+00:00","updated_at":"2024-06-14T16:46:38+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":[]},"shipments":[{"created_at":"2024-06-14T16:46:38Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-06-14T16:46:38Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_ab1a88f02a6d11ef85033cecef1b359e","object":"Address","created_at":"2024-06-14T16:46:38+00:00","updated_at":"2024-06-14T16:46:38+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":[]},"insurance":null,"order_id":"order_07bc56256562425c97ee05396c17911d","parcel":{"id":"prcl_ed662785d4cc4d25af48f64b056709d4","object":"Parcel","created_at":"2024-06-14T16:46:38Z","updated_at":"2024-06-14T16:46:38Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":10.2,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_da4e96e50195489fab304fd54a70facd","object":"Rate","created_at":"2024-06-14T16:46:38Z","updated_at":"2024-06-14T16:46:38Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_4965f502b8d04698970c9a5c42711b43","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_32297cc7786e44f09ef1be022e9958a0","object":"Rate","created_at":"2024-06-14T16:46:38Z","updated_at":"2024-06-14T16:46:38Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.88","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_4965f502b8d04698970c9a5c42711b43","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_2bdc63c3ab2b4557b19f4112911cfe76","object":"Rate","created_at":"2024-06-14T16:46:38Z","updated_at":"2024-06-14T16:46:38Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_4965f502b8d04698970c9a5c42711b43","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_ff5cb0e550bc4b06a1bc02985c42ca02","object":"Rate","created_at":"2024-06-14T16:46:38Z","updated_at":"2024-06-14T16:46:38Z","mode":"test","service":"First","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_4965f502b8d04698970c9a5c42711b43","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_19f6bdd56bbf4d449c213eae370c879d","object":"Rate","created_at":"2024-06-14T16:46:38Z","updated_at":"2024-06-14T16:46:38Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_4965f502b8d04698970c9a5c42711b43","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_ab1537902a6d11ef9441ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:38+00:00","updated_at":"2024-06-14T16:46:38+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_ab1a88f02a6d11ef85033cecef1b359e","object":"Address","created_at":"2024-06-14T16:46:38+00:00","updated_at":"2024-06-14T16:46:38+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":[]},"buyer_address":{"id":"adr_ab1537902a6d11ef9441ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:38+00:00","updated_at":"2024-06-14T16:46:38+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_4965f502b8d04698970c9a5c42711b43","object":"Shipment"},{"created_at":"2024-06-14T16:46:38Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-06-14T16:46:38Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_ab1a88f02a6d11ef85033cecef1b359e","object":"Address","created_at":"2024-06-14T16:46:38+00:00","updated_at":"2024-06-14T16:46:38+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":[]},"insurance":null,"order_id":"order_07bc56256562425c97ee05396c17911d","parcel":{"id":"prcl_856515180e4e4c27bbb56133c9bf2e7b","object":"Parcel","created_at":"2024-06-14T16:46:38Z","updated_at":"2024-06-14T16:46:38Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":17.5,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_fc1827f0ce84423e9c4fe433fadcd69e","object":"Rate","created_at":"2024-06-14T16:46:39Z","updated_at":"2024-06-14T16:46:39Z","mode":"test","service":"Express","carrier":"USPS","rate":"37.20","currency":"USD","retail_rate":"42.80","retail_currency":"USD","list_rate":"37.20","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_17cc9983cde045c8a6433032894b3e52","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_f936a8ade5b649aeb363bc0c1ec7527d","object":"Rate","created_at":"2024-06-14T16:46:39Z","updated_at":"2024-06-14T16:46:39Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.91","currency":"USD","retail_rate":"12.50","retail_currency":"USD","list_rate":"8.97","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_17cc9983cde045c8a6433032894b3e52","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_952c43c03ce449babe2d5cc60a2b400b","object":"Rate","created_at":"2024-06-14T16:46:39Z","updated_at":"2024-06-14T16:46:39Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_17cc9983cde045c8a6433032894b3e52","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_bf1c33f0a4aa4f8494dfc76e257e8a91","object":"Rate","created_at":"2024-06-14T16:46:39Z","updated_at":"2024-06-14T16:46:39Z","mode":"test","service":"First","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_17cc9983cde045c8a6433032894b3e52","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_269ec31c961c4b9a969fe0b3fd05841b","object":"Rate","created_at":"2024-06-14T16:46:39Z","updated_at":"2024-06-14T16:46:39Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_17cc9983cde045c8a6433032894b3e52","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_ab1537902a6d11ef9441ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:38+00:00","updated_at":"2024-06-14T16:46:38+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_ab1a88f02a6d11ef85033cecef1b359e","object":"Address","created_at":"2024-06-14T16:46:38+00:00","updated_at":"2024-06-14T16:46:38+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":[]},"buyer_address":{"id":"adr_ab1537902a6d11ef9441ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:38+00:00","updated_at":"2024-06-14T16:46:38+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_17cc9983cde045c8a6433032894b3e52","object":"Shipment"}],"rates":[{"id":"rate_da4e96e50195489fab304fd54a70facd","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Express","carrier":"USPS","rate":"70.30","currency":"USD","retail_rate":"80.70","retail_currency":"USD","list_rate":"70.30","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_4965f502b8d04698970c9a5c42711b43","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_32297cc7786e44f09ef1be022e9958a0","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Priority","carrier":"USPS","rate":"13.79","currency":"USD","retail_rate":"22.30","retail_currency":"USD","list_rate":"17.22","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_4965f502b8d04698970c9a5c42711b43","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_2bdc63c3ab2b4557b19f4112911cfe76","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_4965f502b8d04698970c9a5c42711b43","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_ff5cb0e550bc4b06a1bc02985c42ca02","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"First","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_4965f502b8d04698970c9a5c42711b43","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_19f6bdd56bbf4d449c213eae370c879d","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_4965f502b8d04698970c9a5c42711b43","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"id":"order_07bc56256562425c97ee05396c17911d","object":"Order"}' + body: '{"mode":"test","reference":"","is_return":false,"options":{"currency":"USD","payment":{"type":"SENDER"}},"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"}],"created_at":"2024-08-14T17:38:59Z","updated_at":"2024-08-14T17:39:00Z","customs_info":null,"from_address":{"id":"adr_169004ea5a6411efa18aac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:59+00:00","updated_at":"2024-08-14T17:38:59+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":[]},"to_address":{"id":"adr_168d28315a6411efb050ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:59+00:00","updated_at":"2024-08-14T17:38:59+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_168d28315a6411efb050ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:59+00:00","updated_at":"2024-08-14T17:38:59+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"return_address":{"id":"adr_169004ea5a6411efa18aac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:59+00:00","updated_at":"2024-08-14T17:38:59+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":[]},"shipments":[{"created_at":"2024-08-14T17:38:59Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:38:59Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_169004ea5a6411efa18aac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:59+00:00","updated_at":"2024-08-14T17:38:59+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":[]},"insurance":null,"order_id":"order_dd2b5c760b6d4fc6866f45602c049e55","parcel":{"id":"prcl_b04311ecfc4e4784b60ff46f76a674dc","object":"Parcel","created_at":"2024-08-14T17:38:59Z","updated_at":"2024-08-14T17:38:59Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":10.2,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_d5cb130f220146ac9c3b513fe72452d0","object":"Rate","created_at":"2024-08-14T17:38:59Z","updated_at":"2024-08-14T17:38:59Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_01a7a197bede4f75915be09431ed4459","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_932b1906c8404b739fa45959273435e6","object":"Rate","created_at":"2024-08-14T17:38:59Z","updated_at":"2024-08-14T17:38:59Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_01a7a197bede4f75915be09431ed4459","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_9f97f17638574a8692904339d2653615","object":"Rate","created_at":"2024-08-14T17:39:00Z","updated_at":"2024-08-14T17:39:00Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_01a7a197bede4f75915be09431ed4459","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_168d28315a6411efb050ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:59+00:00","updated_at":"2024-08-14T17:38:59+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_169004ea5a6411efa18aac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:59+00:00","updated_at":"2024-08-14T17:38:59+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":[]},"buyer_address":{"id":"adr_168d28315a6411efb050ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:59+00:00","updated_at":"2024-08-14T17:38:59+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_01a7a197bede4f75915be09431ed4459","object":"Shipment"},{"created_at":"2024-08-14T17:38:59Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:38:59Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_169004ea5a6411efa18aac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:59+00:00","updated_at":"2024-08-14T17:38:59+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":[]},"insurance":null,"order_id":"order_dd2b5c760b6d4fc6866f45602c049e55","parcel":{"id":"prcl_5c66704b4bdb4e38b98b88dee2f60075","object":"Parcel","created_at":"2024-08-14T17:38:59Z","updated_at":"2024-08-14T17:38:59Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":17.5,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_3f6e1ac3018d44d89eff6f2654914df1","object":"Rate","created_at":"2024-08-14T17:39:00Z","updated_at":"2024-08-14T17:39:00Z","mode":"test","service":"Express","carrier":"USPS","rate":"37.20","currency":"USD","retail_rate":"42.80","retail_currency":"USD","list_rate":"37.20","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_316ed23a33954e0f9e7374bdfb64a42a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_a73c61eaff3c4ce099c8fa4ff175b6ca","object":"Rate","created_at":"2024-08-14T17:39:00Z","updated_at":"2024-08-14T17:39:00Z","mode":"test","service":"Priority","carrier":"USPS","rate":"7.58","currency":"USD","retail_rate":"12.50","retail_currency":"USD","list_rate":"8.97","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_316ed23a33954e0f9e7374bdfb64a42a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_393725a816c447f1b66dc3c9a317827f","object":"Rate","created_at":"2024-08-14T17:39:00Z","updated_at":"2024-08-14T17:39:00Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"6.33","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_316ed23a33954e0f9e7374bdfb64a42a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_168d28315a6411efb050ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:59+00:00","updated_at":"2024-08-14T17:38:59+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_169004ea5a6411efa18aac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:59+00:00","updated_at":"2024-08-14T17:38:59+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":[]},"buyer_address":{"id":"adr_168d28315a6411efb050ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:59+00:00","updated_at":"2024-08-14T17:38:59+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_316ed23a33954e0f9e7374bdfb64a42a","object":"Shipment"}],"rates":[{"id":"rate_d5cb130f220146ac9c3b513fe72452d0","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Priority","carrier":"USPS","rate":"14.48","currency":"USD","retail_rate":"22.30","retail_currency":"USD","list_rate":"17.22","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_01a7a197bede4f75915be09431ed4459","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_932b1906c8404b739fa45959273435e6","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"11.40","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_01a7a197bede4f75915be09431ed4459","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_9f97f17638574a8692904339d2653615","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Express","carrier":"USPS","rate":"70.30","currency":"USD","retail_rate":"80.70","retail_currency":"USD","list_rate":"70.30","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_01a7a197bede4f75915be09431ed4459","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"id":"order_dd2b5c760b6d4fc6866f45602c049e55","object":"Order"}' curl_info: url: 'https://api.easypost.com/v2/orders' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 760 - request_size: 766 + header_size: 778 + request_size: 767 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 2.183143 - namelookup_time: 0.001291 - connect_time: 0.065758 - pretransfer_time: 0.13124 + total_time: 1.345818 + namelookup_time: 0.004698 + connect_time: 0.034096 + pretransfer_time: 0.065688 size_upload: 462.0 - size_download: 17580.0 - speed_download: 8052.0 - speed_upload: 211.0 - download_content_length: 17580.0 + size_download: 14425.0 + speed_download: 10718.0 + speed_upload: 343.0 + download_content_length: 14425.0 upload_content_length: 462.0 - starttransfer_time: 2.118267 + starttransfer_time: 1.316467 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.19 - local_port: 57983 + local_ip: 192.168.1.75 + local_port: 52613 http_version: 2 protocol: 2 ssl_verifyresult: 0 scheme: https - appconnect_time_us: 131210 - connect_time_us: 65758 - namelookup_time_us: 1291 - pretransfer_time_us: 131240 + appconnect_time_us: 65650 + connect_time_us: 34096 + namelookup_time_us: 4698 + pretransfer_time_us: 65688 redirect_time_us: 0 - starttransfer_time_us: 2118267 - total_time_us: 2183143 + starttransfer_time_us: 1316467 + total_time_us: 1345818 effective_method: POST capath: '' cainfo: '' diff --git a/test/cassettes/orders/getRates.yml b/test/cassettes/orders/getRates.yml index 62f2bc85..182fe011 100644 --- a/test/cassettes/orders/getRates.yml +++ b/test/cassettes/orders/getRates.yml @@ -23,58 +23,59 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 2a24806e666c73e1e78aa06f00051108 + x-ep-request-uuid: e181587966bceba8e2b8faf40086a7bc cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/orders/order_600919f222c845ad9091f62774cdada2 + location: /api/v2/orders/order_9253516aaa064e88b60314f670e7e9d8 content-type: 'application/json; charset=utf-8' - content-length: '17580' - x-runtime: '1.199101' - x-node: bigweb33nuq - x-version-label: easypost-202406132320-de9fa0c698-master + content-length: '14425' + x-runtime: '1.159981' + x-node: bigweb43nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb3nuq 9d6131b01c', 'extlb2nuq a97f7bac00'] + x-canary: direct + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"mode":"test","reference":"","is_return":false,"options":{"currency":"USD","payment":{"type":"SENDER"}},"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"}],"created_at":"2024-06-14T16:46:25Z","updated_at":"2024-06-14T16:46:26Z","customs_info":null,"from_address":{"id":"adr_a38af9e12a6d11efa0eaac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:25+00:00","updated_at":"2024-06-14T16:46:25+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":[]},"to_address":{"id":"adr_a38950672a6d11efa0e9ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:25+00:00","updated_at":"2024-06-14T16:46:25+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_a38950672a6d11efa0e9ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:25+00:00","updated_at":"2024-06-14T16:46:25+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"return_address":{"id":"adr_a38af9e12a6d11efa0eaac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:25+00:00","updated_at":"2024-06-14T16:46:25+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":[]},"shipments":[{"created_at":"2024-06-14T16:46:25Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-06-14T16:46:25Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_a38af9e12a6d11efa0eaac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:25+00:00","updated_at":"2024-06-14T16:46:25+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":[]},"insurance":null,"order_id":"order_600919f222c845ad9091f62774cdada2","parcel":{"id":"prcl_ea8e46a3e7124771ae290766a18c8cc9","object":"Parcel","created_at":"2024-06-14T16:46:25Z","updated_at":"2024-06-14T16:46:25Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":10.2,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_9c308aef705c49a4a61b1df4085fd6ad","object":"Rate","created_at":"2024-06-14T16:46:26Z","updated_at":"2024-06-14T16:46:26Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.88","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_7200fb70f603455a9ba17c32d2c676be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_96a2243732b141dbaa1d653635cfaef2","object":"Rate","created_at":"2024-06-14T16:46:26Z","updated_at":"2024-06-14T16:46:26Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_7200fb70f603455a9ba17c32d2c676be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_911dd3edef1b4a67a91d0ae2a6fcb0fc","object":"Rate","created_at":"2024-06-14T16:46:26Z","updated_at":"2024-06-14T16:46:26Z","mode":"test","service":"First","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_7200fb70f603455a9ba17c32d2c676be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_9dcb9e4e6bee492f973870e33783eb0a","object":"Rate","created_at":"2024-06-14T16:46:26Z","updated_at":"2024-06-14T16:46:26Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_7200fb70f603455a9ba17c32d2c676be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_6825da6cfdf348ab862e8892b8eec26f","object":"Rate","created_at":"2024-06-14T16:46:26Z","updated_at":"2024-06-14T16:46:26Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_7200fb70f603455a9ba17c32d2c676be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_a38950672a6d11efa0e9ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:25+00:00","updated_at":"2024-06-14T16:46:25+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_a38af9e12a6d11efa0eaac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:25+00:00","updated_at":"2024-06-14T16:46:25+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":[]},"buyer_address":{"id":"adr_a38950672a6d11efa0e9ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:25+00:00","updated_at":"2024-06-14T16:46:25+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_7200fb70f603455a9ba17c32d2c676be","object":"Shipment"},{"created_at":"2024-06-14T16:46:25Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-06-14T16:46:25Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_a38af9e12a6d11efa0eaac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:25+00:00","updated_at":"2024-06-14T16:46:25+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":[]},"insurance":null,"order_id":"order_600919f222c845ad9091f62774cdada2","parcel":{"id":"prcl_620264356ee749ebaa6f48d39304a8d4","object":"Parcel","created_at":"2024-06-14T16:46:25Z","updated_at":"2024-06-14T16:46:25Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":17.5,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_402374ef884044278db8db48a424c126","object":"Rate","created_at":"2024-06-14T16:46:26Z","updated_at":"2024-06-14T16:46:26Z","mode":"test","service":"Express","carrier":"USPS","rate":"37.20","currency":"USD","retail_rate":"42.80","retail_currency":"USD","list_rate":"37.20","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_659637bbf1ba451fa70582e73041eeec","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_718931c3f8f147b0af85be1d74d315c2","object":"Rate","created_at":"2024-06-14T16:46:26Z","updated_at":"2024-06-14T16:46:26Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.91","currency":"USD","retail_rate":"12.50","retail_currency":"USD","list_rate":"8.97","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_659637bbf1ba451fa70582e73041eeec","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_51887a84f679438091a92d569b040b3b","object":"Rate","created_at":"2024-06-14T16:46:26Z","updated_at":"2024-06-14T16:46:26Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_659637bbf1ba451fa70582e73041eeec","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_24feb05b443845ce844892fc516a4282","object":"Rate","created_at":"2024-06-14T16:46:26Z","updated_at":"2024-06-14T16:46:26Z","mode":"test","service":"First","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_659637bbf1ba451fa70582e73041eeec","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_91cc656e49c345aa83930724eea9ebef","object":"Rate","created_at":"2024-06-14T16:46:26Z","updated_at":"2024-06-14T16:46:26Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_659637bbf1ba451fa70582e73041eeec","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_a38950672a6d11efa0e9ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:25+00:00","updated_at":"2024-06-14T16:46:25+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_a38af9e12a6d11efa0eaac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:25+00:00","updated_at":"2024-06-14T16:46:25+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":[]},"buyer_address":{"id":"adr_a38950672a6d11efa0e9ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:25+00:00","updated_at":"2024-06-14T16:46:25+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_659637bbf1ba451fa70582e73041eeec","object":"Shipment"}],"rates":[{"id":"rate_9c308aef705c49a4a61b1df4085fd6ad","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Priority","carrier":"USPS","rate":"13.79","currency":"USD","retail_rate":"22.30","retail_currency":"USD","list_rate":"17.22","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_7200fb70f603455a9ba17c32d2c676be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_96a2243732b141dbaa1d653635cfaef2","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7200fb70f603455a9ba17c32d2c676be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_911dd3edef1b4a67a91d0ae2a6fcb0fc","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"First","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7200fb70f603455a9ba17c32d2c676be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_9dcb9e4e6bee492f973870e33783eb0a","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7200fb70f603455a9ba17c32d2c676be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_6825da6cfdf348ab862e8892b8eec26f","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Express","carrier":"USPS","rate":"70.30","currency":"USD","retail_rate":"80.70","retail_currency":"USD","list_rate":"70.30","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_7200fb70f603455a9ba17c32d2c676be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"id":"order_600919f222c845ad9091f62774cdada2","object":"Order"}' + body: '{"mode":"test","reference":"","is_return":false,"options":{"currency":"USD","payment":{"type":"SENDER"}},"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"}],"created_at":"2024-08-14T17:38:48Z","updated_at":"2024-08-14T17:38:49Z","customs_info":null,"from_address":{"id":"adr_1051ae805a6411ef9de7ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:48+00:00","updated_at":"2024-08-14T17:38:48+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":[]},"to_address":{"id":"adr_104fe9745a6411efac8dac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:48+00:00","updated_at":"2024-08-14T17:38:48+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_104fe9745a6411efac8dac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:48+00:00","updated_at":"2024-08-14T17:38:48+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"return_address":{"id":"adr_1051ae805a6411ef9de7ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:48+00:00","updated_at":"2024-08-14T17:38:48+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":[]},"shipments":[{"created_at":"2024-08-14T17:38:48Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:38:48Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_1051ae805a6411ef9de7ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:48+00:00","updated_at":"2024-08-14T17:38:48+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":[]},"insurance":null,"order_id":"order_9253516aaa064e88b60314f670e7e9d8","parcel":{"id":"prcl_251c31b15496458691c162dcf16c24e8","object":"Parcel","created_at":"2024-08-14T17:38:48Z","updated_at":"2024-08-14T17:38:48Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":10.2,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_d058ee17f525448b9913912eca4bf208","object":"Rate","created_at":"2024-08-14T17:38:49Z","updated_at":"2024-08-14T17:38:49Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_a3efeb5e199d414b90658af1fd0fdef3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_3557c59c92be4289b9e0c6c82a5b1358","object":"Rate","created_at":"2024-08-14T17:38:49Z","updated_at":"2024-08-14T17:38:49Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_a3efeb5e199d414b90658af1fd0fdef3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_93640111ff714404869627a611116676","object":"Rate","created_at":"2024-08-14T17:38:49Z","updated_at":"2024-08-14T17:38:49Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_a3efeb5e199d414b90658af1fd0fdef3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_104fe9745a6411efac8dac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:48+00:00","updated_at":"2024-08-14T17:38:48+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_1051ae805a6411ef9de7ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:48+00:00","updated_at":"2024-08-14T17:38:48+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":[]},"buyer_address":{"id":"adr_104fe9745a6411efac8dac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:48+00:00","updated_at":"2024-08-14T17:38:48+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_a3efeb5e199d414b90658af1fd0fdef3","object":"Shipment"},{"created_at":"2024-08-14T17:38:48Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:38:48Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_1051ae805a6411ef9de7ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:48+00:00","updated_at":"2024-08-14T17:38:48+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":[]},"insurance":null,"order_id":"order_9253516aaa064e88b60314f670e7e9d8","parcel":{"id":"prcl_1649ce68d0684fe999c6843529033842","object":"Parcel","created_at":"2024-08-14T17:38:48Z","updated_at":"2024-08-14T17:38:48Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":17.5,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_3a82dcf291814320b00aa77273fe97dd","object":"Rate","created_at":"2024-08-14T17:38:49Z","updated_at":"2024-08-14T17:38:49Z","mode":"test","service":"Priority","carrier":"USPS","rate":"7.58","currency":"USD","retail_rate":"12.50","retail_currency":"USD","list_rate":"8.97","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_1a3f57407a3142368c9db159679ff07b","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_1a742e98f08342f4932066b96ae203a6","object":"Rate","created_at":"2024-08-14T17:38:49Z","updated_at":"2024-08-14T17:38:49Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"6.33","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_1a3f57407a3142368c9db159679ff07b","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_4aebec41b03f4a9aae20c928d40d8768","object":"Rate","created_at":"2024-08-14T17:38:49Z","updated_at":"2024-08-14T17:38:49Z","mode":"test","service":"Express","carrier":"USPS","rate":"37.20","currency":"USD","retail_rate":"42.80","retail_currency":"USD","list_rate":"37.20","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_1a3f57407a3142368c9db159679ff07b","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_104fe9745a6411efac8dac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:48+00:00","updated_at":"2024-08-14T17:38:48+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_1051ae805a6411ef9de7ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:48+00:00","updated_at":"2024-08-14T17:38:48+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":[]},"buyer_address":{"id":"adr_104fe9745a6411efac8dac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:48+00:00","updated_at":"2024-08-14T17:38:48+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_1a3f57407a3142368c9db159679ff07b","object":"Shipment"}],"rates":[{"id":"rate_d058ee17f525448b9913912eca4bf208","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Express","carrier":"USPS","rate":"70.30","currency":"USD","retail_rate":"80.70","retail_currency":"USD","list_rate":"70.30","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_a3efeb5e199d414b90658af1fd0fdef3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_3557c59c92be4289b9e0c6c82a5b1358","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Priority","carrier":"USPS","rate":"14.48","currency":"USD","retail_rate":"22.30","retail_currency":"USD","list_rate":"17.22","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_a3efeb5e199d414b90658af1fd0fdef3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_93640111ff714404869627a611116676","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"11.40","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_a3efeb5e199d414b90658af1fd0fdef3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"id":"order_9253516aaa064e88b60314f670e7e9d8","object":"Order"}' curl_info: url: 'https://api.easypost.com/v2/orders' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 760 - request_size: 766 + header_size: 778 + request_size: 767 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.48847 - namelookup_time: 0.001431 - connect_time: 0.068713 - pretransfer_time: 0.138432 + total_time: 1.289915 + namelookup_time: 0.002421 + connect_time: 0.0335 + pretransfer_time: 0.066839 size_upload: 462.0 - size_download: 17580.0 - speed_download: 11810.0 - speed_upload: 310.0 - download_content_length: 17580.0 + size_download: 14425.0 + speed_download: 11182.0 + speed_upload: 358.0 + download_content_length: 14425.0 upload_content_length: 462.0 - starttransfer_time: 1.41595 + starttransfer_time: 1.260294 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.19 - local_port: 57976 + local_ip: 192.168.1.75 + local_port: 52607 http_version: 2 protocol: 2 ssl_verifyresult: 0 scheme: https - appconnect_time_us: 138334 - connect_time_us: 68713 - namelookup_time_us: 1431 - pretransfer_time_us: 138432 + appconnect_time_us: 66769 + connect_time_us: 33500 + namelookup_time_us: 2421 + pretransfer_time_us: 66839 redirect_time_us: 0 - starttransfer_time_us: 1415950 - total_time_us: 1488470 + starttransfer_time_us: 1260294 + total_time_us: 1289915 effective_method: POST capath: '' cainfo: '' @@ -82,7 +83,7 @@ - request: method: GET - url: 'https://api.easypost.com/v2/orders/order_600919f222c845ad9091f62774cdada2/rates' + url: 'https://api.easypost.com/v2/orders/order_9253516aaa064e88b60314f670e7e9d8/rates' headers: Host: api.easypost.com Accept-Encoding: '' @@ -101,57 +102,57 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 2a24806b666c73e3e78aa07000051286 + x-ep-request-uuid: e181587a66bcebaae2b8faf50086a8eb cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '16262' - x-runtime: '1.277648' + content-length: '13107' + x-runtime: '1.426625' x-node: bigweb39nuq - x-version-label: easypost-202406132320-de9fa0c698-master + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb4nuq 9d6131b01c', 'extlb2nuq a97f7bac00'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"mode":"test","reference":"","is_return":false,"options":{"currency":"USD","payment":{"type":"SENDER"}},"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"}],"created_at":"2024-06-14T16:46:25Z","updated_at":"2024-06-14T16:46:26Z","customs_info":null,"from_address":{"id":"adr_a38af9e12a6d11efa0eaac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:25+00:00","updated_at":"2024-06-14T16:46:25+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":[]},"to_address":{"id":"adr_a38950672a6d11efa0e9ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:25+00:00","updated_at":"2024-06-14T16:46:25+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_a38950672a6d11efa0e9ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:25+00:00","updated_at":"2024-06-14T16:46:25+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"return_address":{"id":"adr_a38af9e12a6d11efa0eaac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:25+00:00","updated_at":"2024-06-14T16:46:25+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":[]},"shipments":[{"created_at":"2024-06-14T16:46:25Z","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-06-14T16:46:25Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_a38af9e12a6d11efa0eaac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:25+00:00","updated_at":"2024-06-14T16:46:25+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":[]},"insurance":null,"order_id":"order_600919f222c845ad9091f62774cdada2","parcel":{"id":"prcl_ea8e46a3e7124771ae290766a18c8cc9","object":"Parcel","created_at":"2024-06-14T16:46:25Z","updated_at":"2024-06-14T16:46:25Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":10.2,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_cc5d4cf5167d4f56aadb1916d7463aad","object":"Rate","created_at":"2024-06-14T16:46:27Z","updated_at":"2024-06-14T16:46:27Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.88","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_7200fb70f603455a9ba17c32d2c676be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_47b65c8dbab34255ae260c19abad1999","object":"Rate","created_at":"2024-06-14T16:46:27Z","updated_at":"2024-06-14T16:46:27Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_7200fb70f603455a9ba17c32d2c676be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_1220bc87e4474eabb2c1cb7db4b877cd","object":"Rate","created_at":"2024-06-14T16:46:27Z","updated_at":"2024-06-14T16:46:27Z","mode":"test","service":"First","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_7200fb70f603455a9ba17c32d2c676be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_6cc38361024b4da3a635ba69e9749247","object":"Rate","created_at":"2024-06-14T16:46:27Z","updated_at":"2024-06-14T16:46:27Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_7200fb70f603455a9ba17c32d2c676be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_11846911efb242e09cc3db605bc29494","object":"Rate","created_at":"2024-06-14T16:46:27Z","updated_at":"2024-06-14T16:46:27Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_7200fb70f603455a9ba17c32d2c676be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_a38950672a6d11efa0e9ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:25+00:00","updated_at":"2024-06-14T16:46:25+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_a38af9e12a6d11efa0eaac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:25+00:00","updated_at":"2024-06-14T16:46:25+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":[]},"buyer_address":{"id":"adr_a38950672a6d11efa0e9ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:25+00:00","updated_at":"2024-06-14T16:46:25+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_7200fb70f603455a9ba17c32d2c676be","object":"Shipment"},{"created_at":"2024-06-14T16:46:25Z","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-06-14T16:46:25Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_a38af9e12a6d11efa0eaac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:25+00:00","updated_at":"2024-06-14T16:46:25+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":[]},"insurance":null,"order_id":"order_600919f222c845ad9091f62774cdada2","parcel":{"id":"prcl_620264356ee749ebaa6f48d39304a8d4","object":"Parcel","created_at":"2024-06-14T16:46:25Z","updated_at":"2024-06-14T16:46:25Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":17.5,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_a5ed26b1e4f1445a8c6dc327def1e1cc","object":"Rate","created_at":"2024-06-14T16:46:28Z","updated_at":"2024-06-14T16:46:28Z","mode":"test","service":"Express","carrier":"USPS","rate":"37.20","currency":"USD","retail_rate":"42.80","retail_currency":"USD","list_rate":"37.20","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_659637bbf1ba451fa70582e73041eeec","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_a0625e50771142f7abf958d0fd519b6f","object":"Rate","created_at":"2024-06-14T16:46:28Z","updated_at":"2024-06-14T16:46:28Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.91","currency":"USD","retail_rate":"12.50","retail_currency":"USD","list_rate":"8.97","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_659637bbf1ba451fa70582e73041eeec","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_bf5d7764907c48fb99bba21089db477d","object":"Rate","created_at":"2024-06-14T16:46:28Z","updated_at":"2024-06-14T16:46:28Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_659637bbf1ba451fa70582e73041eeec","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_e120613136114b0e9e4abbb9a524ae67","object":"Rate","created_at":"2024-06-14T16:46:28Z","updated_at":"2024-06-14T16:46:28Z","mode":"test","service":"First","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_659637bbf1ba451fa70582e73041eeec","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_43a218b3ead84c798dee8a20af99ceb6","object":"Rate","created_at":"2024-06-14T16:46:28Z","updated_at":"2024-06-14T16:46:28Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_659637bbf1ba451fa70582e73041eeec","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_a38950672a6d11efa0e9ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:25+00:00","updated_at":"2024-06-14T16:46:25+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_a38af9e12a6d11efa0eaac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:25+00:00","updated_at":"2024-06-14T16:46:25+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":[]},"buyer_address":{"id":"adr_a38950672a6d11efa0e9ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:25+00:00","updated_at":"2024-06-14T16:46:25+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_659637bbf1ba451fa70582e73041eeec","object":"Shipment"}],"rates":[{"id":"rate_cc5d4cf5167d4f56aadb1916d7463aad","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Priority","carrier":"USPS","rate":"13.79","currency":"USD","retail_rate":"22.30","retail_currency":"USD","list_rate":"17.22","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_7200fb70f603455a9ba17c32d2c676be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_47b65c8dbab34255ae260c19abad1999","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7200fb70f603455a9ba17c32d2c676be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_1220bc87e4474eabb2c1cb7db4b877cd","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"First","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7200fb70f603455a9ba17c32d2c676be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_6cc38361024b4da3a635ba69e9749247","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7200fb70f603455a9ba17c32d2c676be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_11846911efb242e09cc3db605bc29494","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Express","carrier":"USPS","rate":"70.30","currency":"USD","retail_rate":"80.70","retail_currency":"USD","list_rate":"70.30","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_7200fb70f603455a9ba17c32d2c676be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"id":"order_600919f222c845ad9091f62774cdada2","object":"Order"}' + body: '{"mode":"test","reference":"","is_return":false,"options":{"currency":"USD","payment":{"type":"SENDER"}},"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"}],"created_at":"2024-08-14T17:38:48Z","updated_at":"2024-08-14T17:38:49Z","customs_info":null,"from_address":{"id":"adr_1051ae805a6411ef9de7ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:48+00:00","updated_at":"2024-08-14T17:38:48+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":[]},"to_address":{"id":"adr_104fe9745a6411efac8dac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:48+00:00","updated_at":"2024-08-14T17:38:48+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_104fe9745a6411efac8dac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:48+00:00","updated_at":"2024-08-14T17:38:48+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"return_address":{"id":"adr_1051ae805a6411ef9de7ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:48+00:00","updated_at":"2024-08-14T17:38:48+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":[]},"shipments":[{"created_at":"2024-08-14T17:38:48Z","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-08-14T17:38:48Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_1051ae805a6411ef9de7ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:48+00:00","updated_at":"2024-08-14T17:38:48+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":[]},"insurance":null,"order_id":"order_9253516aaa064e88b60314f670e7e9d8","parcel":{"id":"prcl_251c31b15496458691c162dcf16c24e8","object":"Parcel","created_at":"2024-08-14T17:38:48Z","updated_at":"2024-08-14T17:38:48Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":10.2,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_571df2162a91476db263821abcd9c7b8","object":"Rate","created_at":"2024-08-14T17:38:50Z","updated_at":"2024-08-14T17:38:50Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_a3efeb5e199d414b90658af1fd0fdef3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_1f2d1496b08f4c1e81947ef3ad84a0d8","object":"Rate","created_at":"2024-08-14T17:38:50Z","updated_at":"2024-08-14T17:38:50Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_a3efeb5e199d414b90658af1fd0fdef3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_10e756b1a8434282b5ac92f4970f7d47","object":"Rate","created_at":"2024-08-14T17:38:50Z","updated_at":"2024-08-14T17:38:50Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_a3efeb5e199d414b90658af1fd0fdef3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_104fe9745a6411efac8dac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:48+00:00","updated_at":"2024-08-14T17:38:48+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_1051ae805a6411ef9de7ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:48+00:00","updated_at":"2024-08-14T17:38:48+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":[]},"buyer_address":{"id":"adr_104fe9745a6411efac8dac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:48+00:00","updated_at":"2024-08-14T17:38:48+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_a3efeb5e199d414b90658af1fd0fdef3","object":"Shipment"},{"created_at":"2024-08-14T17:38:48Z","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-08-14T17:38:48Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_1051ae805a6411ef9de7ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:48+00:00","updated_at":"2024-08-14T17:38:48+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":[]},"insurance":null,"order_id":"order_9253516aaa064e88b60314f670e7e9d8","parcel":{"id":"prcl_1649ce68d0684fe999c6843529033842","object":"Parcel","created_at":"2024-08-14T17:38:48Z","updated_at":"2024-08-14T17:38:48Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":17.5,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_5e9ac84b010c47ca9c7a251ffe46a955","object":"Rate","created_at":"2024-08-14T17:38:51Z","updated_at":"2024-08-14T17:38:51Z","mode":"test","service":"Express","carrier":"USPS","rate":"37.20","currency":"USD","retail_rate":"42.80","retail_currency":"USD","list_rate":"37.20","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_1a3f57407a3142368c9db159679ff07b","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_56155c4a3adb45f190f4d6f38457539a","object":"Rate","created_at":"2024-08-14T17:38:51Z","updated_at":"2024-08-14T17:38:51Z","mode":"test","service":"Priority","carrier":"USPS","rate":"7.58","currency":"USD","retail_rate":"12.50","retail_currency":"USD","list_rate":"8.97","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_1a3f57407a3142368c9db159679ff07b","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_349e61415e50401c9b2d7ae338fd4b2a","object":"Rate","created_at":"2024-08-14T17:38:51Z","updated_at":"2024-08-14T17:38:51Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"6.33","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_1a3f57407a3142368c9db159679ff07b","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_104fe9745a6411efac8dac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:48+00:00","updated_at":"2024-08-14T17:38:48+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_1051ae805a6411ef9de7ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:38:48+00:00","updated_at":"2024-08-14T17:38:48+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":[]},"buyer_address":{"id":"adr_104fe9745a6411efac8dac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:48+00:00","updated_at":"2024-08-14T17:38:48+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_1a3f57407a3142368c9db159679ff07b","object":"Shipment"}],"rates":[{"id":"rate_571df2162a91476db263821abcd9c7b8","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Express","carrier":"USPS","rate":"70.30","currency":"USD","retail_rate":"80.70","retail_currency":"USD","list_rate":"70.30","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_a3efeb5e199d414b90658af1fd0fdef3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_1f2d1496b08f4c1e81947ef3ad84a0d8","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Priority","carrier":"USPS","rate":"14.48","currency":"USD","retail_rate":"22.30","retail_currency":"USD","list_rate":"17.22","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_a3efeb5e199d414b90658af1fd0fdef3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_10e756b1a8434282b5ac92f4970f7d47","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"11.40","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_a3efeb5e199d414b90658af1fd0fdef3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"id":"order_9253516aaa064e88b60314f670e7e9d8","object":"Order"}' curl_info: - url: 'https://api.easypost.com/v2/orders/order_600919f222c845ad9091f62774cdada2/rates' + url: 'https://api.easypost.com/v2/orders/order_9253516aaa064e88b60314f670e7e9d8/rates' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 690 - request_size: 327 + request_size: 328 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.562129 - namelookup_time: 0.001333 - connect_time: 0.070086 - pretransfer_time: 0.142699 + total_time: 1.534627 + namelookup_time: 0.001452 + connect_time: 0.034124 + pretransfer_time: 0.069847 size_upload: 0.0 - size_download: 16262.0 - speed_download: 10410.0 + size_download: 13107.0 + speed_download: 8540.0 speed_upload: 0.0 - download_content_length: 16262.0 + download_content_length: 13107.0 upload_content_length: 0.0 - starttransfer_time: 1.496256 + starttransfer_time: 1.5346 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.19 - local_port: 57977 + local_ip: 192.168.1.75 + local_port: 52608 http_version: 2 protocol: 2 ssl_verifyresult: 0 scheme: https - appconnect_time_us: 142569 - connect_time_us: 70086 - namelookup_time_us: 1333 - pretransfer_time_us: 142699 + appconnect_time_us: 69806 + connect_time_us: 34124 + namelookup_time_us: 1452 + pretransfer_time_us: 69847 redirect_time_us: 0 - starttransfer_time_us: 1496256 - total_time_us: 1562129 + starttransfer_time_us: 1534600 + total_time_us: 1534627 effective_method: GET capath: '' cainfo: '' diff --git a/test/cassettes/orders/lowestRate.yml b/test/cassettes/orders/lowestRate.yml index 851b4944..22cd603e 100644 --- a/test/cassettes/orders/lowestRate.yml +++ b/test/cassettes/orders/lowestRate.yml @@ -23,59 +23,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 2a24806f666c73ece78aa08c00051c9a + x-ep-request-uuid: e181587966bcebb4e2b8fb120086b3d3 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/orders/order_04445508ab0d4ac4ad5b8ef19038c0b4 + location: /api/v2/orders/order_46c303b42a6441839090095ac229d591 content-type: 'application/json; charset=utf-8' - content-length: '17580' - x-runtime: '1.215361' - x-node: bigweb32nuq - x-version-label: easypost-202406132320-de9fa0c698-master + content-length: '14425' + x-runtime: '1.227367' + x-node: bigweb34nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb4nuq 9d6131b01c', 'extlb2nuq a97f7bac00'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"mode":"test","reference":"","is_return":false,"options":{"currency":"USD","payment":{"type":"SENDER"}},"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"}],"created_at":"2024-06-14T16:46:36Z","updated_at":"2024-06-14T16:46:37Z","customs_info":null,"from_address":{"id":"adr_aa1fe6ef2a6d11ef84a23cecef1b359e","object":"Address","created_at":"2024-06-14T16:46:36+00:00","updated_at":"2024-06-14T16:46:36+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":[]},"to_address":{"id":"adr_aa1e35452a6d11ef93d5ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:36+00:00","updated_at":"2024-06-14T16:46:36+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_aa1e35452a6d11ef93d5ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:36+00:00","updated_at":"2024-06-14T16:46:36+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"return_address":{"id":"adr_aa1fe6ef2a6d11ef84a23cecef1b359e","object":"Address","created_at":"2024-06-14T16:46:36+00:00","updated_at":"2024-06-14T16:46:36+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":[]},"shipments":[{"created_at":"2024-06-14T16:46:36Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-06-14T16:46:36Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_aa1fe6ef2a6d11ef84a23cecef1b359e","object":"Address","created_at":"2024-06-14T16:46:36+00:00","updated_at":"2024-06-14T16:46:36+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":[]},"insurance":null,"order_id":"order_04445508ab0d4ac4ad5b8ef19038c0b4","parcel":{"id":"prcl_650d1038278846dfada07d280276f741","object":"Parcel","created_at":"2024-06-14T16:46:36Z","updated_at":"2024-06-14T16:46:36Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":10.2,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_eaf0f9999f4d4c33883d20f34c9ca169","object":"Rate","created_at":"2024-06-14T16:46:37Z","updated_at":"2024-06-14T16:46:37Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_e7ee0ce3ca2b4162a24aca39072fb0d5","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_09fad2ed2a1b48cbb146eaecf2debd54","object":"Rate","created_at":"2024-06-14T16:46:37Z","updated_at":"2024-06-14T16:46:37Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.88","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_e7ee0ce3ca2b4162a24aca39072fb0d5","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_20d42264b2a045c18318d419547db905","object":"Rate","created_at":"2024-06-14T16:46:37Z","updated_at":"2024-06-14T16:46:37Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_e7ee0ce3ca2b4162a24aca39072fb0d5","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_ab9161e571f3408391a48aa4b1fbb1d2","object":"Rate","created_at":"2024-06-14T16:46:37Z","updated_at":"2024-06-14T16:46:37Z","mode":"test","service":"First","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_e7ee0ce3ca2b4162a24aca39072fb0d5","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_c73877913bf54cefb7b4462c56246021","object":"Rate","created_at":"2024-06-14T16:46:37Z","updated_at":"2024-06-14T16:46:37Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_e7ee0ce3ca2b4162a24aca39072fb0d5","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_aa1e35452a6d11ef93d5ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:36+00:00","updated_at":"2024-06-14T16:46:36+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_aa1fe6ef2a6d11ef84a23cecef1b359e","object":"Address","created_at":"2024-06-14T16:46:36+00:00","updated_at":"2024-06-14T16:46:36+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":[]},"buyer_address":{"id":"adr_aa1e35452a6d11ef93d5ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:36+00:00","updated_at":"2024-06-14T16:46:36+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_e7ee0ce3ca2b4162a24aca39072fb0d5","object":"Shipment"},{"created_at":"2024-06-14T16:46:36Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-06-14T16:46:36Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_aa1fe6ef2a6d11ef84a23cecef1b359e","object":"Address","created_at":"2024-06-14T16:46:36+00:00","updated_at":"2024-06-14T16:46:36+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":[]},"insurance":null,"order_id":"order_04445508ab0d4ac4ad5b8ef19038c0b4","parcel":{"id":"prcl_85585a0bd6fa4455ab501ce1b90a25e7","object":"Parcel","created_at":"2024-06-14T16:46:36Z","updated_at":"2024-06-14T16:46:36Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":17.5,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_49c4aa9ebc0445bdab7521287bab7a6f","object":"Rate","created_at":"2024-06-14T16:46:37Z","updated_at":"2024-06-14T16:46:37Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.91","currency":"USD","retail_rate":"12.50","retail_currency":"USD","list_rate":"8.97","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_76d39492f18947a4b7855694eaf08517","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_26836d80cc9344b1bca0df12d5e3ec83","object":"Rate","created_at":"2024-06-14T16:46:37Z","updated_at":"2024-06-14T16:46:37Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_76d39492f18947a4b7855694eaf08517","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_f9955443870e43a18f50ff34e96643e4","object":"Rate","created_at":"2024-06-14T16:46:37Z","updated_at":"2024-06-14T16:46:37Z","mode":"test","service":"First","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_76d39492f18947a4b7855694eaf08517","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_5dad1e471f574773bb0e8d732df20daf","object":"Rate","created_at":"2024-06-14T16:46:37Z","updated_at":"2024-06-14T16:46:37Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_76d39492f18947a4b7855694eaf08517","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_d2b84889658d49daa6c1de1a3dc1b6a3","object":"Rate","created_at":"2024-06-14T16:46:37Z","updated_at":"2024-06-14T16:46:37Z","mode":"test","service":"Express","carrier":"USPS","rate":"37.20","currency":"USD","retail_rate":"42.80","retail_currency":"USD","list_rate":"37.20","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_76d39492f18947a4b7855694eaf08517","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_aa1e35452a6d11ef93d5ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:36+00:00","updated_at":"2024-06-14T16:46:36+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_aa1fe6ef2a6d11ef84a23cecef1b359e","object":"Address","created_at":"2024-06-14T16:46:36+00:00","updated_at":"2024-06-14T16:46:36+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":[]},"buyer_address":{"id":"adr_aa1e35452a6d11ef93d5ac1f6bc539aa","object":"Address","created_at":"2024-06-14T16:46:36+00:00","updated_at":"2024-06-14T16:46:36+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_76d39492f18947a4b7855694eaf08517","object":"Shipment"}],"rates":[{"id":"rate_eaf0f9999f4d4c33883d20f34c9ca169","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Express","carrier":"USPS","rate":"70.30","currency":"USD","retail_rate":"80.70","retail_currency":"USD","list_rate":"70.30","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_e7ee0ce3ca2b4162a24aca39072fb0d5","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_09fad2ed2a1b48cbb146eaecf2debd54","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Priority","carrier":"USPS","rate":"13.79","currency":"USD","retail_rate":"22.30","retail_currency":"USD","list_rate":"17.22","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_e7ee0ce3ca2b4162a24aca39072fb0d5","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_20d42264b2a045c18318d419547db905","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_e7ee0ce3ca2b4162a24aca39072fb0d5","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_ab9161e571f3408391a48aa4b1fbb1d2","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"First","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_e7ee0ce3ca2b4162a24aca39072fb0d5","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_c73877913bf54cefb7b4462c56246021","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_e7ee0ce3ca2b4162a24aca39072fb0d5","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"id":"order_04445508ab0d4ac4ad5b8ef19038c0b4","object":"Order"}' + body: '{"mode":"test","reference":"","is_return":false,"options":{"currency":"USD","payment":{"type":"SENDER"}},"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"}],"created_at":"2024-08-14T17:39:00Z","updated_at":"2024-08-14T17:39:01Z","customs_info":null,"from_address":{"id":"adr_175dfc1c5a6411ef8f0eac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:00+00:00","updated_at":"2024-08-14T17:39:00+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":[]},"to_address":{"id":"adr_175bf3cf5a6411ef8f0dac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:00+00:00","updated_at":"2024-08-14T17:39:00+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_175bf3cf5a6411ef8f0dac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:00+00:00","updated_at":"2024-08-14T17:39:00+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"return_address":{"id":"adr_175dfc1c5a6411ef8f0eac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:00+00:00","updated_at":"2024-08-14T17:39:00+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":[]},"shipments":[{"created_at":"2024-08-14T17:39:00Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:39:00Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_175dfc1c5a6411ef8f0eac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:00+00:00","updated_at":"2024-08-14T17:39:00+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":[]},"insurance":null,"order_id":"order_46c303b42a6441839090095ac229d591","parcel":{"id":"prcl_6a94817873644e709c329c1ca544f8f7","object":"Parcel","created_at":"2024-08-14T17:39:00Z","updated_at":"2024-08-14T17:39:00Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":10.2,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_041d164e56da4f23afe07f32fe319137","object":"Rate","created_at":"2024-08-14T17:39:01Z","updated_at":"2024-08-14T17:39:01Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_8a18a572b83c45609f086d38f9c94257","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_8a0b69321dbe4b59b683fc643d52e3bb","object":"Rate","created_at":"2024-08-14T17:39:01Z","updated_at":"2024-08-14T17:39:01Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_8a18a572b83c45609f086d38f9c94257","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_7a047bd4aab14c55870b94a738614e29","object":"Rate","created_at":"2024-08-14T17:39:01Z","updated_at":"2024-08-14T17:39:01Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_8a18a572b83c45609f086d38f9c94257","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_175bf3cf5a6411ef8f0dac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:00+00:00","updated_at":"2024-08-14T17:39:00+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_175dfc1c5a6411ef8f0eac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:00+00:00","updated_at":"2024-08-14T17:39:00+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":[]},"buyer_address":{"id":"adr_175bf3cf5a6411ef8f0dac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:00+00:00","updated_at":"2024-08-14T17:39:00+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_8a18a572b83c45609f086d38f9c94257","object":"Shipment"},{"created_at":"2024-08-14T17:39:00Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:39:00Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_175dfc1c5a6411ef8f0eac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:00+00:00","updated_at":"2024-08-14T17:39:00+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":[]},"insurance":null,"order_id":"order_46c303b42a6441839090095ac229d591","parcel":{"id":"prcl_3f6d23289b3a45fba51d98ad04d333e2","object":"Parcel","created_at":"2024-08-14T17:39:00Z","updated_at":"2024-08-14T17:39:00Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":17.5,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_760365b33fae4751b647d00289b8015d","object":"Rate","created_at":"2024-08-14T17:39:01Z","updated_at":"2024-08-14T17:39:01Z","mode":"test","service":"Express","carrier":"USPS","rate":"37.20","currency":"USD","retail_rate":"42.80","retail_currency":"USD","list_rate":"37.20","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_1bade5579b5c4dd2a697fc61748f45b5","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_d050bd688f454372bdbd7542dfd48f01","object":"Rate","created_at":"2024-08-14T17:39:01Z","updated_at":"2024-08-14T17:39:01Z","mode":"test","service":"Priority","carrier":"USPS","rate":"7.58","currency":"USD","retail_rate":"12.50","retail_currency":"USD","list_rate":"8.97","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_1bade5579b5c4dd2a697fc61748f45b5","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_64afbe8e09b54d3681ecef2dc6ad9aff","object":"Rate","created_at":"2024-08-14T17:39:01Z","updated_at":"2024-08-14T17:39:01Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"6.33","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_1bade5579b5c4dd2a697fc61748f45b5","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_175bf3cf5a6411ef8f0dac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:00+00:00","updated_at":"2024-08-14T17:39:00+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_175dfc1c5a6411ef8f0eac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:00+00:00","updated_at":"2024-08-14T17:39:00+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":[]},"buyer_address":{"id":"adr_175bf3cf5a6411ef8f0dac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:00+00:00","updated_at":"2024-08-14T17:39:00+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_1bade5579b5c4dd2a697fc61748f45b5","object":"Shipment"}],"rates":[{"id":"rate_041d164e56da4f23afe07f32fe319137","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Priority","carrier":"USPS","rate":"14.48","currency":"USD","retail_rate":"22.30","retail_currency":"USD","list_rate":"17.22","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_8a18a572b83c45609f086d38f9c94257","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_8a0b69321dbe4b59b683fc643d52e3bb","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"11.40","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_8a18a572b83c45609f086d38f9c94257","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_7a047bd4aab14c55870b94a738614e29","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Express","carrier":"USPS","rate":"70.30","currency":"USD","retail_rate":"80.70","retail_currency":"USD","list_rate":"70.30","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_8a18a572b83c45609f086d38f9c94257","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"id":"order_46c303b42a6441839090095ac229d591","object":"Order"}' curl_info: url: 'https://api.easypost.com/v2/orders' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 778 - request_size: 766 + header_size: 760 + request_size: 767 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.479541 - namelookup_time: 0.001594 - connect_time: 0.066525 - pretransfer_time: 0.132468 + total_time: 1.357266 + namelookup_time: 0.002648 + connect_time: 0.032172 + pretransfer_time: 0.065493 size_upload: 462.0 - size_download: 17580.0 - speed_download: 11882.0 - speed_upload: 312.0 - download_content_length: 17580.0 + size_download: 14425.0 + speed_download: 10627.0 + speed_upload: 340.0 + download_content_length: 14425.0 upload_content_length: 462.0 - starttransfer_time: 1.415134 + starttransfer_time: 1.327998 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.19 - local_port: 57982 + local_ip: 192.168.1.75 + local_port: 52614 http_version: 2 protocol: 2 ssl_verifyresult: 0 scheme: https - appconnect_time_us: 132430 - connect_time_us: 66525 - namelookup_time_us: 1594 - pretransfer_time_us: 132468 + appconnect_time_us: 65427 + connect_time_us: 32172 + namelookup_time_us: 2648 + pretransfer_time_us: 65493 redirect_time_us: 0 - starttransfer_time_us: 1415134 - total_time_us: 1479541 + starttransfer_time_us: 1327998 + total_time_us: 1357266 effective_method: POST capath: '' cainfo: '' diff --git a/test/cassettes/orders/retrieve.yml b/test/cassettes/orders/retrieve.yml index 4ed41a58..48b891cc 100644 --- a/test/cassettes/orders/retrieve.yml +++ b/test/cassettes/orders/retrieve.yml @@ -23,58 +23,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 2a24806a666c73dde78aa06d00050bec + x-ep-request-uuid: e181587966bceba7e2b8faf20086a645 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/orders/order_f551f3056afc4e7698d219ad4738f604 + location: /api/v2/orders/order_351ef0b799434cc5ac4c20ee036f83aa content-type: 'application/json; charset=utf-8' - content-length: '17580' - x-runtime: '3.263710' - x-node: bigweb33nuq - x-version-label: easypost-202406132320-de9fa0c698-master + content-length: '14425' + x-runtime: '1.223117' + x-node: bigweb40nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb4nuq 9d6131b01c', 'extlb2nuq a97f7bac00'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"mode":"test","reference":"","is_return":false,"options":{"currency":"USD","payment":{"type":"SENDER"}},"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"}],"created_at":"2024-06-14T16:46:21Z","updated_at":"2024-06-14T16:46:24Z","customs_info":null,"from_address":{"id":"adr_a1293bc52a6d11ef9f74ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:21+00:00","updated_at":"2024-06-14T16:46:21+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":[]},"to_address":{"id":"adr_a127573c2a6d11ef9f73ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:21+00:00","updated_at":"2024-06-14T16:46:21+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_a127573c2a6d11ef9f73ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:21+00:00","updated_at":"2024-06-14T16:46:21+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"return_address":{"id":"adr_a1293bc52a6d11ef9f74ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:21+00:00","updated_at":"2024-06-14T16:46:21+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":[]},"shipments":[{"created_at":"2024-06-14T16:46:21Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-06-14T16:46:21Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_a1293bc52a6d11ef9f74ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:21+00:00","updated_at":"2024-06-14T16:46:21+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":[]},"insurance":null,"order_id":"order_f551f3056afc4e7698d219ad4738f604","parcel":{"id":"prcl_e9522aa3efdb495195874efae4d96a32","object":"Parcel","created_at":"2024-06-14T16:46:21Z","updated_at":"2024-06-14T16:46:21Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":10.2,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_acb907e31d0f4f6bb1ce60f9b71f138d","object":"Rate","created_at":"2024-06-14T16:46:24Z","updated_at":"2024-06-14T16:46:24Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_7a0f3e2052bf492f8a185949e2f26748","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_40789ec3646b4852b1cba9768eea011c","object":"Rate","created_at":"2024-06-14T16:46:24Z","updated_at":"2024-06-14T16:46:24Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.88","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_7a0f3e2052bf492f8a185949e2f26748","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_87cd8cbf7ce74523b20112cb43340fba","object":"Rate","created_at":"2024-06-14T16:46:24Z","updated_at":"2024-06-14T16:46:24Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_7a0f3e2052bf492f8a185949e2f26748","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_3ed363dfb98d4f06987fd13c80f40a72","object":"Rate","created_at":"2024-06-14T16:46:24Z","updated_at":"2024-06-14T16:46:24Z","mode":"test","service":"First","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_7a0f3e2052bf492f8a185949e2f26748","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_4685e6985ae444e8a24eb5e98bacf459","object":"Rate","created_at":"2024-06-14T16:46:24Z","updated_at":"2024-06-14T16:46:24Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_7a0f3e2052bf492f8a185949e2f26748","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_a127573c2a6d11ef9f73ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:21+00:00","updated_at":"2024-06-14T16:46:21+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_a1293bc52a6d11ef9f74ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:21+00:00","updated_at":"2024-06-14T16:46:21+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":[]},"buyer_address":{"id":"adr_a127573c2a6d11ef9f73ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:21+00:00","updated_at":"2024-06-14T16:46:21+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_7a0f3e2052bf492f8a185949e2f26748","object":"Shipment"},{"created_at":"2024-06-14T16:46:21Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-06-14T16:46:21Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_a1293bc52a6d11ef9f74ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:21+00:00","updated_at":"2024-06-14T16:46:21+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":[]},"insurance":null,"order_id":"order_f551f3056afc4e7698d219ad4738f604","parcel":{"id":"prcl_2bf30cb4fefb4c67a2f6474bc8dc436e","object":"Parcel","created_at":"2024-06-14T16:46:21Z","updated_at":"2024-06-14T16:46:21Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":17.5,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_f91bec2b4e76420e90a6db1eb287fa85","object":"Rate","created_at":"2024-06-14T16:46:24Z","updated_at":"2024-06-14T16:46:24Z","mode":"test","service":"Express","carrier":"USPS","rate":"37.20","currency":"USD","retail_rate":"42.80","retail_currency":"USD","list_rate":"37.20","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_d5ff4c47598b45aaaa26825e1516032f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_82c686ea233c4a698a3e613935cce5cc","object":"Rate","created_at":"2024-06-14T16:46:24Z","updated_at":"2024-06-14T16:46:24Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.91","currency":"USD","retail_rate":"12.50","retail_currency":"USD","list_rate":"8.97","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_d5ff4c47598b45aaaa26825e1516032f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_e97baadece804c339b815056c88d23c8","object":"Rate","created_at":"2024-06-14T16:46:24Z","updated_at":"2024-06-14T16:46:24Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d5ff4c47598b45aaaa26825e1516032f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_a4641eb2fa6f4fb5922de1c549d2c16f","object":"Rate","created_at":"2024-06-14T16:46:24Z","updated_at":"2024-06-14T16:46:24Z","mode":"test","service":"First","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d5ff4c47598b45aaaa26825e1516032f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_633fdaafccdd4b3bbe7a82594bc5ca6b","object":"Rate","created_at":"2024-06-14T16:46:24Z","updated_at":"2024-06-14T16:46:24Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d5ff4c47598b45aaaa26825e1516032f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_a127573c2a6d11ef9f73ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:21+00:00","updated_at":"2024-06-14T16:46:21+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_a1293bc52a6d11ef9f74ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:21+00:00","updated_at":"2024-06-14T16:46:21+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":[]},"buyer_address":{"id":"adr_a127573c2a6d11ef9f73ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:21+00:00","updated_at":"2024-06-14T16:46:21+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_d5ff4c47598b45aaaa26825e1516032f","object":"Shipment"}],"rates":[{"id":"rate_acb907e31d0f4f6bb1ce60f9b71f138d","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Express","carrier":"USPS","rate":"70.30","currency":"USD","retail_rate":"80.70","retail_currency":"USD","list_rate":"70.30","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_7a0f3e2052bf492f8a185949e2f26748","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_40789ec3646b4852b1cba9768eea011c","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Priority","carrier":"USPS","rate":"13.79","currency":"USD","retail_rate":"22.30","retail_currency":"USD","list_rate":"17.22","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_7a0f3e2052bf492f8a185949e2f26748","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_87cd8cbf7ce74523b20112cb43340fba","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7a0f3e2052bf492f8a185949e2f26748","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_3ed363dfb98d4f06987fd13c80f40a72","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"First","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7a0f3e2052bf492f8a185949e2f26748","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_4685e6985ae444e8a24eb5e98bacf459","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7a0f3e2052bf492f8a185949e2f26748","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"id":"order_f551f3056afc4e7698d219ad4738f604","object":"Order"}' + body: '{"mode":"test","reference":"","is_return":false,"options":{"currency":"USD","payment":{"type":"SENDER"}},"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"}],"created_at":"2024-08-14T17:38:47Z","updated_at":"2024-08-14T17:38:48Z","customs_info":null,"from_address":{"id":"adr_0f4ff40a5a6411ef8a4cac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:38:47+00:00","updated_at":"2024-08-14T17:38:47+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":[]},"to_address":{"id":"adr_0f4e2efe5a6411efac27ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:47+00:00","updated_at":"2024-08-14T17:38:47+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_0f4e2efe5a6411efac27ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:47+00:00","updated_at":"2024-08-14T17:38:47+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"return_address":{"id":"adr_0f4ff40a5a6411ef8a4cac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:38:47+00:00","updated_at":"2024-08-14T17:38:47+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":[]},"shipments":[{"created_at":"2024-08-14T17:38:47Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:38:47Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_0f4ff40a5a6411ef8a4cac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:38:47+00:00","updated_at":"2024-08-14T17:38:47+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":[]},"insurance":null,"order_id":"order_351ef0b799434cc5ac4c20ee036f83aa","parcel":{"id":"prcl_32ff9ac20e474959ac2bbea0e6c7bf7e","object":"Parcel","created_at":"2024-08-14T17:38:47Z","updated_at":"2024-08-14T17:38:47Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":10.2,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_405ff248bf2841af884b6fd7815d8b89","object":"Rate","created_at":"2024-08-14T17:38:47Z","updated_at":"2024-08-14T17:38:47Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_da5b2f156aa0457a94518356581b7690","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_fe93987db5f045a3b72dfdaed3f21e32","object":"Rate","created_at":"2024-08-14T17:38:47Z","updated_at":"2024-08-14T17:38:47Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_da5b2f156aa0457a94518356581b7690","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_8948f78813884f56b9bcc32f40546db5","object":"Rate","created_at":"2024-08-14T17:38:47Z","updated_at":"2024-08-14T17:38:47Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_da5b2f156aa0457a94518356581b7690","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_0f4e2efe5a6411efac27ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:47+00:00","updated_at":"2024-08-14T17:38:47+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_0f4ff40a5a6411ef8a4cac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:38:47+00:00","updated_at":"2024-08-14T17:38:47+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":[]},"buyer_address":{"id":"adr_0f4e2efe5a6411efac27ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:47+00:00","updated_at":"2024-08-14T17:38:47+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_da5b2f156aa0457a94518356581b7690","object":"Shipment"},{"created_at":"2024-08-14T17:38:47Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:38:47Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_0f4ff40a5a6411ef8a4cac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:38:47+00:00","updated_at":"2024-08-14T17:38:47+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":[]},"insurance":null,"order_id":"order_351ef0b799434cc5ac4c20ee036f83aa","parcel":{"id":"prcl_92da5719fcb6453fb4fe6f7abb0692ff","object":"Parcel","created_at":"2024-08-14T17:38:47Z","updated_at":"2024-08-14T17:38:47Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":17.5,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_a6b211f77b14485db1e7525e5c15c318","object":"Rate","created_at":"2024-08-14T17:38:48Z","updated_at":"2024-08-14T17:38:48Z","mode":"test","service":"Express","carrier":"USPS","rate":"37.20","currency":"USD","retail_rate":"42.80","retail_currency":"USD","list_rate":"37.20","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_0ea3ebe8a62d43a1956989bce73addcc","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_ff645baa77b241859f6de63516b292c5","object":"Rate","created_at":"2024-08-14T17:38:48Z","updated_at":"2024-08-14T17:38:48Z","mode":"test","service":"Priority","carrier":"USPS","rate":"7.58","currency":"USD","retail_rate":"12.50","retail_currency":"USD","list_rate":"8.97","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_0ea3ebe8a62d43a1956989bce73addcc","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_3263fb3513b44a978fbaa9c25929c977","object":"Rate","created_at":"2024-08-14T17:38:48Z","updated_at":"2024-08-14T17:38:48Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"6.33","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_0ea3ebe8a62d43a1956989bce73addcc","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_0f4e2efe5a6411efac27ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:47+00:00","updated_at":"2024-08-14T17:38:47+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_0f4ff40a5a6411ef8a4cac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:38:47+00:00","updated_at":"2024-08-14T17:38:47+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":[]},"buyer_address":{"id":"adr_0f4e2efe5a6411efac27ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:47+00:00","updated_at":"2024-08-14T17:38:47+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_0ea3ebe8a62d43a1956989bce73addcc","object":"Shipment"}],"rates":[{"id":"rate_405ff248bf2841af884b6fd7815d8b89","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Express","carrier":"USPS","rate":"70.30","currency":"USD","retail_rate":"80.70","retail_currency":"USD","list_rate":"70.30","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_da5b2f156aa0457a94518356581b7690","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_fe93987db5f045a3b72dfdaed3f21e32","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Priority","carrier":"USPS","rate":"14.48","currency":"USD","retail_rate":"22.30","retail_currency":"USD","list_rate":"17.22","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_da5b2f156aa0457a94518356581b7690","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_8948f78813884f56b9bcc32f40546db5","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"11.40","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_da5b2f156aa0457a94518356581b7690","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"id":"order_351ef0b799434cc5ac4c20ee036f83aa","object":"Order"}' curl_info: url: 'https://api.easypost.com/v2/orders' content_type: 'application/json; charset=utf-8' http_code: 201 header_size: 760 - request_size: 766 + request_size: 767 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 3.569303 - namelookup_time: 0.035698 - connect_time: 0.10051 - pretransfer_time: 0.169292 + total_time: 1.349426 + namelookup_time: 0.002066 + connect_time: 0.031908 + pretransfer_time: 0.063763 size_upload: 462.0 - size_download: 17580.0 - speed_download: 4925.0 - speed_upload: 129.0 - download_content_length: 17580.0 + size_download: 14425.0 + speed_download: 10689.0 + speed_upload: 342.0 + download_content_length: 14425.0 upload_content_length: 462.0 - starttransfer_time: 3.503918 + starttransfer_time: 1.32044 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.19 - local_port: 57974 + local_ip: 192.168.1.75 + local_port: 52605 http_version: 2 protocol: 2 ssl_verifyresult: 0 scheme: https - appconnect_time_us: 169246 - connect_time_us: 100510 - namelookup_time_us: 35698 - pretransfer_time_us: 169292 + appconnect_time_us: 63688 + connect_time_us: 31908 + namelookup_time_us: 2066 + pretransfer_time_us: 63763 redirect_time_us: 0 - starttransfer_time_us: 3503918 - total_time_us: 3569303 + starttransfer_time_us: 1320440 + total_time_us: 1349426 effective_method: POST capath: '' cainfo: '' @@ -82,7 +82,7 @@ - request: method: GET - url: 'https://api.easypost.com/v2/orders/order_f551f3056afc4e7698d219ad4738f604' + url: 'https://api.easypost.com/v2/orders/order_351ef0b799434cc5ac4c20ee036f83aa' headers: Host: api.easypost.com Accept-Encoding: '' @@ -101,57 +101,57 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 2a24806a666c73e1e78aa06e00051082 + x-ep-request-uuid: e181587a66bceba8e2b8faf30086a780 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '16262' - x-runtime: '0.148154' - x-node: bigweb40nuq - x-version-label: easypost-202406132320-de9fa0c698-master + content-length: '13107' + x-runtime: '0.143186' + x-node: bigweb35nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb4nuq 9d6131b01c', 'extlb2nuq a97f7bac00'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"mode":"test","reference":"","is_return":false,"options":{"currency":"USD","payment":{"type":"SENDER"}},"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"}],"created_at":"2024-06-14T16:46:21Z","updated_at":"2024-06-14T16:46:24Z","customs_info":null,"from_address":{"id":"adr_a1293bc52a6d11ef9f74ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:21+00:00","updated_at":"2024-06-14T16:46:21+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":[]},"to_address":{"id":"adr_a127573c2a6d11ef9f73ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:21+00:00","updated_at":"2024-06-14T16:46:21+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_a127573c2a6d11ef9f73ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:21+00:00","updated_at":"2024-06-14T16:46:21+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"return_address":{"id":"adr_a1293bc52a6d11ef9f74ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:21+00:00","updated_at":"2024-06-14T16:46:21+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":[]},"shipments":[{"created_at":"2024-06-14T16:46:21Z","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-06-14T16:46:21Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_a1293bc52a6d11ef9f74ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:21+00:00","updated_at":"2024-06-14T16:46:21+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":[]},"insurance":null,"order_id":"order_f551f3056afc4e7698d219ad4738f604","parcel":{"id":"prcl_e9522aa3efdb495195874efae4d96a32","object":"Parcel","created_at":"2024-06-14T16:46:21Z","updated_at":"2024-06-14T16:46:21Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":10.2,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_acb907e31d0f4f6bb1ce60f9b71f138d","object":"Rate","created_at":"2024-06-14T16:46:24Z","updated_at":"2024-06-14T16:46:24Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_7a0f3e2052bf492f8a185949e2f26748","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_40789ec3646b4852b1cba9768eea011c","object":"Rate","created_at":"2024-06-14T16:46:24Z","updated_at":"2024-06-14T16:46:24Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.88","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_7a0f3e2052bf492f8a185949e2f26748","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_87cd8cbf7ce74523b20112cb43340fba","object":"Rate","created_at":"2024-06-14T16:46:24Z","updated_at":"2024-06-14T16:46:24Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_7a0f3e2052bf492f8a185949e2f26748","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_3ed363dfb98d4f06987fd13c80f40a72","object":"Rate","created_at":"2024-06-14T16:46:24Z","updated_at":"2024-06-14T16:46:24Z","mode":"test","service":"First","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_7a0f3e2052bf492f8a185949e2f26748","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_4685e6985ae444e8a24eb5e98bacf459","object":"Rate","created_at":"2024-06-14T16:46:24Z","updated_at":"2024-06-14T16:46:24Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_7a0f3e2052bf492f8a185949e2f26748","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_a127573c2a6d11ef9f73ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:21+00:00","updated_at":"2024-06-14T16:46:21+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_a1293bc52a6d11ef9f74ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:21+00:00","updated_at":"2024-06-14T16:46:21+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":[]},"buyer_address":{"id":"adr_a127573c2a6d11ef9f73ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:21+00:00","updated_at":"2024-06-14T16:46:21+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_7a0f3e2052bf492f8a185949e2f26748","object":"Shipment"},{"created_at":"2024-06-14T16:46:21Z","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-06-14T16:46:21Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_a1293bc52a6d11ef9f74ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:21+00:00","updated_at":"2024-06-14T16:46:21+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":[]},"insurance":null,"order_id":"order_f551f3056afc4e7698d219ad4738f604","parcel":{"id":"prcl_2bf30cb4fefb4c67a2f6474bc8dc436e","object":"Parcel","created_at":"2024-06-14T16:46:21Z","updated_at":"2024-06-14T16:46:21Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":17.5,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_f91bec2b4e76420e90a6db1eb287fa85","object":"Rate","created_at":"2024-06-14T16:46:24Z","updated_at":"2024-06-14T16:46:24Z","mode":"test","service":"Express","carrier":"USPS","rate":"37.20","currency":"USD","retail_rate":"42.80","retail_currency":"USD","list_rate":"37.20","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_d5ff4c47598b45aaaa26825e1516032f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_82c686ea233c4a698a3e613935cce5cc","object":"Rate","created_at":"2024-06-14T16:46:24Z","updated_at":"2024-06-14T16:46:24Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.91","currency":"USD","retail_rate":"12.50","retail_currency":"USD","list_rate":"8.97","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_d5ff4c47598b45aaaa26825e1516032f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_e97baadece804c339b815056c88d23c8","object":"Rate","created_at":"2024-06-14T16:46:24Z","updated_at":"2024-06-14T16:46:24Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d5ff4c47598b45aaaa26825e1516032f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_a4641eb2fa6f4fb5922de1c549d2c16f","object":"Rate","created_at":"2024-06-14T16:46:24Z","updated_at":"2024-06-14T16:46:24Z","mode":"test","service":"First","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d5ff4c47598b45aaaa26825e1516032f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_633fdaafccdd4b3bbe7a82594bc5ca6b","object":"Rate","created_at":"2024-06-14T16:46:24Z","updated_at":"2024-06-14T16:46:24Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"6.26","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d5ff4c47598b45aaaa26825e1516032f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_a127573c2a6d11ef9f73ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:21+00:00","updated_at":"2024-06-14T16:46:21+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_a1293bc52a6d11ef9f74ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:21+00:00","updated_at":"2024-06-14T16:46:21+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":[]},"buyer_address":{"id":"adr_a127573c2a6d11ef9f73ac1f6bc53342","object":"Address","created_at":"2024-06-14T16:46:21+00:00","updated_at":"2024-06-14T16:46:21+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_d5ff4c47598b45aaaa26825e1516032f","object":"Shipment"}],"rates":[{"id":"rate_acb907e31d0f4f6bb1ce60f9b71f138d","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Express","carrier":"USPS","rate":"70.30","currency":"USD","retail_rate":"80.70","retail_currency":"USD","list_rate":"70.30","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_7a0f3e2052bf492f8a185949e2f26748","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_40789ec3646b4852b1cba9768eea011c","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Priority","carrier":"USPS","rate":"13.79","currency":"USD","retail_rate":"22.30","retail_currency":"USD","list_rate":"17.22","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_7a0f3e2052bf492f8a185949e2f26748","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_87cd8cbf7ce74523b20112cb43340fba","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7a0f3e2052bf492f8a185949e2f26748","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_3ed363dfb98d4f06987fd13c80f40a72","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"First","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7a0f3e2052bf492f8a185949e2f26748","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_4685e6985ae444e8a24eb5e98bacf459","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"11.33","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7a0f3e2052bf492f8a185949e2f26748","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"id":"order_f551f3056afc4e7698d219ad4738f604","object":"Order"}' + body: '{"mode":"test","reference":"","is_return":false,"options":{"currency":"USD","payment":{"type":"SENDER"}},"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"}],"created_at":"2024-08-14T17:38:47Z","updated_at":"2024-08-14T17:38:48Z","customs_info":null,"from_address":{"id":"adr_0f4ff40a5a6411ef8a4cac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:38:47+00:00","updated_at":"2024-08-14T17:38:47+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":[]},"to_address":{"id":"adr_0f4e2efe5a6411efac27ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:47+00:00","updated_at":"2024-08-14T17:38:47+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_0f4e2efe5a6411efac27ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:47+00:00","updated_at":"2024-08-14T17:38:47+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"return_address":{"id":"adr_0f4ff40a5a6411ef8a4cac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:38:47+00:00","updated_at":"2024-08-14T17:38:47+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":[]},"shipments":[{"created_at":"2024-08-14T17:38:47Z","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-08-14T17:38:47Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_0f4ff40a5a6411ef8a4cac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:38:47+00:00","updated_at":"2024-08-14T17:38:47+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":[]},"insurance":null,"order_id":"order_351ef0b799434cc5ac4c20ee036f83aa","parcel":{"id":"prcl_32ff9ac20e474959ac2bbea0e6c7bf7e","object":"Parcel","created_at":"2024-08-14T17:38:47Z","updated_at":"2024-08-14T17:38:47Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":10.2,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_405ff248bf2841af884b6fd7815d8b89","object":"Rate","created_at":"2024-08-14T17:38:47Z","updated_at":"2024-08-14T17:38:47Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_da5b2f156aa0457a94518356581b7690","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_fe93987db5f045a3b72dfdaed3f21e32","object":"Rate","created_at":"2024-08-14T17:38:47Z","updated_at":"2024-08-14T17:38:47Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_da5b2f156aa0457a94518356581b7690","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_8948f78813884f56b9bcc32f40546db5","object":"Rate","created_at":"2024-08-14T17:38:47Z","updated_at":"2024-08-14T17:38:47Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.07","currency":"USD","retail_rate":"6.70","retail_currency":"USD","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_da5b2f156aa0457a94518356581b7690","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_0f4e2efe5a6411efac27ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:47+00:00","updated_at":"2024-08-14T17:38:47+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_0f4ff40a5a6411ef8a4cac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:38:47+00:00","updated_at":"2024-08-14T17:38:47+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":[]},"buyer_address":{"id":"adr_0f4e2efe5a6411efac27ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:47+00:00","updated_at":"2024-08-14T17:38:47+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_da5b2f156aa0457a94518356581b7690","object":"Shipment"},{"created_at":"2024-08-14T17:38:47Z","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-08-14T17:38:47Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_0f4ff40a5a6411ef8a4cac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:38:47+00:00","updated_at":"2024-08-14T17:38:47+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":[]},"insurance":null,"order_id":"order_351ef0b799434cc5ac4c20ee036f83aa","parcel":{"id":"prcl_92da5719fcb6453fb4fe6f7abb0692ff","object":"Parcel","created_at":"2024-08-14T17:38:47Z","updated_at":"2024-08-14T17:38:47Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":17.5,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_a6b211f77b14485db1e7525e5c15c318","object":"Rate","created_at":"2024-08-14T17:38:48Z","updated_at":"2024-08-14T17:38:48Z","mode":"test","service":"Express","carrier":"USPS","rate":"37.20","currency":"USD","retail_rate":"42.80","retail_currency":"USD","list_rate":"37.20","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_0ea3ebe8a62d43a1956989bce73addcc","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_ff645baa77b241859f6de63516b292c5","object":"Rate","created_at":"2024-08-14T17:38:48Z","updated_at":"2024-08-14T17:38:48Z","mode":"test","service":"Priority","carrier":"USPS","rate":"7.58","currency":"USD","retail_rate":"12.50","retail_currency":"USD","list_rate":"8.97","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_0ea3ebe8a62d43a1956989bce73addcc","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_3263fb3513b44a978fbaa9c25929c977","object":"Rate","created_at":"2024-08-14T17:38:48Z","updated_at":"2024-08-14T17:38:48Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"6.33","currency":"USD","retail_rate":"10.80","retail_currency":"USD","list_rate":"7.75","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_0ea3ebe8a62d43a1956989bce73addcc","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_0f4e2efe5a6411efac27ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:47+00:00","updated_at":"2024-08-14T17:38:47+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_0f4ff40a5a6411ef8a4cac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:38:47+00:00","updated_at":"2024-08-14T17:38:47+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":[]},"buyer_address":{"id":"adr_0f4e2efe5a6411efac27ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:38:47+00:00","updated_at":"2024-08-14T17:38:47+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_0ea3ebe8a62d43a1956989bce73addcc","object":"Shipment"}],"rates":[{"id":"rate_405ff248bf2841af884b6fd7815d8b89","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Express","carrier":"USPS","rate":"70.30","currency":"USD","retail_rate":"80.70","retail_currency":"USD","list_rate":"70.30","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_da5b2f156aa0457a94518356581b7690","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_fe93987db5f045a3b72dfdaed3f21e32","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"Priority","carrier":"USPS","rate":"14.48","currency":"USD","retail_rate":"22.30","retail_currency":"USD","list_rate":"17.22","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_da5b2f156aa0457a94518356581b7690","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_8948f78813884f56b9bcc32f40546db5","object":"Rate","created_at":null,"updated_at":null,"mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"11.40","currency":"USD","retail_rate":"17.50","retail_currency":"USD","list_rate":"12.82","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_da5b2f156aa0457a94518356581b7690","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"id":"order_351ef0b799434cc5ac4c20ee036f83aa","object":"Order"}' curl_info: - url: 'https://api.easypost.com/v2/orders/order_f551f3056afc4e7698d219ad4738f604' + url: 'https://api.easypost.com/v2/orders/order_351ef0b799434cc5ac4c20ee036f83aa' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 690 - request_size: 321 + request_size: 322 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.415416 - namelookup_time: 0.001322 - connect_time: 0.066583 - pretransfer_time: 0.135131 + total_time: 0.288056 + namelookup_time: 0.005537 + connect_time: 0.038913 + pretransfer_time: 0.075593 size_upload: 0.0 - size_download: 16262.0 - speed_download: 39146.0 + size_download: 13107.0 + speed_download: 45501.0 speed_upload: 0.0 - download_content_length: 16262.0 + download_content_length: 13107.0 upload_content_length: 0.0 - starttransfer_time: 0.349723 + starttransfer_time: 0.255467 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.19 - local_port: 57975 + local_ip: 192.168.1.75 + local_port: 52606 http_version: 2 protocol: 2 ssl_verifyresult: 0 scheme: https - appconnect_time_us: 135066 - connect_time_us: 66583 - namelookup_time_us: 1322 - pretransfer_time_us: 135131 + appconnect_time_us: 75532 + connect_time_us: 38913 + namelookup_time_us: 5537 + pretransfer_time_us: 75593 redirect_time_us: 0 - starttransfer_time_us: 349723 - total_time_us: 415416 + starttransfer_time_us: 255467 + total_time_us: 288056 effective_method: GET capath: '' cainfo: '' diff --git a/test/cassettes/parcels/create.yml b/test/cassettes/parcels/create.yml index d4d0d455..fe716370 100644 --- a/test/cassettes/parcels/create.yml +++ b/test/cassettes/parcels/create.yml @@ -14,8 +14,7 @@ body: '{"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911e655e650ae7885cff001ff4bc + x-ep-request-uuid: e181587666bcec1ce2b903b500871bbd cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/parcels/prcl_a0df3df8c69e49d4a97a971878611d93 + location: /api/v2/parcels/prcl_79a5e794d45a42ecb34da66e44225bcf content-type: 'application/json; charset=utf-8' content-length: '229' - x-runtime: '0.034252' - x-node: bigweb35nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.032582' + x-node: bigweb39nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"prcl_a0df3df8c69e49d4a97a971878611d93","object":"Parcel","created_at":"2023-11-22T20:31:06Z","updated_at":"2023-11-22T20:31:06Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"}' + body: '{"id":"prcl_79a5e794d45a42ecb34da66e44225bcf","object":"Parcel","created_at":"2024-08-14T17:40:44Z","updated_at":"2024-08-14T17:40:44Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"}' curl_info: url: 'https://api.easypost.com/v2/parcels' content_type: 'application/json; charset=utf-8' @@ -47,33 +46,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.2547 - namelookup_time: 0.00264 - connect_time: 0.065 - pretransfer_time: 0.155959 + total_time: 0.141535 + namelookup_time: 0.00201 + connect_time: 0.035048 + pretransfer_time: 0.072237 size_upload: 67.0 size_download: 229.0 - speed_download: 899.0 - speed_upload: 263.0 + speed_download: 1617.0 + speed_upload: 473.0 download_content_length: 229.0 upload_content_length: 67.0 - starttransfer_time: 0.254669 + starttransfer_time: 0.141457 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53505 + local_ip: 192.168.1.75 + local_port: 52824 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 155934 - connect_time_us: 65000 - namelookup_time_us: 2640 - pretransfer_time_us: 155959 + scheme: https + appconnect_time_us: 72157 + connect_time_us: 35048 + namelookup_time_us: 2010 + pretransfer_time_us: 72237 redirect_time_us: 0 - starttransfer_time_us: 254669 - total_time_us: 254700 + starttransfer_time_us: 141457 + total_time_us: 141535 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/parcels/retrieve.yml b/test/cassettes/parcels/retrieve.yml index 25f5e830..f4b1c9df 100644 --- a/test/cassettes/parcels/retrieve.yml +++ b/test/cassettes/parcels/retrieve.yml @@ -14,8 +14,7 @@ body: '{"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911e655e650ae7885d00001ff4fe + x-ep-request-uuid: e181587a66bcec1ce2b903b600871be0 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/parcels/prcl_5e22e37d50c94e5287ed6a2f93476f85 + location: /api/v2/parcels/prcl_69a8bd175a4e48a6a7ab64efd5bec9f7 content-type: 'application/json; charset=utf-8' content-length: '229' - x-runtime: '0.035874' - x-node: bigweb39nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.053238' + x-node: bigweb41nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"prcl_5e22e37d50c94e5287ed6a2f93476f85","object":"Parcel","created_at":"2023-11-22T20:31:06Z","updated_at":"2023-11-22T20:31:06Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"}' + body: '{"id":"prcl_69a8bd175a4e48a6a7ab64efd5bec9f7","object":"Parcel","created_at":"2024-08-14T17:40:44Z","updated_at":"2024-08-14T17:40:44Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"}' curl_info: url: 'https://api.easypost.com/v2/parcels' content_type: 'application/json; charset=utf-8' @@ -47,40 +46,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.227965 - namelookup_time: 0.001187 - connect_time: 0.062543 - pretransfer_time: 0.12811 + total_time: 0.153017 + namelookup_time: 0.00198 + connect_time: 0.031359 + pretransfer_time: 0.06378 size_upload: 67.0 size_download: 229.0 - speed_download: 1004.0 - speed_upload: 293.0 + speed_download: 1496.0 + speed_upload: 437.0 download_content_length: 229.0 upload_content_length: 67.0 - starttransfer_time: 0.227935 + starttransfer_time: 0.152993 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53506 + local_ip: 192.168.1.75 + local_port: 52825 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 128054 - connect_time_us: 62543 - namelookup_time_us: 1187 - pretransfer_time_us: 128110 + scheme: https + appconnect_time_us: 63720 + connect_time_us: 31359 + namelookup_time_us: 1980 + pretransfer_time_us: 63780 redirect_time_us: 0 - starttransfer_time_us: 227935 - total_time_us: 227965 + starttransfer_time_us: 152993 + total_time_us: 153017 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/parcels/prcl_5e22e37d50c94e5287ed6a2f93476f85' + url: 'https://api.easypost.com/v2/parcels/prcl_69a8bd175a4e48a6a7ab64efd5bec9f7' headers: Host: api.easypost.com Accept-Encoding: '' @@ -90,8 +92,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -100,21 +101,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911b655e650be7885d01001ff54a + x-ep-request-uuid: e181587766bcec1ce2b903b700871c02 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '229' - x-runtime: '0.025118' - x-node: bigweb33nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.021398' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"prcl_5e22e37d50c94e5287ed6a2f93476f85","object":"Parcel","created_at":"2023-11-22T20:31:06Z","updated_at":"2023-11-22T20:31:06Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"}' + body: '{"id":"prcl_69a8bd175a4e48a6a7ab64efd5bec9f7","object":"Parcel","created_at":"2024-08-14T17:40:44Z","updated_at":"2024-08-14T17:40:44Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"}' curl_info: - url: 'https://api.easypost.com/v2/parcels/prcl_5e22e37d50c94e5287ed6a2f93476f85' + url: 'https://api.easypost.com/v2/parcels/prcl_69a8bd175a4e48a6a7ab64efd5bec9f7' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 688 @@ -122,33 +123,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.216453 - namelookup_time: 0.001852 - connect_time: 0.063997 - pretransfer_time: 0.127919 + total_time: 0.120328 + namelookup_time: 0.00231 + connect_time: 0.031592 + pretransfer_time: 0.065319 size_upload: 0.0 size_download: 229.0 - speed_download: 1057.0 + speed_download: 1903.0 speed_upload: 0.0 download_content_length: 229.0 upload_content_length: 0.0 - starttransfer_time: 0.216409 + starttransfer_time: 0.12024 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53507 + local_ip: 192.168.1.75 + local_port: 52826 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 127890 - connect_time_us: 63997 - namelookup_time_us: 1852 - pretransfer_time_us: 127919 + scheme: https + appconnect_time_us: 65269 + connect_time_us: 31592 + namelookup_time_us: 2310 + pretransfer_time_us: 65319 redirect_time_us: 0 - starttransfer_time_us: 216409 - total_time_us: 216453 + starttransfer_time_us: 120240 + total_time_us: 120328 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/pickups/all.yml b/test/cassettes/pickups/all.yml index d6adecae..ad3345f6 100644 --- a/test/cassettes/pickups/all.yml +++ b/test/cassettes/pickups/all.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,56 +21,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911c655e66f7e78861e40021c865 + x-ep-request-uuid: e181587d66bcebc8e2b8fb510086c791 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '5558' - x-runtime: '0.066066' - x-node: bigweb43nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '5840' + x-runtime: '0.089606' + x-node: bigweb38nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"pickups":[{"id":"pickup_ff10e764ca7c4b2492aa49f7c9f65086","object":"Pickup","created_at":"2023-11-22T20:39:17Z","updated_at":"2023-11-22T20:39:19Z","mode":"test","status":"canceled","reference":null,"min_datetime":"2023-11-24T00:00:00Z","max_datetime":"2023-11-24T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":"WTC63727398","address":{"id":"adr_347f6026897711eea1283cecef1b359e","object":"Address","created_at":"2023-11-22T20:39:16+00:00","updated_at":"2023-11-22T20:39:16+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":"2023-11-22T20:39:17Z","updated_at":"2023-11-22T20:39:17Z","carrier":"USPS","pickup_id":"pickup_ff10e764ca7c4b2492aa49f7c9f65086","id":"pickuprate_5886de5e790549878790238ef9399cc8","object":"PickupRate"}]},{"id":"pickup_1fa2ed2492934d2e99fea85e397c52aa","object":"Pickup","created_at":"2023-11-22T20:39:12Z","updated_at":"2023-11-22T20:39:15Z","mode":"test","status":"scheduled","reference":null,"min_datetime":"2023-11-24T00:00:00Z","max_datetime":"2023-11-24T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":"WTC63727394","address":{"id":"adr_3207803c897711eea19dac1f6bc53342","object":"Address","created_at":"2023-11-22T20:39:12+00:00","updated_at":"2023-11-22T20:39:12+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":"2023-11-22T20:39:13Z","updated_at":"2023-11-22T20:39:13Z","carrier":"USPS","pickup_id":"pickup_1fa2ed2492934d2e99fea85e397c52aa","id":"pickuprate_c3723883dc374bee9d804b6df89d1dcd","object":"PickupRate"}]},{"id":"pickup_e94e21c18e70478994ce1cbf90dbe038","object":"Pickup","created_at":"2023-11-22T20:39:10Z","updated_at":"2023-11-22T20:39:10Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2023-11-24T00:00:00Z","max_datetime":"2023-11-24T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_30847979897711eea0d8ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:39:10+00:00","updated_at":"2023-11-22T20:39:10+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":"2023-11-22T20:39:11Z","updated_at":"2023-11-22T20:39:11Z","carrier":"USPS","pickup_id":"pickup_e94e21c18e70478994ce1cbf90dbe038","id":"pickuprate_6d4db2135cd54b609c756e751756087f","object":"PickupRate"}]},{"id":"pickup_9acf13d6a0f44590bcee7b69eddb3364","object":"Pickup","created_at":"2023-11-22T20:39:06Z","updated_at":"2023-11-22T20:39:06Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2023-11-24T00:00:00Z","max_datetime":"2023-11-24T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_2e756e2a897711eeb119ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:39:06+00:00","updated_at":"2023-11-22T20:39:06+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":"2023-11-22T20:39:08Z","updated_at":"2023-11-22T20:39:08Z","carrier":"USPS","pickup_id":"pickup_9acf13d6a0f44590bcee7b69eddb3364","id":"pickuprate_4583793be3094a5492a361fd5cb8e64e","object":"PickupRate"}]},{"id":"pickup_bd977dc56a834d5496c63541422fc34a","object":"Pickup","created_at":"2023-11-22T20:31:06Z","updated_at":"2023-11-22T20:31:06Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2022-12-09T00:00:00Z","max_datetime":"2022-12-09T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_0fd36520897611eea0163cecef1b359e","object":"Address","created_at":"2023-11-22T20:31:05+00:00","updated_at":"2023-11-22T20:31:05+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":[]}],"has_more":true}' + body: '{"pickups":[{"id":"pickup_0c3d2ca29ba146d2afe4a392df91143f","object":"Pickup","created_at":"2024-08-14T17:39:18Z","updated_at":"2024-08-14T17:39:20Z","mode":"test","status":"scheduled","reference":null,"min_datetime":"2024-08-18T00:00:00Z","max_datetime":"2024-08-18T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":"WTC64761210","address":{"id":"adr_21aaeaf85a6411efa967ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:17+00:00","updated_at":"2024-08-14T17:39:17+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":"2024-08-14T17:39:18Z","updated_at":"2024-08-14T17:39:18Z","carrier":"USPS","pickup_id":"pickup_0c3d2ca29ba146d2afe4a392df91143f","id":"pickuprate_1dbc80b0db814eff9beb2bb9b2490a3c","object":"PickupRate"}]},{"id":"pickup_621795e10b7c48d38e9dab1a81aec25d","object":"Pickup","created_at":"2024-08-14T17:39:11Z","updated_at":"2024-08-14T17:39:16Z","mode":"test","status":"canceled","reference":null,"min_datetime":"2024-08-18T00:00:00Z","max_datetime":"2024-08-18T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":"WTC64761208","address":{"id":"adr_1df733c75a6411efb5c7ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:11+00:00","updated_at":"2024-08-14T17:39:11+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":"2024-08-14T17:39:12Z","updated_at":"2024-08-14T17:39:12Z","carrier":"USPS","pickup_id":"pickup_621795e10b7c48d38e9dab1a81aec25d","id":"pickuprate_3a3131032def494c9c39f0894e6fcdb2","object":"PickupRate"}]},{"id":"pickup_78d5613d2cb644a0947a12d14611345b","object":"Pickup","created_at":"2024-08-14T17:39:09Z","updated_at":"2024-08-14T17:39:09Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2024-08-18T00:00:00Z","max_datetime":"2024-08-18T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_1c5748cc5a6411efb481ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:09+00:00","updated_at":"2024-08-14T17:39:09+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":"2024-08-14T17:39:10Z","updated_at":"2024-08-14T17:39:10Z","carrier":"USPS","pickup_id":"pickup_78d5613d2cb644a0947a12d14611345b","id":"pickuprate_5b6e8d25053a4ea093b41f8ede7c8978","object":"PickupRate"}]},{"id":"pickup_9e608d57efea4f159d04b43be6ced06f","object":"Pickup","created_at":"2024-08-14T17:39:06Z","updated_at":"2024-08-14T17:39:06Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2024-08-18T00:00:00Z","max_datetime":"2024-08-18T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_1aa72e9a5a6411efa468ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:06+00:00","updated_at":"2024-08-14T17:39:06+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":"2024-08-14T17:39:07Z","updated_at":"2024-08-14T17:39:07Z","carrier":"USPS","pickup_id":"pickup_9e608d57efea4f159d04b43be6ced06f","id":"pickuprate_a4efe67f7e734001aa73509a7bf894ad","object":"PickupRate"}]},{"id":"pickup_cf1b204c14d0456ab46e400f820e58c9","object":"Pickup","created_at":"2024-08-14T17:39:03Z","updated_at":"2024-08-14T17:39:03Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2024-08-18T00:00:00Z","max_datetime":"2024-08-18T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_18ec1a4c5a6411efa2e6ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:03+00:00","updated_at":"2024-08-14T17:39:03+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":"2024-08-14T17:39:04Z","updated_at":"2024-08-14T17:39:04Z","carrier":"USPS","pickup_id":"pickup_cf1b204c14d0456ab46e400f820e58c9","id":"pickuprate_84d1e6e7bafc428684c7eff1f2d4f085","object":"PickupRate"}]}],"has_more":true}' curl_info: url: 'https://api.easypost.com/v2/pickups?page_size=5' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 707 + header_size: 689 request_size: 296 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.270427 - namelookup_time: 0.001456 - connect_time: 0.067381 - pretransfer_time: 0.139157 + total_time: 0.186652 + namelookup_time: 0.002294 + connect_time: 0.031285 + pretransfer_time: 0.063149 size_upload: 0.0 - size_download: 5558.0 - speed_download: 20552.0 + size_download: 5840.0 + speed_download: 31288.0 speed_upload: 0.0 - download_content_length: 5558.0 + download_content_length: 5840.0 upload_content_length: 0.0 - starttransfer_time: 0.270083 + starttransfer_time: 0.186562 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53654 + local_ip: 192.168.1.75 + local_port: 52631 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 139132 - connect_time_us: 67381 - namelookup_time_us: 1456 - pretransfer_time_us: 139157 + scheme: https + appconnect_time_us: 63103 + connect_time_us: 31285 + namelookup_time_us: 2294 + pretransfer_time_us: 63149 redirect_time_us: 0 - starttransfer_time_us: 270083 - total_time_us: 270427 + starttransfer_time_us: 186562 + total_time_us: 186652 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/pickups/buy.yml b/test/cassettes/pickups/buy.yml index 967bbd15..989c4a2a 100644 --- a/test/cassettes/pickups/buy.yml +++ b/test/cassettes/pickups/buy.yml @@ -11,11 +11,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"First","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' + body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"GroundAdvantage","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,58 +23,61 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef9120655e66efe78861c60021c19c + x-ep-request-uuid: e181587966bcebc4e2b8fb360086c448 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_c5daf141c2b34799af3077bf9de5d9dd + location: /api/v2/shipments/shp_2d5c2a6162c4453cb2e922f605b2a492 content-type: 'application/json; charset=utf-8' - content-length: '7619' - x-runtime: '1.035219' - x-node: bigweb35nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '6549' + x-runtime: '1.243898' + x-node: bigweb36nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:39:11Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105440282038153","updated_at":"2023-11-22T20:39:12Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_31402509897711ee90f7ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:39:11+00:00","updated_at":"2023-11-22T20:39:11+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_3cf2a299698e4c34bb38afedaf7f3e7b","object":"Parcel","created_at":"2023-11-22T20:39:11Z","updated_at":"2023-11-22T20:39:11Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_135964fd2fc34a3aaf2265175238525f","created_at":"2023-11-22T20:39:12Z","updated_at":"2023-11-22T20:39:12Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:39: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\/20231122\/e8268c3592d79a40a482b0a08467ce27aa.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_46ec341566c348dd83723b2097fa521d","object":"Rate","created_at":"2023-11-22T20:39:11Z","updated_at":"2023-11-22T20:39: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_c5daf141c2b34799af3077bf9de5d9dd","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_c6e2859da232460d8bdafe9f256d5f2e","object":"Rate","created_at":"2023-11-22T20:39:11Z","updated_at":"2023-11-22T20:39: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_c5daf141c2b34799af3077bf9de5d9dd","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_70ff3eceb1ae4ce199536d53bde036a0","object":"Rate","created_at":"2023-11-22T20:39:11Z","updated_at":"2023-11-22T20:39:11Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c5daf141c2b34799af3077bf9de5d9dd","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_0613f66cba9544fc8add1e23cb015f8a","object":"Rate","created_at":"2023-11-22T20:39:11Z","updated_at":"2023-11-22T20:39:11Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c5daf141c2b34799af3077bf9de5d9dd","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_e1c694ea811240f599e93a44b143520f","object":"Rate","created_at":"2023-11-22T20:39:11Z","updated_at":"2023-11-22T20:39:11Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c5daf141c2b34799af3077bf9de5d9dd","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_0613f66cba9544fc8add1e23cb015f8a","object":"Rate","created_at":"2023-11-22T20:39:12Z","updated_at":"2023-11-22T20:39:12Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c5daf141c2b34799af3077bf9de5d9dd","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_9be55c49ae064544844e8370ae302dad","object":"Tracker","mode":"test","tracking_code":"9400100105440282038153","status":"unknown","status_detail":"unknown","created_at":"2023-11-22T20:39:12Z","updated_at":"2023-11-22T20:39:12Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_c5daf141c2b34799af3077bf9de5d9dd","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzliZTU1YzQ5YWUwNjQ1NDQ4NDRlODM3MGFlMzAyZGFk"},"to_address":{"id":"adr_313c850b897711eea13cac1f6bc53342","object":"Address","created_at":"2023-11-22T20:39:11+00:00","updated_at":"2023-11-22T20:39:11+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_31402509897711ee90f7ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:39:11+00:00","updated_at":"2023-11-22T20:39:11+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_313c850b897711eea13cac1f6bc53342","object":"Address","created_at":"2023-11-22T20:39:11+00:00","updated_at":"2023-11-22T20:39:11+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_c5daf141c2b34799af3077bf9de5d9dd","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:16Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196566","updated_at":"2024-08-14T17:39:17Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_20dcd8af5a6411efb64d3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:16+00:00","updated_at":"2024-08-14T17:39:16+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_24a0fe4d946544eda84edb39509a26a6","object":"Parcel","created_at":"2024-08-14T17:39:16Z","updated_at":"2024-08-14T17:39:16Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_06aa17ab35484c3eb08b39e8e1febda9","created_at":"2024-08-14T17:39:17Z","updated_at":"2024-08-14T17:39:17Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e84e1a8488fb4f4f8b963e94e292485a1c.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_48f9ff1547414a7d82570f844c72b54b","object":"Rate","created_at":"2024-08-14T17:39:16Z","updated_at":"2024-08-14T17:39:16Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_2d5c2a6162c4453cb2e922f605b2a492","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_18e695953452455daf7530cab5bfecbc","object":"Rate","created_at":"2024-08-14T17:39:16Z","updated_at":"2024-08-14T17:39:16Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_2d5c2a6162c4453cb2e922f605b2a492","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_0e3fc620b1ea4e5681e3d85bff129468","object":"Rate","created_at":"2024-08-14T17:39:16Z","updated_at":"2024-08-14T17:39:16Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_2d5c2a6162c4453cb2e922f605b2a492","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_18e695953452455daf7530cab5bfecbc","object":"Rate","created_at":"2024-08-14T17:39:17Z","updated_at":"2024-08-14T17:39:17Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_2d5c2a6162c4453cb2e922f605b2a492","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_91b0a5d1cfdc429c8cb0e3f5427ca769","object":"Tracker","mode":"test","tracking_code":"9400100105807075196566","status":"unknown","status_detail":"unknown","created_at":"2024-08-14T17:39:17Z","updated_at":"2024-08-14T17:39:17Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_2d5c2a6162c4453cb2e922f605b2a492","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzkxYjBhNWQxY2ZkYzQyOWM4Y2IwZTNmNTQyN2NhNzY5"},"to_address":{"id":"adr_20da55495a6411ef9612ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:16+00:00","updated_at":"2024-08-14T17:39:17+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_20dcd8af5a6411efb64d3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:16+00:00","updated_at":"2024-08-14T17:39:16+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_20da55495a6411ef9612ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:16+00:00","updated_at":"2024-08-14T17:39:17+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_2d5c2a6162c4453cb2e922f605b2a492","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' http_code: 201 header_size: 760 - request_size: 861 + request_size: 871 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.235788 - namelookup_time: 0.001236 - connect_time: 0.066014 - pretransfer_time: 0.13481 - size_upload: 553.0 - size_download: 7619.0 - speed_download: 6165.0 - speed_upload: 447.0 - download_content_length: 7619.0 - upload_content_length: 553.0 - starttransfer_time: 1.23572 + total_time: 1.354828 + namelookup_time: 0.002723 + connect_time: 0.032107 + pretransfer_time: 0.064691 + size_upload: 563.0 + size_download: 6549.0 + speed_download: 4833.0 + speed_upload: 415.0 + download_content_length: 6549.0 + upload_content_length: 563.0 + starttransfer_time: 1.354719 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53647 + local_ip: 192.168.1.75 + local_port: 52627 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 134780 - connect_time_us: 66014 - namelookup_time_us: 1236 - pretransfer_time_us: 134810 + scheme: https + appconnect_time_us: 64614 + connect_time_us: 32107 + namelookup_time_us: 2723 + pretransfer_time_us: 64691 redirect_time_us: 0 - starttransfer_time_us: 1235720 - total_time_us: 1235788 + starttransfer_time_us: 1354719 + total_time_us: 1354828 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: @@ -89,11 +91,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"pickup":{"address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"min_datetime":"2023-11-24","max_datetime":"2023-11-24","instructions":"Pickup at front door","shipment":{"id":"shp_c5daf141c2b34799af3077bf9de5d9dd"}}}' + body: '{"pickup":{"address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"min_datetime":"2024-08-18","max_datetime":"2024-08-18","instructions":"Pickup at front door","shipment":{"id":"shp_2d5c2a6162c4453cb2e922f605b2a492"}}}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -102,62 +103,66 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911c655e66f0e78861c70021c292 + x-ep-request-uuid: e181587d66bcebc5e2b8fb370086c58b cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1157' - x-runtime: '1.059931' - x-node: bigweb42nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.940466' + x-node: bigweb32nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-canary: direct + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"pickup_1fa2ed2492934d2e99fea85e397c52aa","object":"Pickup","created_at":"2023-11-22T20:39:12Z","updated_at":"2023-11-22T20:39:12Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2023-11-24T00:00:00Z","max_datetime":"2023-11-24T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_3207803c897711eea19dac1f6bc53342","object":"Address","created_at":"2023-11-22T20:39:12+00:00","updated_at":"2023-11-22T20:39:12+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":"2023-11-22T20:39:13Z","updated_at":"2023-11-22T20:39:13Z","carrier":"USPS","pickup_id":"pickup_1fa2ed2492934d2e99fea85e397c52aa","id":"pickuprate_c3723883dc374bee9d804b6df89d1dcd","object":"PickupRate"}]}' + body: '{"id":"pickup_0c3d2ca29ba146d2afe4a392df91143f","object":"Pickup","created_at":"2024-08-14T17:39:18Z","updated_at":"2024-08-14T17:39:18Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2024-08-18T00:00:00Z","max_datetime":"2024-08-18T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_21aaeaf85a6411efa967ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:17+00:00","updated_at":"2024-08-14T17:39:17+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":"2024-08-14T17:39:18Z","updated_at":"2024-08-14T17:39:18Z","carrier":"USPS","pickup_id":"pickup_0c3d2ca29ba146d2afe4a392df91143f","id":"pickuprate_1dbc80b0db814eff9beb2bb9b2490a3c","object":"PickupRate"}]}' curl_info: url: 'https://api.easypost.com/v2/pickups' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 689 + header_size: 707 request_size: 663 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.262045 - namelookup_time: 0.001394 - connect_time: 0.071748 - pretransfer_time: 0.135345 + total_time: 1.04223 + namelookup_time: 0.006477 + connect_time: 0.035992 + pretransfer_time: 0.067438 size_upload: 357.0 size_download: 1157.0 - speed_download: 916.0 - speed_upload: 282.0 + speed_download: 1110.0 + speed_upload: 342.0 download_content_length: 1157.0 upload_content_length: 357.0 - starttransfer_time: 1.262012 + starttransfer_time: 1.042156 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53648 + local_ip: 192.168.1.75 + local_port: 52628 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 135316 - connect_time_us: 71748 - namelookup_time_us: 1394 - pretransfer_time_us: 135345 + scheme: https + appconnect_time_us: 67361 + connect_time_us: 35992 + namelookup_time_us: 6477 + pretransfer_time_us: 67438 redirect_time_us: 0 - starttransfer_time_us: 1262012 - total_time_us: 1262045 + starttransfer_time_us: 1042156 + total_time_us: 1042230 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: POST - url: 'https://api.easypost.com/v2/pickups/pickup_1fa2ed2492934d2e99fea85e397c52aa/buy' + url: 'https://api.easypost.com/v2/pickups/pickup_0c3d2ca29ba146d2afe4a392df91143f/buy' headers: Host: api.easypost.com Expect: '' @@ -169,8 +174,7 @@ body: '{"carrier":"USPS","service":"NextDay"}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -179,21 +183,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911c655e66f2e78861c80021c37f + x-ep-request-uuid: e181587b66bcebc7e2b8fb380086c68c cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1168' - x-runtime: '1.281254' - x-node: bigweb36nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '1.078018' + x-node: bigweb40nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"pickup_1fa2ed2492934d2e99fea85e397c52aa","object":"Pickup","created_at":"2023-11-22T20:39:12Z","updated_at":"2023-11-22T20:39:15Z","mode":"test","status":"scheduled","reference":null,"min_datetime":"2023-11-24T00:00:00Z","max_datetime":"2023-11-24T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":"WTC63727394","address":{"id":"adr_3207803c897711eea19dac1f6bc53342","object":"Address","created_at":"2023-11-22T20:39:12+00:00","updated_at":"2023-11-22T20:39:12+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":"2023-11-22T20:39:13Z","updated_at":"2023-11-22T20:39:13Z","carrier":"USPS","pickup_id":"pickup_1fa2ed2492934d2e99fea85e397c52aa","id":"pickuprate_c3723883dc374bee9d804b6df89d1dcd","object":"PickupRate"}]}' + body: '{"id":"pickup_0c3d2ca29ba146d2afe4a392df91143f","object":"Pickup","created_at":"2024-08-14T17:39:18Z","updated_at":"2024-08-14T17:39:20Z","mode":"test","status":"scheduled","reference":null,"min_datetime":"2024-08-18T00:00:00Z","max_datetime":"2024-08-18T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":"WTC64761210","address":{"id":"adr_21aaeaf85a6411efa967ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:17+00:00","updated_at":"2024-08-14T17:39:17+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":"2024-08-14T17:39:18Z","updated_at":"2024-08-14T17:39:18Z","carrier":"USPS","pickup_id":"pickup_0c3d2ca29ba146d2afe4a392df91143f","id":"pickuprate_1dbc80b0db814eff9beb2bb9b2490a3c","object":"PickupRate"}]}' curl_info: - url: 'https://api.easypost.com/v2/pickups/pickup_1fa2ed2492934d2e99fea85e397c52aa/buy' + url: 'https://api.easypost.com/v2/pickups/pickup_0c3d2ca29ba146d2afe4a392df91143f/buy' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 689 @@ -201,33 +205,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.486476 - namelookup_time: 0.001059 - connect_time: 0.064931 - pretransfer_time: 0.133386 + total_time: 1.187968 + namelookup_time: 0.002637 + connect_time: 0.035898 + pretransfer_time: 0.073405 size_upload: 38.0 size_download: 1168.0 - speed_download: 785.0 - speed_upload: 25.0 + speed_download: 983.0 + speed_upload: 31.0 download_content_length: 1168.0 upload_content_length: 38.0 - starttransfer_time: 1.486451 + starttransfer_time: 1.187926 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53649 + local_ip: 192.168.1.75 + local_port: 52629 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 133315 - connect_time_us: 64931 - namelookup_time_us: 1059 - pretransfer_time_us: 133386 + scheme: https + appconnect_time_us: 73341 + connect_time_us: 35898 + namelookup_time_us: 2637 + pretransfer_time_us: 73405 redirect_time_us: 0 - starttransfer_time_us: 1486451 - total_time_us: 1486476 + starttransfer_time_us: 1187926 + total_time_us: 1187968 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/pickups/cancel.yml b/test/cassettes/pickups/cancel.yml index 81b92ae0..52f366e9 100644 --- a/test/cassettes/pickups/cancel.yml +++ b/test/cassettes/pickups/cancel.yml @@ -11,11 +11,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"First","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' + body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"GroundAdvantage","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,58 +23,61 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911f655e66f3e78861e00021c4ac + x-ep-request-uuid: e181587666bcebbee2b8fb320086be16 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_34ed05a77b58499e887639021f7c437e + location: /api/v2/shipments/shp_eb91f15220ce4fbc9a8557c3ec786ce0 content-type: 'application/json; charset=utf-8' - content-length: '7619' - x-runtime: '1.085739' - x-node: bigweb35nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '6549' + x-runtime: '1.206859' + x-node: bigweb41nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:39:15Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105440282038184","updated_at":"2023-11-22T20:39:16Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_33af3df4897711eea0a63cecef1b359e","object":"Address","created_at":"2023-11-22T20:39:15+00:00","updated_at":"2023-11-22T20:39:15+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_83129bf8e0a8474db036adfd02052bbe","object":"Parcel","created_at":"2023-11-22T20:39:15Z","updated_at":"2023-11-22T20:39:15Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_d032c117b01d47efbe8e6226e4e6b1ed","created_at":"2023-11-22T20:39:16Z","updated_at":"2023-11-22T20:39:16Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:39: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\/20231122\/e89ef413c643104fcba3dd67a281c809d6.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_9479dd84b3164bfea125d6fa29c0a4ad","object":"Rate","created_at":"2023-11-22T20:39:15Z","updated_at":"2023-11-22T20:39:15Z","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_34ed05a77b58499e887639021f7c437e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_a78a77f8c5cd4631bbb6d522347821a7","object":"Rate","created_at":"2023-11-22T20:39:15Z","updated_at":"2023-11-22T20:39:15Z","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_34ed05a77b58499e887639021f7c437e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_9781115a280344d494e10cfc36fe9041","object":"Rate","created_at":"2023-11-22T20:39:15Z","updated_at":"2023-11-22T20:39:15Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_34ed05a77b58499e887639021f7c437e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_e3ea19f589b3408eb5b33315e1062a47","object":"Rate","created_at":"2023-11-22T20:39:15Z","updated_at":"2023-11-22T20:39:15Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_34ed05a77b58499e887639021f7c437e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_a2f1beb896364a78a9d49bbc38c273e7","object":"Rate","created_at":"2023-11-22T20:39:15Z","updated_at":"2023-11-22T20:39:15Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_34ed05a77b58499e887639021f7c437e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_e3ea19f589b3408eb5b33315e1062a47","object":"Rate","created_at":"2023-11-22T20:39:16Z","updated_at":"2023-11-22T20:39:16Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_34ed05a77b58499e887639021f7c437e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_f5ea380a67594b47ade67d23597284e3","object":"Tracker","mode":"test","tracking_code":"9400100105440282038184","status":"unknown","status_detail":"unknown","created_at":"2023-11-22T20:39:16Z","updated_at":"2023-11-22T20:39:16Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_34ed05a77b58499e887639021f7c437e","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2Y1ZWEzODBhNjc1OTRiNDdhZGU2N2QyMzU5NzI4NGUz"},"to_address":{"id":"adr_33ad002b897711eeb3f3ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:39:15+00:00","updated_at":"2023-11-22T20:39:15+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_33af3df4897711eea0a63cecef1b359e","object":"Address","created_at":"2023-11-22T20:39:15+00:00","updated_at":"2023-11-22T20:39:15+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_33ad002b897711eeb3f3ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:39:15+00:00","updated_at":"2023-11-22T20:39:15+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_34ed05a77b58499e887639021f7c437e","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:10Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196498","updated_at":"2024-08-14T17:39:11Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_1d2b37395a6411efb534ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:10+00:00","updated_at":"2024-08-14T17:39:10+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_2920b84d513a4cf2be1b15454571333b","object":"Parcel","created_at":"2024-08-14T17:39:10Z","updated_at":"2024-08-14T17:39:10Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_e79f3785b7cc430ea32dea1b09ff51b8","created_at":"2024-08-14T17:39:11Z","updated_at":"2024-08-14T17:39:11Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e84939f8e043cd43049057e08a5af91b49.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_f13fa0fc415246b9971070e285d421c2","object":"Rate","created_at":"2024-08-14T17:39:10Z","updated_at":"2024-08-14T17:39:10Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_eb91f15220ce4fbc9a8557c3ec786ce0","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_3f6610c1517644658bb9eb592a24cbd4","object":"Rate","created_at":"2024-08-14T17:39:10Z","updated_at":"2024-08-14T17:39:10Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_eb91f15220ce4fbc9a8557c3ec786ce0","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_ac92d94d2fe24d88b45ac7d82a2b9184","object":"Rate","created_at":"2024-08-14T17:39:10Z","updated_at":"2024-08-14T17:39:10Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_eb91f15220ce4fbc9a8557c3ec786ce0","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_f13fa0fc415246b9971070e285d421c2","object":"Rate","created_at":"2024-08-14T17:39:11Z","updated_at":"2024-08-14T17:39:11Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_eb91f15220ce4fbc9a8557c3ec786ce0","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_bf84db43fcc640bcb9ac7dc26511bc66","object":"Tracker","mode":"test","tracking_code":"9400100105807075196498","status":"unknown","status_detail":"unknown","created_at":"2024-08-14T17:39:11Z","updated_at":"2024-08-14T17:39:11Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_eb91f15220ce4fbc9a8557c3ec786ce0","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2JmODRkYjQzZmNjNjQwYmNiOWFjN2RjMjY1MTFiYzY2"},"to_address":{"id":"adr_1d28846f5a6411efb37e3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:10+00:00","updated_at":"2024-08-14T17:39:10+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_1d2b37395a6411efb534ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:10+00:00","updated_at":"2024-08-14T17:39:10+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_1d28846f5a6411efb37e3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:10+00:00","updated_at":"2024-08-14T17:39:10+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_eb91f15220ce4fbc9a8557c3ec786ce0","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' http_code: 201 header_size: 760 - request_size: 861 + request_size: 871 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.277642 - namelookup_time: 0.001422 - connect_time: 0.063724 - pretransfer_time: 0.127339 - size_upload: 553.0 - size_download: 7619.0 - speed_download: 5963.0 - speed_upload: 432.0 - download_content_length: 7619.0 - upload_content_length: 553.0 - starttransfer_time: 1.277324 + total_time: 1.320156 + namelookup_time: 0.002709 + connect_time: 0.036107 + pretransfer_time: 0.073814 + size_upload: 563.0 + size_download: 6549.0 + speed_download: 4960.0 + speed_upload: 426.0 + download_content_length: 6549.0 + upload_content_length: 563.0 + starttransfer_time: 1.319899 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53650 + local_ip: 192.168.1.75 + local_port: 52623 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 127302 - connect_time_us: 63724 - namelookup_time_us: 1422 - pretransfer_time_us: 127339 + scheme: https + appconnect_time_us: 73749 + connect_time_us: 36107 + namelookup_time_us: 2709 + pretransfer_time_us: 73814 redirect_time_us: 0 - starttransfer_time_us: 1277324 - total_time_us: 1277642 + starttransfer_time_us: 1319899 + total_time_us: 1320156 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: @@ -89,11 +91,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"pickup":{"address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"min_datetime":"2023-11-24","max_datetime":"2023-11-24","instructions":"Pickup at front door","shipment":{"id":"shp_34ed05a77b58499e887639021f7c437e"}}}' + body: '{"pickup":{"address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"min_datetime":"2024-08-18","max_datetime":"2024-08-18","instructions":"Pickup at front door","shipment":{"id":"shp_eb91f15220ce4fbc9a8557c3ec786ce0"}}}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -102,19 +103,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911b655e66f4e78861e10021c5cf + x-ep-request-uuid: e181587d66bcebbfe2b8fb330086bf6f cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1157' - x-runtime: '0.699059' - x-node: bigweb42nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.893308' + x-node: bigweb33nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"pickup_ff10e764ca7c4b2492aa49f7c9f65086","object":"Pickup","created_at":"2023-11-22T20:39:17Z","updated_at":"2023-11-22T20:39:17Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2023-11-24T00:00:00Z","max_datetime":"2023-11-24T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_347f6026897711eea1283cecef1b359e","object":"Address","created_at":"2023-11-22T20:39:16+00:00","updated_at":"2023-11-22T20:39:16+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":"2023-11-22T20:39:17Z","updated_at":"2023-11-22T20:39:17Z","carrier":"USPS","pickup_id":"pickup_ff10e764ca7c4b2492aa49f7c9f65086","id":"pickuprate_5886de5e790549878790238ef9399cc8","object":"PickupRate"}]}' + body: '{"id":"pickup_621795e10b7c48d38e9dab1a81aec25d","object":"Pickup","created_at":"2024-08-14T17:39:11Z","updated_at":"2024-08-14T17:39:11Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2024-08-18T00:00:00Z","max_datetime":"2024-08-18T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_1df733c75a6411efb5c7ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:11+00:00","updated_at":"2024-08-14T17:39:11+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":"2024-08-14T17:39:12Z","updated_at":"2024-08-14T17:39:12Z","carrier":"USPS","pickup_id":"pickup_621795e10b7c48d38e9dab1a81aec25d","id":"pickuprate_3a3131032def494c9c39f0894e6fcdb2","object":"PickupRate"}]}' curl_info: url: 'https://api.easypost.com/v2/pickups' content_type: 'application/json; charset=utf-8' @@ -124,40 +125,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.893306 - namelookup_time: 0.001857 - connect_time: 0.065931 - pretransfer_time: 0.129924 + total_time: 0.999579 + namelookup_time: 0.010811 + connect_time: 0.040668 + pretransfer_time: 0.072726 size_upload: 357.0 size_download: 1157.0 - speed_download: 1295.0 - speed_upload: 399.0 + speed_download: 1157.0 + speed_upload: 357.0 download_content_length: 1157.0 upload_content_length: 357.0 - starttransfer_time: 0.893277 + starttransfer_time: 0.999555 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53651 + local_ip: 192.168.1.75 + local_port: 52624 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 129897 - connect_time_us: 65931 - namelookup_time_us: 1857 - pretransfer_time_us: 129924 + scheme: https + appconnect_time_us: 72670 + connect_time_us: 40668 + namelookup_time_us: 10811 + pretransfer_time_us: 72726 redirect_time_us: 0 - starttransfer_time_us: 893277 - total_time_us: 893306 + starttransfer_time_us: 999555 + total_time_us: 999579 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: POST - url: 'https://api.easypost.com/v2/pickups/pickup_ff10e764ca7c4b2492aa49f7c9f65086/buy' + url: 'https://api.easypost.com/v2/pickups/pickup_621795e10b7c48d38e9dab1a81aec25d/buy' headers: Host: api.easypost.com Expect: '' @@ -169,8 +173,7 @@ body: '{"carrier":"USPS","service":"NextDay"}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -179,62 +182,66 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef9121655e66f5e78861e20021c6a3 + x-ep-request-uuid: e181587966bcebc0e2b8fb340086c08b cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1168' - x-runtime: '0.762821' - x-node: bigweb36nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '1.658169' + x-node: bigweb32nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-canary: direct + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"pickup_ff10e764ca7c4b2492aa49f7c9f65086","object":"Pickup","created_at":"2023-11-22T20:39:17Z","updated_at":"2023-11-22T20:39:18Z","mode":"test","status":"scheduled","reference":null,"min_datetime":"2023-11-24T00:00:00Z","max_datetime":"2023-11-24T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":"WTC63727398","address":{"id":"adr_347f6026897711eea1283cecef1b359e","object":"Address","created_at":"2023-11-22T20:39:16+00:00","updated_at":"2023-11-22T20:39:16+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":"2023-11-22T20:39:17Z","updated_at":"2023-11-22T20:39:17Z","carrier":"USPS","pickup_id":"pickup_ff10e764ca7c4b2492aa49f7c9f65086","id":"pickuprate_5886de5e790549878790238ef9399cc8","object":"PickupRate"}]}' + body: '{"id":"pickup_621795e10b7c48d38e9dab1a81aec25d","object":"Pickup","created_at":"2024-08-14T17:39:11Z","updated_at":"2024-08-14T17:39:14Z","mode":"test","status":"scheduled","reference":null,"min_datetime":"2024-08-18T00:00:00Z","max_datetime":"2024-08-18T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":"WTC64761208","address":{"id":"adr_1df733c75a6411efb5c7ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:11+00:00","updated_at":"2024-08-14T17:39:11+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":"2024-08-14T17:39:12Z","updated_at":"2024-08-14T17:39:12Z","carrier":"USPS","pickup_id":"pickup_621795e10b7c48d38e9dab1a81aec25d","id":"pickuprate_3a3131032def494c9c39f0894e6fcdb2","object":"PickupRate"}]}' curl_info: - url: 'https://api.easypost.com/v2/pickups/pickup_ff10e764ca7c4b2492aa49f7c9f65086/buy' + url: 'https://api.easypost.com/v2/pickups/pickup_621795e10b7c48d38e9dab1a81aec25d/buy' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 689 + header_size: 707 request_size: 387 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.964237 - namelookup_time: 0.0012 - connect_time: 0.073337 - pretransfer_time: 0.137056 + total_time: 1.768758 + namelookup_time: 0.002014 + connect_time: 0.034968 + pretransfer_time: 0.070003 size_upload: 38.0 size_download: 1168.0 - speed_download: 1211.0 - speed_upload: 39.0 + speed_download: 660.0 + speed_upload: 21.0 download_content_length: 1168.0 upload_content_length: 38.0 - starttransfer_time: 0.964202 + starttransfer_time: 1.768671 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53652 + local_ip: 192.168.1.75 + local_port: 52625 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 137016 - connect_time_us: 73337 - namelookup_time_us: 1200 - pretransfer_time_us: 137056 + scheme: https + appconnect_time_us: 69965 + connect_time_us: 34968 + namelookup_time_us: 2014 + pretransfer_time_us: 70003 redirect_time_us: 0 - starttransfer_time_us: 964202 - total_time_us: 964237 + starttransfer_time_us: 1768671 + total_time_us: 1768758 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: POST - url: 'https://api.easypost.com/v2/pickups/pickup_ff10e764ca7c4b2492aa49f7c9f65086/cancel' + url: 'https://api.easypost.com/v2/pickups/pickup_621795e10b7c48d38e9dab1a81aec25d/cancel' headers: Host: api.easypost.com Expect: '' @@ -246,8 +253,7 @@ body: '[]' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -256,21 +262,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911c655e66f6e78861e30021c788 + x-ep-request-uuid: e181587966bcebc2e2b8fb350086c279 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1167' - x-runtime: '0.799052' - x-node: bigweb40nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '1.935865' + x-node: bigweb36nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"pickup_ff10e764ca7c4b2492aa49f7c9f65086","object":"Pickup","created_at":"2023-11-22T20:39:17Z","updated_at":"2023-11-22T20:39:19Z","mode":"test","status":"canceled","reference":null,"min_datetime":"2023-11-24T00:00:00Z","max_datetime":"2023-11-24T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":"WTC63727398","address":{"id":"adr_347f6026897711eea1283cecef1b359e","object":"Address","created_at":"2023-11-22T20:39:16+00:00","updated_at":"2023-11-22T20:39:16+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":"2023-11-22T20:39:17Z","updated_at":"2023-11-22T20:39:17Z","carrier":"USPS","pickup_id":"pickup_ff10e764ca7c4b2492aa49f7c9f65086","id":"pickuprate_5886de5e790549878790238ef9399cc8","object":"PickupRate"}]}' + body: '{"id":"pickup_621795e10b7c48d38e9dab1a81aec25d","object":"Pickup","created_at":"2024-08-14T17:39:11Z","updated_at":"2024-08-14T17:39:16Z","mode":"test","status":"canceled","reference":null,"min_datetime":"2024-08-18T00:00:00Z","max_datetime":"2024-08-18T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":"WTC64761208","address":{"id":"adr_1df733c75a6411efb5c7ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:11+00:00","updated_at":"2024-08-14T17:39:11+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":"2024-08-14T17:39:12Z","updated_at":"2024-08-14T17:39:12Z","carrier":"USPS","pickup_id":"pickup_621795e10b7c48d38e9dab1a81aec25d","id":"pickuprate_3a3131032def494c9c39f0894e6fcdb2","object":"PickupRate"}]}' curl_info: - url: 'https://api.easypost.com/v2/pickups/pickup_ff10e764ca7c4b2492aa49f7c9f65086/cancel' + url: 'https://api.easypost.com/v2/pickups/pickup_621795e10b7c48d38e9dab1a81aec25d/cancel' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 689 @@ -278,33 +284,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.015968 - namelookup_time: 0.002929 - connect_time: 0.071535 - pretransfer_time: 0.141761 + total_time: 2.045303 + namelookup_time: 0.001642 + connect_time: 0.034125 + pretransfer_time: 0.072749 size_upload: 2.0 size_download: 1167.0 - speed_download: 1148.0 - speed_upload: 1.0 + speed_download: 570.0 + speed_upload: 0.0 download_content_length: 1167.0 upload_content_length: 2.0 - starttransfer_time: 1.015925 + starttransfer_time: 2.045232 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53653 + local_ip: 192.168.1.75 + local_port: 52626 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 141710 - connect_time_us: 71535 - namelookup_time_us: 2929 - pretransfer_time_us: 141761 + scheme: https + appconnect_time_us: 72622 + connect_time_us: 34125 + namelookup_time_us: 1642 + pretransfer_time_us: 72749 redirect_time_us: 0 - starttransfer_time_us: 1015925 - total_time_us: 1015968 + starttransfer_time_us: 2045232 + total_time_us: 2045303 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/pickups/create.yml b/test/cassettes/pickups/create.yml index 3851f5ad..f1caa26b 100644 --- a/test/cassettes/pickups/create.yml +++ b/test/cassettes/pickups/create.yml @@ -11,11 +11,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"First","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' + body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"GroundAdvantage","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,58 +23,61 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911d655e66e9e78861c20021bcdb + x-ep-request-uuid: e181587866bcebb6e2b8fb130086b524 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_c21fd0b837a34c0a88ffb4da5c8baf99 + location: /api/v2/shipments/shp_3f7185aee11b4dc2902b89052afd697b content-type: 'application/json; charset=utf-8' - content-length: '7619' - x-runtime: '1.013272' + content-length: '6549' + x-runtime: '1.102228' x-node: bigweb34nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:39:05Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105440282038092","updated_at":"2023-11-22T20:39:06Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_2db01ee6897711ee9d743cecef1b359e","object":"Address","created_at":"2023-11-22T20:39:05+00:00","updated_at":"2023-11-22T20:39:05+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_b00c346e64f249ccb011b893d62743dd","object":"Parcel","created_at":"2023-11-22T20:39:05Z","updated_at":"2023-11-22T20:39:05Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_83775be7bc554b5a94dfd6530035053d","created_at":"2023-11-22T20:39:06Z","updated_at":"2023-11-22T20:39:06Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:39: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\/20231122\/e87a9d8b16e6cc48d2b87b1c71903f30d8.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_3b7f2f1296634803a0f64ae1f78d50d9","object":"Rate","created_at":"2023-11-22T20:39:05Z","updated_at":"2023-11-22T20:39:05Z","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_c21fd0b837a34c0a88ffb4da5c8baf99","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_ac7555aa0e4b482fbb3b2e0b5115b0bb","object":"Rate","created_at":"2023-11-22T20:39:05Z","updated_at":"2023-11-22T20:39:05Z","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_c21fd0b837a34c0a88ffb4da5c8baf99","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_bd469e1cfe3c455ea4187f3ba9b3bc95","object":"Rate","created_at":"2023-11-22T20:39:05Z","updated_at":"2023-11-22T20:39:05Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c21fd0b837a34c0a88ffb4da5c8baf99","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_b2bfca87831e46ef804d22c970c3ea29","object":"Rate","created_at":"2023-11-22T20:39:05Z","updated_at":"2023-11-22T20:39:05Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c21fd0b837a34c0a88ffb4da5c8baf99","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_0ad434708e734c55863df07570f75258","object":"Rate","created_at":"2023-11-22T20:39:05Z","updated_at":"2023-11-22T20:39:05Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c21fd0b837a34c0a88ffb4da5c8baf99","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_b2bfca87831e46ef804d22c970c3ea29","object":"Rate","created_at":"2023-11-22T20:39:06Z","updated_at":"2023-11-22T20:39:06Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c21fd0b837a34c0a88ffb4da5c8baf99","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_844adc5b6b0e45688b7dfec56fdd9e12","object":"Tracker","mode":"test","tracking_code":"9400100105440282038092","status":"unknown","status_detail":"unknown","created_at":"2023-11-22T20:39:06Z","updated_at":"2023-11-22T20:39:06Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_c21fd0b837a34c0a88ffb4da5c8baf99","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzg0NGFkYzViNmIwZTQ1Njg4YjdkZmVjNTZmZGQ5ZTEy"},"to_address":{"id":"adr_2dadf8ca897711ee9d723cecef1b359e","object":"Address","created_at":"2023-11-22T20:39:05+00:00","updated_at":"2023-11-22T20:39:05+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_2db01ee6897711ee9d743cecef1b359e","object":"Address","created_at":"2023-11-22T20:39:05+00:00","updated_at":"2023-11-22T20:39:05+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_2dadf8ca897711ee9d723cecef1b359e","object":"Address","created_at":"2023-11-22T20:39:05+00:00","updated_at":"2023-11-22T20:39:05+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_c21fd0b837a34c0a88ffb4da5c8baf99","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:02Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196382","updated_at":"2024-08-14T17:39:03Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_183179fe5a6411ef8f8bac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:02+00:00","updated_at":"2024-08-14T17:39:02+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_2186deecc5e840b6ab64c44a63c0f28f","object":"Parcel","created_at":"2024-08-14T17:39:02Z","updated_at":"2024-08-14T17:39:02Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_4eee7616a3b94c5f8ee758e533a9effa","created_at":"2024-08-14T17:39:02Z","updated_at":"2024-08-14T17:39:02Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e83cd41adf2b9f4e23925f70852ea978a0.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_535c3fe80aab402fb5a1c3685f80f3ed","object":"Rate","created_at":"2024-08-14T17:39:02Z","updated_at":"2024-08-14T17:39:02Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_3f7185aee11b4dc2902b89052afd697b","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_8f119e065ccc418384fcb84469271dbb","object":"Rate","created_at":"2024-08-14T17:39:02Z","updated_at":"2024-08-14T17:39:02Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_3f7185aee11b4dc2902b89052afd697b","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_3d4a2dd6578646f993edde137bf02a0b","object":"Rate","created_at":"2024-08-14T17:39:02Z","updated_at":"2024-08-14T17:39:02Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_3f7185aee11b4dc2902b89052afd697b","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_8f119e065ccc418384fcb84469271dbb","object":"Rate","created_at":"2024-08-14T17:39:02Z","updated_at":"2024-08-14T17:39:02Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_3f7185aee11b4dc2902b89052afd697b","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_6e86eae7b6e34deaabef4021f62eeef2","object":"Tracker","mode":"test","tracking_code":"9400100105807075196382","status":"unknown","status_detail":"unknown","created_at":"2024-08-14T17:39:03Z","updated_at":"2024-08-14T17:39:03Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_3f7185aee11b4dc2902b89052afd697b","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzZlODZlYWU3YjZlMzRkZWFhYmVmNDAyMWY2MmVlZWYy"},"to_address":{"id":"adr_182ef3aa5a6411efaf973cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:02+00:00","updated_at":"2024-08-14T17:39:02+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_183179fe5a6411ef8f8bac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:02+00:00","updated_at":"2024-08-14T17:39:02+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_182ef3aa5a6411efaf973cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:02+00:00","updated_at":"2024-08-14T17:39:02+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_3f7185aee11b4dc2902b89052afd697b","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' http_code: 201 header_size: 760 - request_size: 861 + request_size: 871 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.209315 - namelookup_time: 0.003564 - connect_time: 0.068366 - pretransfer_time: 0.132123 - size_upload: 553.0 - size_download: 7619.0 - speed_download: 6300.0 - speed_upload: 457.0 - download_content_length: 7619.0 - upload_content_length: 553.0 - starttransfer_time: 1.209274 + total_time: 1.208672 + namelookup_time: 0.001681 + connect_time: 0.034688 + pretransfer_time: 0.069951 + size_upload: 563.0 + size_download: 6549.0 + speed_download: 5418.0 + speed_upload: 465.0 + download_content_length: 6549.0 + upload_content_length: 563.0 + starttransfer_time: 1.208522 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53643 + local_ip: 192.168.1.75 + local_port: 52615 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 132093 - connect_time_us: 68366 - namelookup_time_us: 3564 - pretransfer_time_us: 132123 + scheme: https + appconnect_time_us: 69912 + connect_time_us: 34688 + namelookup_time_us: 1681 + pretransfer_time_us: 69951 redirect_time_us: 0 - starttransfer_time_us: 1209274 - total_time_us: 1209315 + starttransfer_time_us: 1208522 + total_time_us: 1208672 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: @@ -89,11 +91,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"pickup":{"address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"min_datetime":"2023-11-24","max_datetime":"2023-11-24","instructions":"Pickup at front door","shipment":{"id":"shp_c21fd0b837a34c0a88ffb4da5c8baf99"}}}' + body: '{"pickup":{"address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"min_datetime":"2024-08-18","max_datetime":"2024-08-18","instructions":"Pickup at front door","shipment":{"id":"shp_3f7185aee11b4dc2902b89052afd697b"}}}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -102,20 +103,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911b655e66eae78861c30021bdfc + x-ep-request-uuid: e181587966bcebb7e2b8fb140086b63d cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1157' - x-runtime: '1.699864' - x-node: bigweb43nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '1.583212' + x-node: bigweb32nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost x-canary: direct - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"pickup_9acf13d6a0f44590bcee7b69eddb3364","object":"Pickup","created_at":"2023-11-22T20:39:06Z","updated_at":"2023-11-22T20:39:06Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2023-11-24T00:00:00Z","max_datetime":"2023-11-24T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_2e756e2a897711eeb119ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:39:06+00:00","updated_at":"2023-11-22T20:39:06+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":"2023-11-22T20:39:08Z","updated_at":"2023-11-22T20:39:08Z","carrier":"USPS","pickup_id":"pickup_9acf13d6a0f44590bcee7b69eddb3364","id":"pickuprate_4583793be3094a5492a361fd5cb8e64e","object":"PickupRate"}]}' + body: '{"id":"pickup_cf1b204c14d0456ab46e400f820e58c9","object":"Pickup","created_at":"2024-08-14T17:39:03Z","updated_at":"2024-08-14T17:39:03Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2024-08-18T00:00:00Z","max_datetime":"2024-08-18T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_18ec1a4c5a6411efa2e6ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:03+00:00","updated_at":"2024-08-14T17:39:03+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":"2024-08-14T17:39:04Z","updated_at":"2024-08-14T17:39:04Z","carrier":"USPS","pickup_id":"pickup_cf1b204c14d0456ab46e400f820e58c9","id":"pickuprate_84d1e6e7bafc428684c7eff1f2d4f085","object":"PickupRate"}]}' curl_info: url: 'https://api.easypost.com/v2/pickups' content_type: 'application/json; charset=utf-8' @@ -125,33 +126,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.890196 - namelookup_time: 0.001291 - connect_time: 0.062708 - pretransfer_time: 0.126166 + total_time: 1.682785 + namelookup_time: 0.002403 + connect_time: 0.031788 + pretransfer_time: 0.063715 size_upload: 357.0 size_download: 1157.0 - speed_download: 612.0 - speed_upload: 188.0 + speed_download: 687.0 + speed_upload: 212.0 download_content_length: 1157.0 upload_content_length: 357.0 - starttransfer_time: 1.890165 + starttransfer_time: 1.68271 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53644 + local_ip: 192.168.1.75 + local_port: 52616 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 126137 - connect_time_us: 62708 - namelookup_time_us: 1291 - pretransfer_time_us: 126166 + scheme: https + appconnect_time_us: 63652 + connect_time_us: 31788 + namelookup_time_us: 2403 + pretransfer_time_us: 63715 redirect_time_us: 0 - starttransfer_time_us: 1890165 - total_time_us: 1890196 + starttransfer_time_us: 1682710 + total_time_us: 1682785 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/pickups/getNextPage.yml b/test/cassettes/pickups/getNextPage.yml index 14bc7c5f..41f33b30 100644 --- a/test/cassettes/pickups/getNextPage.yml +++ b/test/cassettes/pickups/getNextPage.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,63 +21,65 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911b655e66e8e78861c00021bc68 + x-ep-request-uuid: e181587966bcebc8e2b8fb520086c7c6 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '4409' - x-runtime: '0.077841' - x-node: bigweb43nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '5840' + x-runtime: '0.134277' + x-node: bigweb33nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"pickups":[{"id":"pickup_bd977dc56a834d5496c63541422fc34a","object":"Pickup","created_at":"2023-11-22T20:31:06Z","updated_at":"2023-11-22T20:31:06Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2022-12-09T00:00:00Z","max_datetime":"2022-12-09T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_0fd36520897611eea0163cecef1b359e","object":"Address","created_at":"2023-11-22T20:31:05+00:00","updated_at":"2023-11-22T20:31:05+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":[]},{"id":"pickup_e13615984dfc4b0485b1ca93145be692","object":"Pickup","created_at":"2023-11-22T20:31:03Z","updated_at":"2023-11-22T20:31:03Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2022-12-09T00:00:00Z","max_datetime":"2022-12-09T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_0e5441ee897611ee9ff2ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:31:03+00:00","updated_at":"2023-11-22T20:31:03+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":[]},{"id":"pickup_c19e5fca36de43629ebc6eecbdd45e32","object":"Pickup","created_at":"2023-11-22T20:31:01Z","updated_at":"2023-11-22T20:31:01Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2022-12-09T00:00:00Z","max_datetime":"2022-12-09T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_0cf8b5a8897611ee8e21ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:31:01+00:00","updated_at":"2023-11-22T20:31:01+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":[]},{"id":"pickup_c7ea5e1931a14626bf1d6ed992ebdb8f","object":"Pickup","created_at":"2023-11-22T20:30:59Z","updated_at":"2023-11-22T20:30:59Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2022-12-09T00:00:00Z","max_datetime":"2022-12-09T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_0bc1d7b3897611ee9c903cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:59+00:00","updated_at":"2023-11-22T20:30:59+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":[]},{"id":"pickup_90c744ec043948f39ee4a0c212983ec4","object":"Pickup","created_at":"2023-11-22T20:30:57Z","updated_at":"2023-11-22T20:30:57Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2022-12-09T00:00:00Z","max_datetime":"2022-12-09T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_0aa6417c897611ee9cbaac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:57+00:00","updated_at":"2023-11-22T20:30:57+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":[]}],"has_more":true}' + body: '{"pickups":[{"id":"pickup_0c3d2ca29ba146d2afe4a392df91143f","object":"Pickup","created_at":"2024-08-14T17:39:18Z","updated_at":"2024-08-14T17:39:20Z","mode":"test","status":"scheduled","reference":null,"min_datetime":"2024-08-18T00:00:00Z","max_datetime":"2024-08-18T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":"WTC64761210","address":{"id":"adr_21aaeaf85a6411efa967ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:17+00:00","updated_at":"2024-08-14T17:39:17+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":"2024-08-14T17:39:18Z","updated_at":"2024-08-14T17:39:18Z","carrier":"USPS","pickup_id":"pickup_0c3d2ca29ba146d2afe4a392df91143f","id":"pickuprate_1dbc80b0db814eff9beb2bb9b2490a3c","object":"PickupRate"}]},{"id":"pickup_621795e10b7c48d38e9dab1a81aec25d","object":"Pickup","created_at":"2024-08-14T17:39:11Z","updated_at":"2024-08-14T17:39:16Z","mode":"test","status":"canceled","reference":null,"min_datetime":"2024-08-18T00:00:00Z","max_datetime":"2024-08-18T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":"WTC64761208","address":{"id":"adr_1df733c75a6411efb5c7ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:11+00:00","updated_at":"2024-08-14T17:39:11+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":"2024-08-14T17:39:12Z","updated_at":"2024-08-14T17:39:12Z","carrier":"USPS","pickup_id":"pickup_621795e10b7c48d38e9dab1a81aec25d","id":"pickuprate_3a3131032def494c9c39f0894e6fcdb2","object":"PickupRate"}]},{"id":"pickup_78d5613d2cb644a0947a12d14611345b","object":"Pickup","created_at":"2024-08-14T17:39:09Z","updated_at":"2024-08-14T17:39:09Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2024-08-18T00:00:00Z","max_datetime":"2024-08-18T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_1c5748cc5a6411efb481ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:09+00:00","updated_at":"2024-08-14T17:39:09+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":"2024-08-14T17:39:10Z","updated_at":"2024-08-14T17:39:10Z","carrier":"USPS","pickup_id":"pickup_78d5613d2cb644a0947a12d14611345b","id":"pickuprate_5b6e8d25053a4ea093b41f8ede7c8978","object":"PickupRate"}]},{"id":"pickup_9e608d57efea4f159d04b43be6ced06f","object":"Pickup","created_at":"2024-08-14T17:39:06Z","updated_at":"2024-08-14T17:39:06Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2024-08-18T00:00:00Z","max_datetime":"2024-08-18T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_1aa72e9a5a6411efa468ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:06+00:00","updated_at":"2024-08-14T17:39:06+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":"2024-08-14T17:39:07Z","updated_at":"2024-08-14T17:39:07Z","carrier":"USPS","pickup_id":"pickup_9e608d57efea4f159d04b43be6ced06f","id":"pickuprate_a4efe67f7e734001aa73509a7bf894ad","object":"PickupRate"}]},{"id":"pickup_cf1b204c14d0456ab46e400f820e58c9","object":"Pickup","created_at":"2024-08-14T17:39:03Z","updated_at":"2024-08-14T17:39:03Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2024-08-18T00:00:00Z","max_datetime":"2024-08-18T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_18ec1a4c5a6411efa2e6ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:03+00:00","updated_at":"2024-08-14T17:39:03+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":"2024-08-14T17:39:04Z","updated_at":"2024-08-14T17:39:04Z","carrier":"USPS","pickup_id":"pickup_cf1b204c14d0456ab46e400f820e58c9","id":"pickuprate_84d1e6e7bafc428684c7eff1f2d4f085","object":"PickupRate"}]}],"has_more":true}' curl_info: url: 'https://api.easypost.com/v2/pickups?page_size=5' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 707 + header_size: 689 request_size: 296 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.272551 - namelookup_time: 0.002444 - connect_time: 0.066467 - pretransfer_time: 0.130522 + total_time: 0.243963 + namelookup_time: 0.002215 + connect_time: 0.035404 + pretransfer_time: 0.072535 size_upload: 0.0 - size_download: 4409.0 - speed_download: 16176.0 + size_download: 5840.0 + speed_download: 23938.0 speed_upload: 0.0 - download_content_length: 4409.0 + download_content_length: 5840.0 upload_content_length: 0.0 - starttransfer_time: 0.272343 + starttransfer_time: 0.24392 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53641 + local_ip: 192.168.1.75 + local_port: 52632 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 130494 - connect_time_us: 66467 - namelookup_time_us: 2444 - pretransfer_time_us: 130522 + scheme: https + appconnect_time_us: 72463 + connect_time_us: 35404 + namelookup_time_us: 2215 + pretransfer_time_us: 72535 redirect_time_us: 0 - starttransfer_time_us: 272343 - total_time_us: 272551 + starttransfer_time_us: 243920 + total_time_us: 243963 + effective_method: GET + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/pickups?page_size=5&before_id=pickup_90c744ec043948f39ee4a0c212983ec4' + url: 'https://api.easypost.com/v2/pickups?page_size=5&before_id=pickup_cf1b204c14d0456ab46e400f820e58c9' headers: Host: api.easypost.com Accept-Encoding: '' @@ -88,8 +89,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -98,21 +98,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef9121655e66e9e78861c10021bcae + x-ep-request-uuid: e181587966bcebc8e2b8fb530086c802 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '4409' - x-runtime: '0.060864' - x-node: bigweb42nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '5840' + x-runtime: '0.170677' + x-node: bigweb33nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"pickups":[{"id":"pickup_977d9717a6964600b14dab8afe3990a8","object":"Pickup","created_at":"2023-11-22T19:56:32Z","updated_at":"2023-11-22T19:56:32Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2022-12-09T00:00:00Z","max_datetime":"2022-12-09T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_3be59dbf897111ee86dd3cecef1b359e","object":"Address","created_at":"2023-11-22T19:56:32+00:00","updated_at":"2023-11-22T19:56: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":[]},{"id":"pickup_f115ed3ae305439099e8754712eb3de7","object":"Pickup","created_at":"2023-11-22T19:56:30Z","updated_at":"2023-11-22T19:56:30Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2022-12-09T00:00:00Z","max_datetime":"2022-12-09T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_3aa00c43897111ee889eac1f6bc53342","object":"Address","created_at":"2023-11-22T19:56:30+00:00","updated_at":"2023-11-22T19:56:30+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":[]},{"id":"pickup_388dc1fa38974009931d7b1d0dc48cbb","object":"Pickup","created_at":"2023-11-22T19:56:28Z","updated_at":"2023-11-22T19:56:28Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2022-12-09T00:00:00Z","max_datetime":"2022-12-09T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_395f78e9897111ee85463cecef1b359e","object":"Address","created_at":"2023-11-22T19:56:28+00:00","updated_at":"2023-11-22T19:56:28+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":[]},{"id":"pickup_c68dfe6a3c1f4221b43c6c077b4ce552","object":"Pickup","created_at":"2023-11-22T19:56:26Z","updated_at":"2023-11-22T19:56:26Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2022-12-09T00:00:00Z","max_datetime":"2022-12-09T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_383d7158897111ee84903cecef1b359e","object":"Address","created_at":"2023-11-22T19:56:26+00:00","updated_at":"2023-11-22T19:56:26+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":[]},{"id":"pickup_7e61752ff5134d1ca7fce25e1b7bbb1f","object":"Pickup","created_at":"2023-11-22T19:56:24Z","updated_at":"2023-11-22T19:56:24Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2022-12-09T00:00:00Z","max_datetime":"2022-12-09T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_370789ec897111eeb7d2ac1f6bc539aa","object":"Address","created_at":"2023-11-22T19:56:24+00:00","updated_at":"2023-11-22T19:56:24+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":[]}],"has_more":true}' + body: '{"pickups":[{"id":"pickup_d603efcb82b8455a8c3c41ab2db381b9","object":"Pickup","created_at":"2023-11-22T20:39:21Z","updated_at":"2023-11-22T20:39:21Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2023-11-24T00:00:00Z","max_datetime":"2023-11-24T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_372a0db7897711ee9447ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:39:21+00:00","updated_at":"2023-11-22T20:39:21+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":"2023-11-22T20:39:22Z","updated_at":"2023-11-22T20:39:22Z","carrier":"USPS","pickup_id":"pickup_d603efcb82b8455a8c3c41ab2db381b9","id":"pickuprate_44379b0be08f4082a8862c31d64120f7","object":"PickupRate"}]},{"id":"pickup_ff10e764ca7c4b2492aa49f7c9f65086","object":"Pickup","created_at":"2023-11-22T20:39:17Z","updated_at":"2023-11-22T20:39:19Z","mode":"test","status":"canceled","reference":null,"min_datetime":"2023-11-24T00:00:00Z","max_datetime":"2023-11-24T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":"WTC63727398","address":{"id":"adr_347f6026897711eea1283cecef1b359e","object":"Address","created_at":"2023-11-22T20:39:16+00:00","updated_at":"2023-11-22T20:39:16+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":"2023-11-22T20:39:17Z","updated_at":"2023-11-22T20:39:17Z","carrier":"USPS","pickup_id":"pickup_ff10e764ca7c4b2492aa49f7c9f65086","id":"pickuprate_5886de5e790549878790238ef9399cc8","object":"PickupRate"}]},{"id":"pickup_1fa2ed2492934d2e99fea85e397c52aa","object":"Pickup","created_at":"2023-11-22T20:39:12Z","updated_at":"2023-11-22T20:39:15Z","mode":"test","status":"scheduled","reference":null,"min_datetime":"2023-11-24T00:00:00Z","max_datetime":"2023-11-24T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":"WTC63727394","address":{"id":"adr_3207803c897711eea19dac1f6bc53342","object":"Address","created_at":"2023-11-22T20:39:12+00:00","updated_at":"2023-11-22T20:39:12+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":"2023-11-22T20:39:13Z","updated_at":"2023-11-22T20:39:13Z","carrier":"USPS","pickup_id":"pickup_1fa2ed2492934d2e99fea85e397c52aa","id":"pickuprate_c3723883dc374bee9d804b6df89d1dcd","object":"PickupRate"}]},{"id":"pickup_e94e21c18e70478994ce1cbf90dbe038","object":"Pickup","created_at":"2023-11-22T20:39:10Z","updated_at":"2023-11-22T20:39:10Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2023-11-24T00:00:00Z","max_datetime":"2023-11-24T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_30847979897711eea0d8ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:39:10+00:00","updated_at":"2023-11-22T20:39:10+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":"2023-11-22T20:39:11Z","updated_at":"2023-11-22T20:39:11Z","carrier":"USPS","pickup_id":"pickup_e94e21c18e70478994ce1cbf90dbe038","id":"pickuprate_6d4db2135cd54b609c756e751756087f","object":"PickupRate"}]},{"id":"pickup_9acf13d6a0f44590bcee7b69eddb3364","object":"Pickup","created_at":"2023-11-22T20:39:06Z","updated_at":"2023-11-22T20:39:06Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2023-11-24T00:00:00Z","max_datetime":"2023-11-24T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_2e756e2a897711eeb119ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:39:06+00:00","updated_at":"2023-11-22T20:39:06+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":"2023-11-22T20:39:08Z","updated_at":"2023-11-22T20:39:08Z","carrier":"USPS","pickup_id":"pickup_9acf13d6a0f44590bcee7b69eddb3364","id":"pickuprate_4583793be3094a5492a361fd5cb8e64e","object":"PickupRate"}]}],"has_more":true}' curl_info: - url: 'https://api.easypost.com/v2/pickups?page_size=5&before_id=pickup_90c744ec043948f39ee4a0c212983ec4' + url: 'https://api.easypost.com/v2/pickups?page_size=5&before_id=pickup_cf1b204c14d0456ab46e400f820e58c9' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 689 @@ -120,33 +120,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.257107 - namelookup_time: 0.000991 - connect_time: 0.064431 - pretransfer_time: 0.129621 + total_time: 0.277686 + namelookup_time: 0.001274 + connect_time: 0.034215 + pretransfer_time: 0.069518 size_upload: 0.0 - size_download: 4409.0 - speed_download: 17148.0 + size_download: 5840.0 + speed_download: 21030.0 speed_upload: 0.0 - download_content_length: 4409.0 + download_content_length: 5840.0 upload_content_length: 0.0 - starttransfer_time: 0.257093 + starttransfer_time: 0.277596 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53642 + local_ip: 192.168.1.75 + local_port: 52633 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 129596 - connect_time_us: 64431 - namelookup_time_us: 991 - pretransfer_time_us: 129621 + scheme: https + appconnect_time_us: 69480 + connect_time_us: 34215 + namelookup_time_us: 1274 + pretransfer_time_us: 69518 redirect_time_us: 0 - starttransfer_time_us: 257093 - total_time_us: 257107 + starttransfer_time_us: 277596 + total_time_us: 277686 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/pickups/lowestRate.yml b/test/cassettes/pickups/lowestRate.yml index 6c08e599..d55ae1fb 100644 --- a/test/cassettes/pickups/lowestRate.yml +++ b/test/cassettes/pickups/lowestRate.yml @@ -11,11 +11,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"First","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' + body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"GroundAdvantage","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,59 +23,61 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911b655e66ece78861c40021bf64 + x-ep-request-uuid: e181587b66bcebb8e2b8fb150086b820 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_2901fcf6b8b04b018713d037cfee5e10 + location: /api/v2/shipments/shp_bbd833e070e04be5ab708628aab9c209 content-type: 'application/json; charset=utf-8' - content-length: '7619' - x-runtime: '1.258779' - x-node: bigweb43nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '6549' + x-runtime: '1.086709' + x-node: bigweb42nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:39:08Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105440282038122","updated_at":"2023-11-22T20:39:09Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_2faa5924897711eeb1b5ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:39:08+00:00","updated_at":"2023-11-22T20:39:08+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_26d9df3d269c49e2ae24ffb83cf6ba39","object":"Parcel","created_at":"2023-11-22T20:39:08Z","updated_at":"2023-11-22T20:39:08Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_0dcaa81fbd8243eeac283f0a98944b17","created_at":"2023-11-22T20:39:09Z","updated_at":"2023-11-22T20:39:09Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:39: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\/20231122\/e80c7a8695b0bd4518833fe046905cc329.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_bca2931e7546477bb949448580aecb77","object":"Rate","created_at":"2023-11-22T20:39:09Z","updated_at":"2023-11-22T20:39: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_2901fcf6b8b04b018713d037cfee5e10","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_27a8426642c948578b632e2650484a0e","object":"Rate","created_at":"2023-11-22T20:39:09Z","updated_at":"2023-11-22T20:39:09Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_2901fcf6b8b04b018713d037cfee5e10","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_06d6864906184e50b912929f13eeec89","object":"Rate","created_at":"2023-11-22T20:39:09Z","updated_at":"2023-11-22T20:39:09Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_2901fcf6b8b04b018713d037cfee5e10","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_a455f0b0f8ab4640b298825c08af563d","object":"Rate","created_at":"2023-11-22T20:39:09Z","updated_at":"2023-11-22T20:39:09Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_2901fcf6b8b04b018713d037cfee5e10","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_1987a09b1fad4eb2a948e266c382d4c2","object":"Rate","created_at":"2023-11-22T20:39:09Z","updated_at":"2023-11-22T20:39: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_2901fcf6b8b04b018713d037cfee5e10","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_06d6864906184e50b912929f13eeec89","object":"Rate","created_at":"2023-11-22T20:39:09Z","updated_at":"2023-11-22T20:39:09Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_2901fcf6b8b04b018713d037cfee5e10","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_93166a0905744d2ea5af34aa97d5f5d1","object":"Tracker","mode":"test","tracking_code":"9400100105440282038122","status":"unknown","status_detail":"unknown","created_at":"2023-11-22T20:39:09Z","updated_at":"2023-11-22T20:39:09Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_2901fcf6b8b04b018713d037cfee5e10","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzkzMTY2YTA5MDU3NDRkMmVhNWFmMzRhYTk3ZDVmNWQx"},"to_address":{"id":"adr_2fa7ef2b897711eea056ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:39:08+00:00","updated_at":"2023-11-22T20:39:09+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_2faa5924897711eeb1b5ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:39:08+00:00","updated_at":"2023-11-22T20:39:08+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_2fa7ef2b897711eea056ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:39:08+00:00","updated_at":"2023-11-22T20:39:09+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_2901fcf6b8b04b018713d037cfee5e10","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:05Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196429","updated_at":"2024-08-14T17:39:05Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_19f0e61c5a6411ef90acac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:05+00:00","updated_at":"2024-08-14T17:39:05+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_636b8bc86ed14a0492acb9eb8a9883fa","object":"Parcel","created_at":"2024-08-14T17:39:05Z","updated_at":"2024-08-14T17:39:05Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_e79826a130304d62afd2225aa4a560cb","created_at":"2024-08-14T17:39:05Z","updated_at":"2024-08-14T17:39:05Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e817eb0ffb37034acc818c4d465c5f91c4.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_020a1843966b405bb0c6c7e84145b471","object":"Rate","created_at":"2024-08-14T17:39:05Z","updated_at":"2024-08-14T17:39:05Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_bbd833e070e04be5ab708628aab9c209","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_3a49502e50754b50841a16010fad7a15","object":"Rate","created_at":"2024-08-14T17:39:05Z","updated_at":"2024-08-14T17:39:05Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_bbd833e070e04be5ab708628aab9c209","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_9681495e08474bb89ee01123532a65cb","object":"Rate","created_at":"2024-08-14T17:39:05Z","updated_at":"2024-08-14T17:39:05Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_bbd833e070e04be5ab708628aab9c209","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_3a49502e50754b50841a16010fad7a15","object":"Rate","created_at":"2024-08-14T17:39:05Z","updated_at":"2024-08-14T17:39:05Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_bbd833e070e04be5ab708628aab9c209","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_cdd0f9916c3a45e189bd9bb3577a6f43","object":"Tracker","mode":"test","tracking_code":"9400100105807075196429","status":"unknown","status_detail":"unknown","created_at":"2024-08-14T17:39:06Z","updated_at":"2024-08-14T17:39:06Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_bbd833e070e04be5ab708628aab9c209","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2NkZDBmOTkxNmMzYTQ1ZTE4OWJkOWJiMzU3N2E2ZjQz"},"to_address":{"id":"adr_19ee50a95a6411ef90aaac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:05+00:00","updated_at":"2024-08-14T17:39:05+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_19f0e61c5a6411ef90acac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:05+00:00","updated_at":"2024-08-14T17:39:05+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_19ee50a95a6411ef90aaac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:05+00:00","updated_at":"2024-08-14T17:39:05+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_bbd833e070e04be5ab708628aab9c209","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 778 - request_size: 861 + header_size: 760 + request_size: 871 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.460276 - namelookup_time: 0.002876 - connect_time: 0.066284 - pretransfer_time: 0.133452 - size_upload: 553.0 - size_download: 7619.0 - speed_download: 5217.0 - speed_upload: 378.0 - download_content_length: 7619.0 - upload_content_length: 553.0 - starttransfer_time: 1.460206 + total_time: 1.187168 + namelookup_time: 0.00384 + connect_time: 0.033341 + pretransfer_time: 0.066055 + size_upload: 563.0 + size_download: 6549.0 + speed_download: 5516.0 + speed_upload: 474.0 + download_content_length: 6549.0 + upload_content_length: 563.0 + starttransfer_time: 1.187141 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53645 + local_ip: 192.168.1.75 + local_port: 52617 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 133347 - connect_time_us: 66284 - namelookup_time_us: 2876 - pretransfer_time_us: 133452 + scheme: https + appconnect_time_us: 65977 + connect_time_us: 33341 + namelookup_time_us: 3840 + pretransfer_time_us: 66055 redirect_time_us: 0 - starttransfer_time_us: 1460206 - total_time_us: 1460276 + starttransfer_time_us: 1187141 + total_time_us: 1187168 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: @@ -90,11 +91,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"pickup":{"address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"min_datetime":"2023-11-24","max_datetime":"2023-11-24","instructions":"Pickup at front door","shipment":{"id":"shp_2901fcf6b8b04b018713d037cfee5e10"}}}' + body: '{"pickup":{"address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"min_datetime":"2024-08-18","max_datetime":"2024-08-18","instructions":"Pickup at front door","shipment":{"id":"shp_bbd833e070e04be5ab708628aab9c209"}}}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -103,19 +103,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911f655e66eee78861c50021c0a4 + x-ep-request-uuid: e181587966bcebbae2b8fb160086b9d0 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1157' - x-runtime: '0.988853' + x-runtime: '1.545259' x-node: bigweb38nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"pickup_e94e21c18e70478994ce1cbf90dbe038","object":"Pickup","created_at":"2023-11-22T20:39:10Z","updated_at":"2023-11-22T20:39:10Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2023-11-24T00:00:00Z","max_datetime":"2023-11-24T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_30847979897711eea0d8ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:39:10+00:00","updated_at":"2023-11-22T20:39:10+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":"2023-11-22T20:39:11Z","updated_at":"2023-11-22T20:39:11Z","carrier":"USPS","pickup_id":"pickup_e94e21c18e70478994ce1cbf90dbe038","id":"pickuprate_6d4db2135cd54b609c756e751756087f","object":"PickupRate"}]}' + body: '{"id":"pickup_9e608d57efea4f159d04b43be6ced06f","object":"Pickup","created_at":"2024-08-14T17:39:06Z","updated_at":"2024-08-14T17:39:06Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2024-08-18T00:00:00Z","max_datetime":"2024-08-18T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_1aa72e9a5a6411efa468ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:06+00:00","updated_at":"2024-08-14T17:39:06+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":"2024-08-14T17:39:07Z","updated_at":"2024-08-14T17:39:07Z","carrier":"USPS","pickup_id":"pickup_9e608d57efea4f159d04b43be6ced06f","id":"pickuprate_a4efe67f7e734001aa73509a7bf894ad","object":"PickupRate"}]}' curl_info: url: 'https://api.easypost.com/v2/pickups' content_type: 'application/json; charset=utf-8' @@ -125,33 +125,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.184389 - namelookup_time: 0.001035 - connect_time: 0.06565 - pretransfer_time: 0.130532 + total_time: 1.650742 + namelookup_time: 0.001907 + connect_time: 0.034803 + pretransfer_time: 0.069801 size_upload: 357.0 size_download: 1157.0 - speed_download: 976.0 - speed_upload: 301.0 + speed_download: 700.0 + speed_upload: 216.0 download_content_length: 1157.0 upload_content_length: 357.0 - starttransfer_time: 1.184335 + starttransfer_time: 1.650721 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53646 + local_ip: 192.168.1.75 + local_port: 52618 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 130500 - connect_time_us: 65650 - namelookup_time_us: 1035 - pretransfer_time_us: 130532 + scheme: https + appconnect_time_us: 69743 + connect_time_us: 34803 + namelookup_time_us: 1907 + pretransfer_time_us: 69801 redirect_time_us: 0 - starttransfer_time_us: 1184335 - total_time_us: 1184389 + starttransfer_time_us: 1650721 + total_time_us: 1650742 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/pickups/retrieve.yml b/test/cassettes/pickups/retrieve.yml index 931f02da..787beee7 100644 --- a/test/cassettes/pickups/retrieve.yml +++ b/test/cassettes/pickups/retrieve.yml @@ -11,11 +11,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"First","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' + body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"GroundAdvantage","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,59 +23,61 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911d655e66f8e78861e50021c89c + x-ep-request-uuid: e181587866bcebbbe2b8fb170086bba3 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_8777c7f1a02042b1ab0986ed4858bca1 + location: /api/v2/shipments/shp_0b843f641ac74af49c41b5501701fc2a content-type: 'application/json; charset=utf-8' - content-length: '7619' - x-runtime: '0.997127' - x-node: bigweb32nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '6549' + x-runtime: '1.042441' + x-node: bigweb40nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:39:20Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105440282038214","updated_at":"2023-11-22T20:39:21Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_36694dd9897711eeb5a2ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:39:20+00:00","updated_at":"2023-11-22T20:39:20+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_58ce1dd9ad5f4cff9bb731ff1b9bf09a","object":"Parcel","created_at":"2023-11-22T20:39:20Z","updated_at":"2023-11-22T20:39:20Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_0f1b78e1e86a4be497880651c239ce67","created_at":"2023-11-22T20:39:20Z","updated_at":"2023-11-22T20:39:20Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:39: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\/20231122\/e80a8126087ee5484fbef00690afd1fc64.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_0452c77a317f471ea0741e58caa342db","object":"Rate","created_at":"2023-11-22T20:39:20Z","updated_at":"2023-11-22T20:39: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_8777c7f1a02042b1ab0986ed4858bca1","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_683925f8c2be4f51b0ba147faa4874ef","object":"Rate","created_at":"2023-11-22T20:39:20Z","updated_at":"2023-11-22T20:39: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_8777c7f1a02042b1ab0986ed4858bca1","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_cefbee93f71d408e969f0c8a2eeea7a6","object":"Rate","created_at":"2023-11-22T20:39:20Z","updated_at":"2023-11-22T20:39:20Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_8777c7f1a02042b1ab0986ed4858bca1","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_66d2ff8a5a5040bd80208952f6d4cc09","object":"Rate","created_at":"2023-11-22T20:39:20Z","updated_at":"2023-11-22T20:39:20Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_8777c7f1a02042b1ab0986ed4858bca1","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_e255ad2f3187411a983527569de3cab2","object":"Rate","created_at":"2023-11-22T20:39:20Z","updated_at":"2023-11-22T20:39:20Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_8777c7f1a02042b1ab0986ed4858bca1","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_66d2ff8a5a5040bd80208952f6d4cc09","object":"Rate","created_at":"2023-11-22T20:39:20Z","updated_at":"2023-11-22T20:39:20Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_8777c7f1a02042b1ab0986ed4858bca1","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_cb67f88ef39b4e1ebf77bf6e113e336a","object":"Tracker","mode":"test","tracking_code":"9400100105440282038214","status":"unknown","status_detail":"unknown","created_at":"2023-11-22T20:39:21Z","updated_at":"2023-11-22T20:39:21Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_8777c7f1a02042b1ab0986ed4858bca1","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2NiNjdmODhlZjM5YjRlMWViZjc3YmY2ZTExM2UzMzZh"},"to_address":{"id":"adr_36669513897711eea422ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:39:20+00:00","updated_at":"2023-11-22T20:39:20+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_36694dd9897711eeb5a2ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:39:20+00:00","updated_at":"2023-11-22T20:39:20+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_36669513897711eea422ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:39:20+00:00","updated_at":"2023-11-22T20:39:20+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_8777c7f1a02042b1ab0986ed4858bca1","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:07Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196467","updated_at":"2024-08-14T17:39:08Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_1ba595295a6411efb2483cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:07+00:00","updated_at":"2024-08-14T17:39:07+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_0def83d763b84923af718461a0d3f735","object":"Parcel","created_at":"2024-08-14T17:39:07Z","updated_at":"2024-08-14T17:39:07Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_922908de00584362891d6232a6383a8d","created_at":"2024-08-14T17:39:08Z","updated_at":"2024-08-14T17:39:08Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e8c71c0f819d5c49e28f3753b4c34603d7.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_63641df3d00d4533ac9291ea82128400","object":"Rate","created_at":"2024-08-14T17:39:08Z","updated_at":"2024-08-14T17:39:08Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_0b843f641ac74af49c41b5501701fc2a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_afecdd280e834154bf0b0b81ca8132a5","object":"Rate","created_at":"2024-08-14T17:39:08Z","updated_at":"2024-08-14T17:39:08Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_0b843f641ac74af49c41b5501701fc2a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_740c39341ad84f66880bd8ab90235a99","object":"Rate","created_at":"2024-08-14T17:39:08Z","updated_at":"2024-08-14T17:39:08Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_0b843f641ac74af49c41b5501701fc2a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_afecdd280e834154bf0b0b81ca8132a5","object":"Rate","created_at":"2024-08-14T17:39:08Z","updated_at":"2024-08-14T17:39:08Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_0b843f641ac74af49c41b5501701fc2a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_3f06cfcd57a84ae9afe90c405c442eb7","object":"Tracker","mode":"test","tracking_code":"9400100105807075196467","status":"unknown","status_detail":"unknown","created_at":"2024-08-14T17:39:08Z","updated_at":"2024-08-14T17:39:08Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_0b843f641ac74af49c41b5501701fc2a","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzNmMDZjZmNkNTdhODRhZTlhZmU5MGM0MDVjNDQyZWI3"},"to_address":{"id":"adr_1ba30f7c5a6411ef9246ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:07+00:00","updated_at":"2024-08-14T17:39:08+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_1ba595295a6411efb2483cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:07+00:00","updated_at":"2024-08-14T17:39:07+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_1ba30f7c5a6411ef9246ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:07+00:00","updated_at":"2024-08-14T17:39:08+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_0b843f641ac74af49c41b5501701fc2a","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 778 - request_size: 861 + header_size: 760 + request_size: 871 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.191314 - namelookup_time: 0.001597 - connect_time: 0.063611 - pretransfer_time: 0.129554 - size_upload: 553.0 - size_download: 7619.0 - speed_download: 6395.0 - speed_upload: 464.0 - download_content_length: 7619.0 - upload_content_length: 553.0 - starttransfer_time: 1.190944 + total_time: 1.13996 + namelookup_time: 0.003107 + connect_time: 0.032862 + pretransfer_time: 0.064203 + size_upload: 563.0 + size_download: 6549.0 + speed_download: 5744.0 + speed_upload: 493.0 + download_content_length: 6549.0 + upload_content_length: 563.0 + starttransfer_time: 1.139741 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53655 + local_ip: 192.168.1.75 + local_port: 52619 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 129473 - connect_time_us: 63611 - namelookup_time_us: 1597 - pretransfer_time_us: 129554 + scheme: https + appconnect_time_us: 64164 + connect_time_us: 32862 + namelookup_time_us: 3107 + pretransfer_time_us: 64203 redirect_time_us: 0 - starttransfer_time_us: 1190944 - total_time_us: 1191314 + starttransfer_time_us: 1139741 + total_time_us: 1139960 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: @@ -90,11 +91,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"pickup":{"address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"min_datetime":"2023-11-24","max_datetime":"2023-11-24","instructions":"Pickup at front door","shipment":{"id":"shp_8777c7f1a02042b1ab0986ed4858bca1"}}}' + body: '{"pickup":{"address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"min_datetime":"2024-08-18","max_datetime":"2024-08-18","instructions":"Pickup at front door","shipment":{"id":"shp_0b843f641ac74af49c41b5501701fc2a"}}}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -103,19 +103,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911c655e66f9e78861e60021c9cb + x-ep-request-uuid: e181587966bcebbde2b8fb300086bcbf cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1157' - x-runtime: '1.023635' - x-node: bigweb42nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '1.071198' + x-node: bigweb34nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"pickup_d603efcb82b8455a8c3c41ab2db381b9","object":"Pickup","created_at":"2023-11-22T20:39:21Z","updated_at":"2023-11-22T20:39:21Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2023-11-24T00:00:00Z","max_datetime":"2023-11-24T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_372a0db7897711ee9447ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:39:21+00:00","updated_at":"2023-11-22T20:39:21+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":"2023-11-22T20:39:22Z","updated_at":"2023-11-22T20:39:22Z","carrier":"USPS","pickup_id":"pickup_d603efcb82b8455a8c3c41ab2db381b9","id":"pickuprate_44379b0be08f4082a8862c31d64120f7","object":"PickupRate"}]}' + body: '{"id":"pickup_78d5613d2cb644a0947a12d14611345b","object":"Pickup","created_at":"2024-08-14T17:39:09Z","updated_at":"2024-08-14T17:39:09Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2024-08-18T00:00:00Z","max_datetime":"2024-08-18T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_1c5748cc5a6411efb481ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:09+00:00","updated_at":"2024-08-14T17:39:09+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":"2024-08-14T17:39:10Z","updated_at":"2024-08-14T17:39:10Z","carrier":"USPS","pickup_id":"pickup_78d5613d2cb644a0947a12d14611345b","id":"pickuprate_5b6e8d25053a4ea093b41f8ede7c8978","object":"PickupRate"}]}' curl_info: url: 'https://api.easypost.com/v2/pickups' content_type: 'application/json; charset=utf-8' @@ -125,40 +125,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.214405 - namelookup_time: 0.00128 - connect_time: 0.063372 - pretransfer_time: 0.126851 + total_time: 1.169365 + namelookup_time: 0.002478 + connect_time: 0.03266 + pretransfer_time: 0.064891 size_upload: 357.0 size_download: 1157.0 - speed_download: 952.0 - speed_upload: 293.0 + speed_download: 989.0 + speed_upload: 305.0 download_content_length: 1157.0 upload_content_length: 357.0 - starttransfer_time: 1.214379 + starttransfer_time: 1.169326 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53656 + local_ip: 192.168.1.75 + local_port: 52621 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 126823 - connect_time_us: 63372 - namelookup_time_us: 1280 - pretransfer_time_us: 126851 + scheme: https + appconnect_time_us: 64815 + connect_time_us: 32660 + namelookup_time_us: 2478 + pretransfer_time_us: 64891 redirect_time_us: 0 - starttransfer_time_us: 1214379 - total_time_us: 1214405 + starttransfer_time_us: 1169326 + total_time_us: 1169365 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/pickups/pickup_d603efcb82b8455a8c3c41ab2db381b9' + url: 'https://api.easypost.com/v2/pickups/pickup_78d5613d2cb644a0947a12d14611345b' headers: Host: api.easypost.com Accept-Encoding: '' @@ -168,8 +171,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -178,21 +180,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911a655e66fae78861e70021cade + x-ep-request-uuid: e181587866bcebbee2b8fb310086bde2 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1157' - x-runtime: '0.077602' - x-node: bigweb34nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.063563' + x-node: bigweb39nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"pickup_d603efcb82b8455a8c3c41ab2db381b9","object":"Pickup","created_at":"2023-11-22T20:39:21Z","updated_at":"2023-11-22T20:39:21Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2023-11-24T00:00:00Z","max_datetime":"2023-11-24T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_372a0db7897711ee9447ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:39:21+00:00","updated_at":"2023-11-22T20:39:21+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":"2023-11-22T20:39:22Z","updated_at":"2023-11-22T20:39:22Z","carrier":"USPS","pickup_id":"pickup_d603efcb82b8455a8c3c41ab2db381b9","id":"pickuprate_44379b0be08f4082a8862c31d64120f7","object":"PickupRate"}]}' + body: '{"id":"pickup_78d5613d2cb644a0947a12d14611345b","object":"Pickup","created_at":"2024-08-14T17:39:09Z","updated_at":"2024-08-14T17:39:09Z","mode":"test","status":"unknown","reference":null,"min_datetime":"2024-08-18T00:00:00Z","max_datetime":"2024-08-18T00:00:00Z","is_account_address":false,"instructions":"Pickup at front door","messages":[],"confirmation":null,"address":{"id":"adr_1c5748cc5a6411efb481ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:09+00:00","updated_at":"2024-08-14T17:39:09+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":"2024-08-14T17:39:10Z","updated_at":"2024-08-14T17:39:10Z","carrier":"USPS","pickup_id":"pickup_78d5613d2cb644a0947a12d14611345b","id":"pickuprate_5b6e8d25053a4ea093b41f8ede7c8978","object":"PickupRate"}]}' curl_info: - url: 'https://api.easypost.com/v2/pickups/pickup_d603efcb82b8455a8c3c41ab2db381b9' + url: 'https://api.easypost.com/v2/pickups/pickup_78d5613d2cb644a0947a12d14611345b' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 689 @@ -200,33 +202,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.274897 - namelookup_time: 0.001548 - connect_time: 0.065725 - pretransfer_time: 0.132307 + total_time: 0.174371 + namelookup_time: 0.003552 + connect_time: 0.036653 + pretransfer_time: 0.072923 size_upload: 0.0 size_download: 1157.0 - speed_download: 4208.0 + speed_download: 6635.0 speed_upload: 0.0 download_content_length: 1157.0 upload_content_length: 0.0 - starttransfer_time: 0.274774 + starttransfer_time: 0.17428 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53657 + local_ip: 192.168.1.75 + local_port: 52622 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 132241 - connect_time_us: 65725 - namelookup_time_us: 1548 - pretransfer_time_us: 132307 + scheme: https + appconnect_time_us: 72871 + connect_time_us: 36653 + namelookup_time_us: 3552 + pretransfer_time_us: 72923 redirect_time_us: 0 - starttransfer_time_us: 274774 - total_time_us: 274897 + starttransfer_time_us: 174280 + total_time_us: 174371 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/rates/retrieve.yml b/test/cassettes/rates/retrieve.yml index df65a051..84a22ff3 100644 --- a/test/cassettes/rates/retrieve.yml +++ b/test/cassettes/rates/retrieve.yml @@ -14,8 +14,7 @@ body: '{"shipment":{"from_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"to_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"}}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911a655e64fde78859c8001fe513 + x-ep-request-uuid: e181587b66bcec1ce2b903b800871c2e cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_aafb8040b3ab44b18dfea8e5c912acbe + location: /api/v2/shipments/shp_43faa512408f4a7ab44e83bda3684af9 content-type: 'application/json; charset=utf-8' - content-length: '6229' - x-runtime: '0.749338' - x-node: bigweb42nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '4984' + x-runtime: '0.678008' + x-node: bigweb35nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:54Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","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":"2023-11-22T20:30:54Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_08afda27897611eeac0cac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:30:53+00:00","updated_at":"2023-11-22T20:30:53+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_3584fabf5e344c9c8e33efecae80d296","object":"Parcel","created_at":"2023-11-22T20:30:54Z","updated_at":"2023-11-22T20:30:54Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_67cc451d814e4e0fa558afeba970afb8","object":"Rate","created_at":"2023-11-22T20:30:54Z","updated_at":"2023-11-22T20:30:54Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_aafb8040b3ab44b18dfea8e5c912acbe","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_26f508a3cd054082b1b077f886cc2e65","object":"Rate","created_at":"2023-11-22T20:30:54Z","updated_at":"2023-11-22T20:30:54Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_aafb8040b3ab44b18dfea8e5c912acbe","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_4d13e0c5bf834133b21810808824f454","object":"Rate","created_at":"2023-11-22T20:30:54Z","updated_at":"2023-11-22T20:30:54Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_aafb8040b3ab44b18dfea8e5c912acbe","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_d7aa66b4e82b4956ad3a9b10218114ab","object":"Rate","created_at":"2023-11-22T20:30:54Z","updated_at":"2023-11-22T20:30:54Z","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_aafb8040b3ab44b18dfea8e5c912acbe","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_86693d4417334fa48b67856d5d9962d5","object":"Rate","created_at":"2023-11-22T20:30:54Z","updated_at":"2023-11-22T20:30:54Z","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_aafb8040b3ab44b18dfea8e5c912acbe","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_08ad3461897611ee8a94ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:53+00:00","updated_at":"2023-11-22T20:30:53+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_08afda27897611eeac0cac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:30:53+00:00","updated_at":"2023-11-22T20:30:53+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":[]},"buyer_address":{"id":"adr_08ad3461897611ee8a94ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:53+00:00","updated_at":"2023-11-22T20:30:53+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_aafb8040b3ab44b18dfea8e5c912acbe","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:40:44Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:40:45Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_55501f405a6411ef84c6ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:40:44+00:00","updated_at":"2024-08-14T17:40:44+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_f80719d8ddb54bb69d7ab6e70f57fe2c","object":"Parcel","created_at":"2024-08-14T17:40:44Z","updated_at":"2024-08-14T17:40:44Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_7c486c028f384eaeafcf823473a9d0a5","object":"Rate","created_at":"2024-08-14T17:40:45Z","updated_at":"2024-08-14T17:40:45Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_43faa512408f4a7ab44e83bda3684af9","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_24356704b3a948f1b0c20b56f29aea9a","object":"Rate","created_at":"2024-08-14T17:40:45Z","updated_at":"2024-08-14T17:40:45Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_43faa512408f4a7ab44e83bda3684af9","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_1fbb0df61b434e7db2d0c0cc644e7b7a","object":"Rate","created_at":"2024-08-14T17:40:45Z","updated_at":"2024-08-14T17:40:45Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_43faa512408f4a7ab44e83bda3684af9","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_554d66535a6411ef93a8ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:40:44+00:00","updated_at":"2024-08-14T17:40:44+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_55501f405a6411ef84c6ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:40:44+00:00","updated_at":"2024-08-14T17:40:44+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":[]},"buyer_address":{"id":"adr_554d66535a6411ef93a8ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:40:44+00:00","updated_at":"2024-08-14T17:40:44+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_43faa512408f4a7ab44e83bda3684af9","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' @@ -47,40 +46,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.982012 - namelookup_time: 0.010922 - connect_time: 0.09323 - pretransfer_time: 0.161106 + total_time: 0.786202 + namelookup_time: 0.001795 + connect_time: 0.034189 + pretransfer_time: 0.070948 size_upload: 459.0 - size_download: 6229.0 - speed_download: 6343.0 - speed_upload: 467.0 - download_content_length: 6229.0 + size_download: 4984.0 + speed_download: 6339.0 + speed_upload: 583.0 + download_content_length: 4984.0 upload_content_length: 459.0 - starttransfer_time: 0.981932 + starttransfer_time: 0.786069 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53487 + local_ip: 192.168.1.75 + local_port: 52827 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 161038 - connect_time_us: 93230 - namelookup_time_us: 10922 - pretransfer_time_us: 161106 + scheme: https + appconnect_time_us: 70885 + connect_time_us: 34189 + namelookup_time_us: 1795 + pretransfer_time_us: 70948 redirect_time_us: 0 - starttransfer_time_us: 981932 - total_time_us: 982012 + starttransfer_time_us: 786069 + total_time_us: 786202 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/rates/rate_67cc451d814e4e0fa558afeba970afb8' + url: 'https://api.easypost.com/v2/rates/rate_7c486c028f384eaeafcf823473a9d0a5' headers: Host: api.easypost.com Accept-Encoding: '' @@ -90,8 +92,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -100,21 +101,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911b655e64fee78859c9001fe673 + x-ep-request-uuid: e181587c66bcec1de2b903b900871cd6 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '542' - x-runtime: '0.129220' - x-node: bigweb31nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '537' + x-runtime: '0.176371' + x-node: bigweb41nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"rate_67cc451d814e4e0fa558afeba970afb8","object":"Rate","created_at":"2023-11-22T20:30:54Z","updated_at":"2023-11-22T20:30:54Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_aafb8040b3ab44b18dfea8e5c912acbe","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}' + body: '{"id":"rate_7c486c028f384eaeafcf823473a9d0a5","object":"Rate","created_at":"2024-08-14T17:40:45Z","updated_at":"2024-08-14T17:40:45Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_43faa512408f4a7ab44e83bda3684af9","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}' curl_info: - url: 'https://api.easypost.com/v2/rates/rate_67cc451d814e4e0fa558afeba970afb8' + url: 'https://api.easypost.com/v2/rates/rate_7c486c028f384eaeafcf823473a9d0a5' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 688 @@ -122,33 +123,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.332065 - namelookup_time: 0.001113 - connect_time: 0.069797 - pretransfer_time: 0.134812 + total_time: 0.286069 + namelookup_time: 0.002689 + connect_time: 0.035315 + pretransfer_time: 0.073255 size_upload: 0.0 - size_download: 542.0 - speed_download: 1632.0 + size_download: 537.0 + speed_download: 1877.0 speed_upload: 0.0 - download_content_length: 542.0 + download_content_length: 537.0 upload_content_length: 0.0 - starttransfer_time: 0.332048 + starttransfer_time: 0.285997 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53488 + local_ip: 192.168.1.75 + local_port: 52828 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 134769 - connect_time_us: 69797 - namelookup_time_us: 1113 - pretransfer_time_us: 134812 + scheme: https + appconnect_time_us: 73185 + connect_time_us: 35315 + namelookup_time_us: 2689 + pretransfer_time_us: 73255 redirect_time_us: 0 - starttransfer_time_us: 332048 - total_time_us: 332065 + starttransfer_time_us: 285997 + total_time_us: 286069 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/referral_customers/addCreditCard.yml b/test/cassettes/referral_customers/addCreditCard.yml index 6a0b9015..0287f234 100644 --- a/test/cassettes/referral_customers/addCreditCard.yml +++ b/test/cassettes/referral_customers/addCreditCard.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,17 +21,17 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911d655e6987e78866210024156a + x-ep-request-uuid: 7452537966be7d74e78a13210032d5d5 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '49' - x-runtime: '0.021908' - x-node: bigweb36nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.024157' + x-node: bigweb53nuq + x-version-label: easypost-202408151917-1527448f18-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb1nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' body: '{"public_key":"pk_x3JSr5eOVWNTLRej8cZDde9VQ0AT5"}' curl_info: @@ -44,35 +43,38 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.26051 - namelookup_time: 0.033613 - connect_time: 0.1046 - pretransfer_time: 0.173514 + total_time: 0.237289 + namelookup_time: 0.006835 + connect_time: 0.07311 + pretransfer_time: 0.14141 size_upload: 0.0 size_download: 49.0 - speed_download: 188.0 + speed_download: 206.0 speed_upload: 0.0 download_content_length: 49.0 upload_content_length: 0.0 - starttransfer_time: 0.260493 + starttransfer_time: 0.237257 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.130 + primary_ip: 169.62.110.131 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53750 + local_ip: 10.130.6.11 + local_port: 56900 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 173446 - connect_time_us: 104600 - namelookup_time_us: 33613 - pretransfer_time_us: 173514 + scheme: https + appconnect_time_us: 141370 + connect_time_us: 73110 + namelookup_time_us: 6835 + pretransfer_time_us: 141410 redirect_time_us: 0 - starttransfer_time_us: 260493 - total_time_us: 260510 + starttransfer_time_us: 237257 + total_time_us: 237289 + effective_method: GET + capath: '' + cainfo: '' index: 0 - request: @@ -88,14 +90,13 @@ Accept: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: Server: nginx - Date: 'Wed, 22 Nov 2023 20:50:16 GMT' + Date: 'Thu, 15 Aug 2024 22:13:09 GMT' Content-Type: application/json - Content-Length: '739' + Content-Length: '788' Connection: keep-alive Access-Control-Allow-Credentials: 'true' Access-Control-Allow-Methods: 'GET,HEAD,PUT,PATCH,POST,DELETE' @@ -103,54 +104,62 @@ Access-Control-Expose-Headers: 'Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required' Access-Control-Max-Age: '300' Cache-Control: 'no-cache, no-store' - Content-Security-Policy: 'report-uri https://q.stripe.com/csp-report?p=v1%2Ftokens; block-all-mixed-content; default-src ''none''; base-uri ''none''; form-action ''none''; frame-ancestors ''none''; img-src ''self''; script-src ''self'' ''report-sample''; style-src ''self''' - Idempotency-Key: cfe351c8-a637-458c-8534-6a998d477076 - Original-Request: req_csfe6RA3DIEYj0 - Request-Id: req_csfe6RA3DIEYj0 + Content-Security-Policy: "report-uri https://q.stripe.com/csp-report?p=v1%2Ftokens; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'" + Cross-Origin-Opener-Policy-Report-Only: 'same-origin; report-to="coop"' + Idempotency-Key: b7950341-1c11-4064-8836-4c9f8d97b88a + Original-Request: req_CpQ1fVpRwL3hF1 + Report-To: '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report?s=payins-bapi-srv"}],"include_subdomains":true}' + Reporting-Endpoints: 'coop="https://q.stripe.com/coop-report?s=payins-bapi-srv"' + Request-Id: req_CpQ1fVpRwL3hF1 Stripe-Should-Retry: 'false' Stripe-Version: '2020-08-27' Vary: Origin + X-Content-Type-Options: nosniff + X-Stripe-Priority-Routing-Enabled: 'true' X-Stripe-Routing-Context-Priority-Tier: livemode-critical Strict-Transport-Security: 'max-age=63072000; includeSubDomains; preload' - body: '{"id":"tok_0OFNNEDqT4huGUvdccqTaCPL","object":"token","card":{"id":"card_0OFNNEDqT4huGUvdRrRIr1LZ","object":"card","address_city":null,"address_country":null,"address_line1":null,"address_line1_check":null,"address_line2":null,"address_state":null,"address_zip":null,"address_zip_check":null,"brand":"Visa","country":"US","cvc_check":"unchecked","dynamic_last4":null,"exp_month":5,"exp_year":2028,"funding":"credit","last4":"6170","name":null,"tokenization_method":null,"wallet":null},"client_ip":"","created":1700686216,"livemode":true,"type":"card","used":false}' + body: '{"id":"tok_0PoBurDqT4huGUvdO75MxSbj","object":"token","card":{"id":"card_0PoBurDqT4huGUvdT6xZ1Ast","object":"card","address_city":null,"address_country":null,"address_line1":null,"address_line1_check":null,"address_line2":null,"address_state":null,"address_zip":null,"address_zip_check":null,"brand":"Visa","country":"US","cvc_check":"unchecked","dynamic_last4":null,"exp_month":5,"exp_year":2028,"funding":"credit","last4":"6170","name":null,"networks":{"preferred":null},"tokenization_method":null,"wallet":null},"client_ip":"","created":1723759989,"livemode":true,"type":"card","used":false}' curl_info: url: 'https://api.stripe.com/v1/tokens?' content_type: application/json http_code: 200 - header_size: 1089 - request_size: 299 + header_size: 1459 + request_size: 298 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.471683 - namelookup_time: 0.027597 - connect_time: 0.068873 - pretransfer_time: 0.111528 + total_time: 0.477697 + namelookup_time: 0.031546 + connect_time: 0.074758 + pretransfer_time: 0.12075 size_upload: 0.0 - size_download: 739.0 - speed_download: 1566.0 + size_download: 788.0 + speed_download: 1649.0 speed_upload: 0.0 - download_content_length: 739.0 + download_content_length: 788.0 upload_content_length: 0.0 - starttransfer_time: 0.471663 + starttransfer_time: 0.47767 redirect_time: 0.0 redirect_url: '' - primary_ip: 54.68.183.151 + primary_ip: 52.26.14.11 certinfo: { } primary_port: 443 - local_ip: 192.168.1.201 - local_port: 53751 + local_ip: 192.168.1.75 + local_port: 56901 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 111497 - connect_time_us: 68873 - namelookup_time_us: 27597 - pretransfer_time_us: 111528 + scheme: https + appconnect_time_us: 120684 + connect_time_us: 74758 + namelookup_time_us: 31546 + pretransfer_time_us: 120750 redirect_time_us: 0 - starttransfer_time_us: 471663 - total_time_us: 471683 + starttransfer_time_us: 477670 + total_time_us: 477697 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: @@ -164,11 +173,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"credit_card":{"stripe_object_id":"tok_0OFNNEDqT4huGUvdccqTaCPL","priority":"primary"}}' + body: '{"credit_card":{"stripe_object_id":"tok_0PoBurDqT4huGUvdO75MxSbj","priority":"primary"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -177,19 +185,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911f655e6988e78866230024161c + x-ep-request-uuid: 7452537966be7d75e78a13230032d663 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '159' - x-runtime: '3.097053' - x-node: bigweb39nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '193' + x-runtime: '2.793479' + x-node: bigweb33nuq + x-version-label: easypost-202408151917-1527448f18-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb1nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"card_4a3f7fd3560a42e885d8a5f0e25197af","disabled_at":null,"object":"CreditCard","name":null,"last4":"6170","exp_month":5,"exp_year":2028,"brand":"Visa"}' + body: '{"id":"pm_53cc66088ef3440fbf36fa46964da578","disabled_at":null,"object":"CreditCard","name":null,"last4":"6170","exp_month":5,"exp_year":2028,"brand":"Visa","requires_mandate_collection":false}' curl_info: url: 'https://api.easypost.com/v2/credit_cards' content_type: 'application/json; charset=utf-8' @@ -199,33 +207,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 3.297787 - namelookup_time: 0.004692 - connect_time: 0.067627 - pretransfer_time: 0.131745 + total_time: 2.996136 + namelookup_time: 0.00197 + connect_time: 0.067254 + pretransfer_time: 0.134764 size_upload: 88.0 - size_download: 159.0 - speed_download: 48.0 - speed_upload: 26.0 - download_content_length: 159.0 + size_download: 193.0 + speed_download: 64.0 + speed_upload: 29.0 + download_content_length: 193.0 upload_content_length: 88.0 - starttransfer_time: 3.297767 + starttransfer_time: 2.996086 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.130 + primary_ip: 169.62.110.131 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53752 + local_ip: 10.130.6.11 + local_port: 56902 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 131715 - connect_time_us: 67627 - namelookup_time_us: 4692 - pretransfer_time_us: 131745 + scheme: https + appconnect_time_us: 134701 + connect_time_us: 67254 + namelookup_time_us: 1970 + pretransfer_time_us: 134764 redirect_time_us: 0 - starttransfer_time_us: 3297767 - total_time_us: 3297787 + starttransfer_time_us: 2996086 + total_time_us: 2996136 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/referral_customers/all.yml b/test/cassettes/referral_customers/all.yml index da76c205..417be334 100644 --- a/test/cassettes/referral_customers/all.yml +++ b/test/cassettes/referral_customers/all.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,19 +21,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911a655e64fde78859c7001fe469 + x-ep-request-uuid: e181587d66bcec1ee2b903d200871db5 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '2858' - x-runtime: '0.200719' - x-node: bigweb42nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.228084' + x-node: bigweb41nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"has_more":true,"referral_customers":[{"id":"user_634b6daa05744bfaa205058f06864363","object":"User","parent_id":null,"name":"Firstname Lastname","phone_number":"","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":"","children":[]},{"id":"user_35cb81fb8af1454dabf1f6afa7330634","object":"User","parent_id":null,"name":"Firstname Lastname","phone_number":"","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":"","children":[]},{"id":"user_fa93cc16bcc24c078ee057ce82f38eed","object":"User","parent_id":null,"name":"test test","phone_number":"","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":"","children":[]},{"id":"user_4a22730cdc844ce1bc2efbed999c869f","object":"User","parent_id":null,"name":"test test","phone_number":"","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":"","children":[]},{"id":"user_488e391395f4416196a31965fecac409","object":"User","parent_id":null,"name":"Firstname Lastname","phone_number":"","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":"","children":[]}]}' + body: '{"has_more":true,"referral_customers":[{"id":"user_634b6daa05744bfaa205058f06864363","object":"User","parent_id":null,"name":"Firstname Lastname","phone_number":"","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.50","email":"","children":[]},{"id":"user_35cb81fb8af1454dabf1f6afa7330634","object":"User","parent_id":null,"name":"Firstname Lastname","phone_number":"","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.50","email":"","children":[]},{"id":"user_fa93cc16bcc24c078ee057ce82f38eed","object":"User","parent_id":null,"name":"test test","phone_number":"","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.50","email":"","children":[]},{"id":"user_4a22730cdc844ce1bc2efbed999c869f","object":"User","parent_id":null,"name":"test test","phone_number":"","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.50","email":"","children":[]},{"id":"user_488e391395f4416196a31965fecac409","object":"User","parent_id":null,"name":"Firstname Lastname","phone_number":"","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.50","email":"","children":[]}]}' curl_info: url: 'https://api.easypost.com/v2/referral_customers?page_size=5' content_type: 'application/json; charset=utf-8' @@ -44,33 +43,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.401819 - namelookup_time: 0.001258 - connect_time: 0.064347 - pretransfer_time: 0.135489 + total_time: 0.330371 + namelookup_time: 0.001824 + connect_time: 0.03164 + pretransfer_time: 0.064801 size_upload: 0.0 size_download: 2858.0 - speed_download: 7112.0 + speed_download: 8650.0 speed_upload: 0.0 download_content_length: 2858.0 upload_content_length: 0.0 - starttransfer_time: 0.401784 + starttransfer_time: 0.330307 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53486 + local_ip: 192.168.1.75 + local_port: 52830 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 135423 - connect_time_us: 64347 - namelookup_time_us: 1258 - pretransfer_time_us: 135489 + scheme: https + appconnect_time_us: 64758 + connect_time_us: 31640 + namelookup_time_us: 1824 + pretransfer_time_us: 64801 redirect_time_us: 0 - starttransfer_time_us: 401784 - total_time_us: 401819 + starttransfer_time_us: 330307 + total_time_us: 330371 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/referral_customers/create.yml b/test/cassettes/referral_customers/create.yml index 49677763..9aac7ba0 100644 --- a/test/cassettes/referral_customers/create.yml +++ b/test/cassettes/referral_customers/create.yml @@ -14,8 +14,7 @@ body: '{"user":{"name":"Test Referral","email":"test@test.com","phone":"8888888888"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,19 +23,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef9121655e64fce78859c6001fe2c1 + x-ep-request-uuid: e181587966bcec1de2b903ba00871d23 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '1022' - x-runtime: '0.941703' + content-length: '1021' + x-runtime: '0.633094' x-node: bigweb33nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"user_61990a84725542f5852401e2253acc4c","object":"User","parent_id":null,"name":"Test Referral","phone_number":"","verified":true,"created_at":"2023-11-22T20:30:52Z","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":"","children":[],"api_keys":[{"object":"ApiKey","key":"","mode":"test","created_at":"2023-11-22T20:30:52Z","active":true,"id":"ak_ad4f65129c8f4e6d89a796352a40f45e"},{"object":"ApiKey","key":"","mode":"production","created_at":"2023-11-22T20:30:52Z","active":true,"id":"ak_14e09101f21e407a97418de59949cbee"}]}' + body: '{"id":"user_7b554ec665fb46d5bddb54089264f511","object":"User","parent_id":null,"name":"Test Referral","phone_number":"","verified":true,"created_at":"2024-08-14T17:40:45Z","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.01","insurance_fee_minimum":"0.50","email":"","children":[],"api_keys":[{"object":"ApiKey","key":"","mode":"test","created_at":"2024-08-14T17:40:46Z","active":true,"id":"ak_1c37a3b09b944b87b72fe589968e3891"},{"object":"ApiKey","key":"","mode":"production","created_at":"2024-08-14T17:40:46Z","active":true,"id":"ak_2c727a5e5a6b4895928987326cda20f9"}]}' curl_info: url: 'https://api.easypost.com/v2/referral_customers' content_type: 'application/json; charset=utf-8' @@ -46,33 +45,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.1426 - namelookup_time: 0.001021 - connect_time: 0.070328 - pretransfer_time: 0.136333 + total_time: 0.742202 + namelookup_time: 0.003012 + connect_time: 0.032476 + pretransfer_time: 0.064935 size_upload: 78.0 - size_download: 1022.0 - speed_download: 894.0 - speed_upload: 68.0 - download_content_length: 1022.0 + size_download: 1021.0 + speed_download: 1375.0 + speed_upload: 105.0 + download_content_length: 1021.0 upload_content_length: 78.0 - starttransfer_time: 1.142568 + starttransfer_time: 0.742171 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53485 + local_ip: 192.168.1.75 + local_port: 52829 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 136278 - connect_time_us: 70328 - namelookup_time_us: 1021 - pretransfer_time_us: 136333 + scheme: https + appconnect_time_us: 64873 + connect_time_us: 32476 + namelookup_time_us: 3012 + pretransfer_time_us: 64935 redirect_time_us: 0 - starttransfer_time_us: 1142568 - total_time_us: 1142600 + starttransfer_time_us: 742171 + total_time_us: 742202 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/referral_customers/getNextPage.yml b/test/cassettes/referral_customers/getNextPage.yml index b64b80ae..85a53344 100644 --- a/test/cassettes/referral_customers/getNextPage.yml +++ b/test/cassettes/referral_customers/getNextPage.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,19 +21,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 0610ca3a6564eab3e787e2210013f434 + x-ep-request-uuid: e181587966bcec1ee2b903d300871df5 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '2858' - x-runtime: '0.201648' - x-node: bigweb34nuq - x-version-label: easypost-202311250013-a0f06fbc2c-master + x-runtime: '0.255761' + x-node: bigweb38nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"has_more":true,"referral_customers":[{"id":"user_634b6daa05744bfaa205058f06864363","object":"User","parent_id":null,"name":"Firstname Lastname","phone_number":"","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":"","children":[]},{"id":"user_35cb81fb8af1454dabf1f6afa7330634","object":"User","parent_id":null,"name":"Firstname Lastname","phone_number":"","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":"","children":[]},{"id":"user_fa93cc16bcc24c078ee057ce82f38eed","object":"User","parent_id":null,"name":"test test","phone_number":"","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":"","children":[]},{"id":"user_4a22730cdc844ce1bc2efbed999c869f","object":"User","parent_id":null,"name":"test test","phone_number":"","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":"","children":[]},{"id":"user_488e391395f4416196a31965fecac409","object":"User","parent_id":null,"name":"Firstname Lastname","phone_number":"","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":"","children":[]}]}' + body: '{"has_more":true,"referral_customers":[{"id":"user_634b6daa05744bfaa205058f06864363","object":"User","parent_id":null,"name":"Firstname Lastname","phone_number":"","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.50","email":"","children":[]},{"id":"user_35cb81fb8af1454dabf1f6afa7330634","object":"User","parent_id":null,"name":"Firstname Lastname","phone_number":"","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.50","email":"","children":[]},{"id":"user_fa93cc16bcc24c078ee057ce82f38eed","object":"User","parent_id":null,"name":"test test","phone_number":"","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.50","email":"","children":[]},{"id":"user_4a22730cdc844ce1bc2efbed999c869f","object":"User","parent_id":null,"name":"test test","phone_number":"","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.50","email":"","children":[]},{"id":"user_488e391395f4416196a31965fecac409","object":"User","parent_id":null,"name":"Firstname Lastname","phone_number":"","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.50","email":"","children":[]}]}' curl_info: url: 'https://api.easypost.com/v2/referral_customers?page_size=5' content_type: 'application/json; charset=utf-8' @@ -44,35 +43,38 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.400809 - namelookup_time: 0.001998 - connect_time: 0.068187 - pretransfer_time: 0.133562 + total_time: 0.366956 + namelookup_time: 0.002061 + connect_time: 0.035183 + pretransfer_time: 0.072594 size_upload: 0.0 size_download: 2858.0 - speed_download: 7130.0 + speed_download: 7788.0 speed_upload: 0.0 download_content_length: 2858.0 upload_content_length: 0.0 - starttransfer_time: 0.400769 + starttransfer_time: 0.366893 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.31 - local_port: 52940 + local_ip: 192.168.1.75 + local_port: 52831 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 133497 - connect_time_us: 68187 - namelookup_time_us: 1998 - pretransfer_time_us: 133562 + scheme: https + appconnect_time_us: 72530 + connect_time_us: 35183 + namelookup_time_us: 2061 + pretransfer_time_us: 72594 redirect_time_us: 0 - starttransfer_time_us: 400769 - total_time_us: 400809 + starttransfer_time_us: 366893 + total_time_us: 366956 + effective_method: GET + capath: '' + cainfo: '' index: 0 - request: @@ -87,8 +89,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -97,19 +98,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 0610ca366564eab4e787e2220013f4b6 + x-ep-request-uuid: e181587b66bcec1fe2b903d400871e39 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '2285' - x-runtime: '0.168140' - x-node: bigweb31nuq - x-version-label: easypost-202311250013-a0f06fbc2c-master + x-runtime: '0.371990' + x-node: bigweb40nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"has_more":false,"referral_customers":[{"id":"user_4a22730cdc844ce1bc2efbed999c869f","object":"User","parent_id":null,"name":"test test","phone_number":"","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":"","children":[]},{"id":"user_fa93cc16bcc24c078ee057ce82f38eed","object":"User","parent_id":null,"name":"test test","phone_number":"","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":"","children":[]},{"id":"user_35cb81fb8af1454dabf1f6afa7330634","object":"User","parent_id":null,"name":"Firstname Lastname","phone_number":"","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":"","children":[]},{"id":"user_634b6daa05744bfaa205058f06864363","object":"User","parent_id":null,"name":"Firstname Lastname","phone_number":"","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":"","children":[]}]}' + body: '{"has_more":false,"referral_customers":[{"id":"user_4a22730cdc844ce1bc2efbed999c869f","object":"User","parent_id":null,"name":"test test","phone_number":"","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.50","email":"","children":[]},{"id":"user_fa93cc16bcc24c078ee057ce82f38eed","object":"User","parent_id":null,"name":"test test","phone_number":"","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.50","email":"","children":[]},{"id":"user_35cb81fb8af1454dabf1f6afa7330634","object":"User","parent_id":null,"name":"Firstname Lastname","phone_number":"","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.50","email":"","children":[]},{"id":"user_634b6daa05744bfaa205058f06864363","object":"User","parent_id":null,"name":"Firstname Lastname","phone_number":"","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.50","email":"","children":[]}]}' curl_info: url: 'https://api.easypost.com/v2/referral_customers?page_size=5&before_id=user_488e391395f4416196a31965fecac409' content_type: 'application/json; charset=utf-8' @@ -119,33 +120,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.370031 - namelookup_time: 0.002222 - connect_time: 0.066756 - pretransfer_time: 0.134887 + total_time: 0.492821 + namelookup_time: 0.002171 + connect_time: 0.03548 + pretransfer_time: 0.07383 size_upload: 0.0 size_download: 2285.0 - speed_download: 6175.0 + speed_download: 4636.0 speed_upload: 0.0 download_content_length: 2285.0 upload_content_length: 0.0 - starttransfer_time: 0.36996 + starttransfer_time: 0.492789 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.31 - local_port: 52941 + local_ip: 192.168.1.75 + local_port: 52832 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 134823 - connect_time_us: 66756 - namelookup_time_us: 2222 - pretransfer_time_us: 134887 + scheme: https + appconnect_time_us: 73755 + connect_time_us: 35480 + namelookup_time_us: 2171 + pretransfer_time_us: 73830 redirect_time_us: 0 - starttransfer_time_us: 369960 - total_time_us: 370031 + starttransfer_time_us: 492789 + total_time_us: 492821 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/referral_customers/updateEmail.yml b/test/cassettes/referral_customers/updateEmail.yml index f7e4c0ba..92de7dda 100644 --- a/test/cassettes/referral_customers/updateEmail.yml +++ b/test/cassettes/referral_customers/updateEmail.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,19 +21,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911b655e64fbe78859c4001fe12b + x-ep-request-uuid: e181587966bcec1fe2b903d500871eab cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '5654' - x-runtime: '0.632686' - x-node: bigweb35nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.441404' + x-node: bigweb34nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"has_more":true,"referral_customers":[{"id":"user_634b6daa05744bfaa205058f06864363","object":"User","parent_id":null,"name":"Firstname Lastname","phone_number":"","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":"","children":[]},{"id":"user_35cb81fb8af1454dabf1f6afa7330634","object":"User","parent_id":null,"name":"Firstname Lastname","phone_number":"","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":"","children":[]},{"id":"user_fa93cc16bcc24c078ee057ce82f38eed","object":"User","parent_id":null,"name":"test test","phone_number":"","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":"","children":[]},{"id":"user_4a22730cdc844ce1bc2efbed999c869f","object":"User","parent_id":null,"name":"test test","phone_number":"","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":"","children":[]},{"id":"user_488e391395f4416196a31965fecac409","object":"User","parent_id":null,"name":"Firstname Lastname","phone_number":"","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":"","children":[]},{"id":"user_91b120087ff843349b9a3f0675572bb1","object":"User","parent_id":null,"name":"test test","phone_number":"","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":"","children":[]},{"id":"user_4ae0d572fbe542deb7efa51935a5b826","object":"User","parent_id":null,"name":"test test","phone_number":"","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":"","children":[]},{"id":"user_71189529eba747ce83aa69303e22c7df","object":"User","parent_id":null,"name":"Firstname Lastname","phone_number":"","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":"","children":[]},{"id":"user_c13290f1f6a442d79657b8bfe5daeeba","object":"User","parent_id":null,"name":"test test","phone_number":"","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":"","children":[]},{"id":"user_b73fdc6c6a58421ea884a82ad14520a5","object":"User","parent_id":null,"name":"test test","phone_number":"","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":"","children":[]}]}' + body: '{"has_more":true,"referral_customers":[{"id":"user_634b6daa05744bfaa205058f06864363","object":"User","parent_id":null,"name":"Firstname Lastname","phone_number":"","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.50","email":"","children":[]},{"id":"user_35cb81fb8af1454dabf1f6afa7330634","object":"User","parent_id":null,"name":"Firstname Lastname","phone_number":"","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.50","email":"","children":[]},{"id":"user_fa93cc16bcc24c078ee057ce82f38eed","object":"User","parent_id":null,"name":"test test","phone_number":"","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.50","email":"","children":[]},{"id":"user_4a22730cdc844ce1bc2efbed999c869f","object":"User","parent_id":null,"name":"test test","phone_number":"","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.50","email":"","children":[]},{"id":"user_488e391395f4416196a31965fecac409","object":"User","parent_id":null,"name":"Firstname Lastname","phone_number":"","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.50","email":"","children":[]},{"id":"user_91b120087ff843349b9a3f0675572bb1","object":"User","parent_id":null,"name":"test test","phone_number":"","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.50","email":"","children":[]},{"id":"user_4ae0d572fbe542deb7efa51935a5b826","object":"User","parent_id":null,"name":"test test","phone_number":"","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.50","email":"","children":[]},{"id":"user_71189529eba747ce83aa69303e22c7df","object":"User","parent_id":null,"name":"Firstname Lastname","phone_number":"","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.50","email":"","children":[]},{"id":"user_c13290f1f6a442d79657b8bfe5daeeba","object":"User","parent_id":null,"name":"test test","phone_number":"","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.50","email":"","children":[]},{"id":"user_b73fdc6c6a58421ea884a82ad14520a5","object":"User","parent_id":null,"name":"test test","phone_number":"","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.50","email":"","children":[]}]}' curl_info: url: 'https://api.easypost.com/v2/referral_customers' content_type: 'application/json; charset=utf-8' @@ -44,35 +43,38 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.862471 - namelookup_time: 0.001273 - connect_time: 0.069927 - pretransfer_time: 0.165413 + total_time: 0.551343 + namelookup_time: 0.002439 + connect_time: 0.035829 + pretransfer_time: 0.0719 size_upload: 0.0 size_download: 5654.0 - speed_download: 6555.0 + speed_download: 10254.0 speed_upload: 0.0 download_content_length: 5654.0 upload_content_length: 0.0 - starttransfer_time: 0.862437 + starttransfer_time: 0.551181 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53483 + local_ip: 192.168.1.75 + local_port: 52833 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 165371 - connect_time_us: 69927 - namelookup_time_us: 1273 - pretransfer_time_us: 165413 + scheme: https + appconnect_time_us: 71840 + connect_time_us: 35829 + namelookup_time_us: 2439 + pretransfer_time_us: 71900 redirect_time_us: 0 - starttransfer_time_us: 862437 - total_time_us: 862471 + starttransfer_time_us: 551181 + total_time_us: 551343 + effective_method: GET + capath: '' + cainfo: '' index: 0 - request: @@ -89,8 +91,7 @@ body: '{"user":{"email":"email@example.com"}}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -99,17 +100,17 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911c655e64fbe78859c5001fe241 + x-ep-request-uuid: e181587766bcec20e2b903d600871f2b cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '59' - x-runtime: '0.113743' - x-node: bigweb42nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.050816' + x-node: bigweb33nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' body: '{"message":"Referral Customer email updated successfully"}' curl_info: @@ -121,33 +122,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.328842 - namelookup_time: 0.00173 - connect_time: 0.077845 - pretransfer_time: 0.150393 + total_time: 0.162047 + namelookup_time: 0.002351 + connect_time: 0.036483 + pretransfer_time: 0.074784 size_upload: 38.0 size_download: 59.0 - speed_download: 179.0 - speed_upload: 115.0 + speed_download: 364.0 + speed_upload: 234.0 download_content_length: 59.0 upload_content_length: 38.0 - starttransfer_time: 0.328809 + starttransfer_time: 0.161973 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53484 + local_ip: 192.168.1.75 + local_port: 52834 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 150366 - connect_time_us: 77845 - namelookup_time_us: 1730 - pretransfer_time_us: 150393 + scheme: https + appconnect_time_us: 74696 + connect_time_us: 36483 + namelookup_time_us: 2351 + pretransfer_time_us: 74784 redirect_time_us: 0 - starttransfer_time_us: 328809 - total_time_us: 328842 + starttransfer_time_us: 161973 + total_time_us: 162047 + effective_method: PUT + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/refunds/all.yml b/test/cassettes/refunds/all.yml index 4216fff2..02413239 100644 --- a/test/cassettes/refunds/all.yml +++ b/test/cassettes/refunds/all.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,55 +21,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911f655e64f8e78859a6001fdd89 + x-ep-request-uuid: e181587c66bcebcae2b8fb590086c9fb cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '1214' - x-runtime: '0.044485' - x-node: bigweb41nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '326' + x-runtime: '0.049081' + x-node: bigweb34nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"refunds":[{"id":"rfnd_f5322c13edb14488b609610e77129554","object":"Refund","created_at":"2023-11-22T20:30:48Z","updated_at":"2023-11-22T20:30:48Z","tracking_code":"9400100105440282036012","confirmation_number":null,"status":"submitted","carrier":"USPS","shipment_id":"shp_e85172474c1441a2a47b3ecf437fd4db"},{"id":"rfnd_f38519d28ae54116b38815c879f7643f","object":"Refund","created_at":"2023-11-22T20:30:08Z","updated_at":"2023-11-22T20:30:08Z","tracking_code":"9400100105440282035749","confirmation_number":null,"status":"submitted","carrier":"USPS","shipment_id":"shp_d129d08d265b450a93b2e37b4f46a6be"},{"id":"rfnd_be5fbd97c728496399ffc514a4606515","object":"Refund","created_at":"2023-11-22T19:56:15Z","updated_at":"2023-11-22T19:56:15Z","tracking_code":"9400100105440282027591","confirmation_number":null,"status":"submitted","carrier":"USPS","shipment_id":"shp_2ac7f7c28ca544179ad876570f95579b"},{"id":"rfnd_4498a9261a514221ab73d0fa2793901b","object":"Refund","created_at":"2023-11-22T19:55:47Z","updated_at":"2023-11-22T19:55:47Z","tracking_code":"9400100105440282027393","confirmation_number":null,"status":"submitted","carrier":"USPS","shipment_id":"shp_3de2e54264e545d698faffaa86695951"}],"has_more":false}' + body: '{"refunds":[{"id":"rfnd_1513d464240f447bae0485a6ac447379","object":"Refund","created_at":"2024-08-14T17:39:22Z","updated_at":"2024-08-14T17:39:22Z","tracking_code":"9400100105807075196603","confirmation_number":null,"status":"submitted","carrier":"USPS","shipment_id":"shp_c1bfabbf012845fca34e61aa50ad0d19"}],"has_more":false}' curl_info: url: 'https://api.easypost.com/v2/refunds?page_size=5' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 689 + header_size: 688 request_size: 296 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.238068 - namelookup_time: 0.001223 - connect_time: 0.063347 - pretransfer_time: 0.129233 + total_time: 0.148099 + namelookup_time: 0.005893 + connect_time: 0.035196 + pretransfer_time: 0.066473 size_upload: 0.0 - size_download: 1214.0 - speed_download: 5099.0 + size_download: 326.0 + speed_download: 2201.0 speed_upload: 0.0 - download_content_length: 1214.0 + download_content_length: 326.0 upload_content_length: 0.0 - starttransfer_time: 0.237766 + starttransfer_time: 0.148079 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53476 + local_ip: 192.168.1.75 + local_port: 52639 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 129162 - connect_time_us: 63347 - namelookup_time_us: 1223 - pretransfer_time_us: 129233 + scheme: https + appconnect_time_us: 66444 + connect_time_us: 35196 + namelookup_time_us: 5893 + pretransfer_time_us: 66473 redirect_time_us: 0 - starttransfer_time_us: 237766 - total_time_us: 238068 + starttransfer_time_us: 148079 + total_time_us: 148099 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/refunds/create.yml b/test/cassettes/refunds/create.yml index a46159b8..e6187c26 100644 --- a/test/cassettes/refunds/create.yml +++ b/test/cassettes/refunds/create.yml @@ -11,11 +11,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"First","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' + body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"GroundAdvantage","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,63 +23,66 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911c655e64f6e78859a3001fda1d + x-ep-request-uuid: e181587c66bcebc8e2b8fb540086c846 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_e85172474c1441a2a47b3ecf437fd4db + location: /api/v2/shipments/shp_c1bfabbf012845fca34e61aa50ad0d19 content-type: 'application/json; charset=utf-8' - content-length: '7619' - x-runtime: '1.119878' - x-node: bigweb40nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '6549' + x-runtime: '1.027818' + x-node: bigweb33nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:46Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105440282036012","updated_at":"2023-11-22T20:30:47Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_04113e21897611ee96acac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:46+00:00","updated_at":"2023-11-22T20:30:46+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_11e33e14c055429495c2d6f8933e79d4","object":"Parcel","created_at":"2023-11-22T20:30:46Z","updated_at":"2023-11-22T20:30:46Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_5420e3f3237b4e0bbaeb070de6e742b6","created_at":"2023-11-22T20:30:46Z","updated_at":"2023-11-22T20:30:47Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:30: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\/20231122\/e8979c85f7091d4dc59973c6743377ac17.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_60bc98e9f2434c3185f9462b29d914b7","object":"Rate","created_at":"2023-11-22T20:30:46Z","updated_at":"2023-11-22T20:30: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_e85172474c1441a2a47b3ecf437fd4db","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_c321b1bedfcf41429f52937880f87327","object":"Rate","created_at":"2023-11-22T20:30:46Z","updated_at":"2023-11-22T20:30:46Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_e85172474c1441a2a47b3ecf437fd4db","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_502341f1e16649e5bf2e58e67afc76e0","object":"Rate","created_at":"2023-11-22T20:30:46Z","updated_at":"2023-11-22T20:30:46Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_e85172474c1441a2a47b3ecf437fd4db","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_58ea1bd5c2224058917cb63adc44eebb","object":"Rate","created_at":"2023-11-22T20:30:46Z","updated_at":"2023-11-22T20:30:46Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_e85172474c1441a2a47b3ecf437fd4db","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_68a6df2aa52d48a98891889d935e4ed3","object":"Rate","created_at":"2023-11-22T20:30:46Z","updated_at":"2023-11-22T20:30: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_e85172474c1441a2a47b3ecf437fd4db","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_502341f1e16649e5bf2e58e67afc76e0","object":"Rate","created_at":"2023-11-22T20:30:46Z","updated_at":"2023-11-22T20:30:46Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_e85172474c1441a2a47b3ecf437fd4db","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_3378816333de4852bdf70212daac3fb0","object":"Tracker","mode":"test","tracking_code":"9400100105440282036012","status":"unknown","status_detail":"unknown","created_at":"2023-11-22T20:30:47Z","updated_at":"2023-11-22T20:30:47Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_e85172474c1441a2a47b3ecf437fd4db","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzMzNzg4MTYzMzNkZTQ4NTJiZGY3MDIxMmRhYWMzZmIw"},"to_address":{"id":"adr_040e179c897611ee8666ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:46+00:00","updated_at":"2023-11-22T20:30:46+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_04113e21897611ee96acac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:46+00:00","updated_at":"2023-11-22T20:30:46+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_040e179c897611ee8666ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:46+00:00","updated_at":"2023-11-22T20:30:46+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_e85172474c1441a2a47b3ecf437fd4db","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:21Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196603","updated_at":"2024-08-14T17:39:21Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_2376e09c5a6411efb7a23cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:20+00:00","updated_at":"2024-08-14T17:39:20+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_6590bfc884a3414aa2cf33d6d018f058","object":"Parcel","created_at":"2024-08-14T17:39:21Z","updated_at":"2024-08-14T17:39:21Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_c371b9a83d2e40828f977234bff49444","created_at":"2024-08-14T17:39:21Z","updated_at":"2024-08-14T17:39:21Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e84524d20967dd4c589363e13df3322730.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_42d52c8debaa407aa90dda98e42f9aba","object":"Rate","created_at":"2024-08-14T17:39:21Z","updated_at":"2024-08-14T17:39:21Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c1bfabbf012845fca34e61aa50ad0d19","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_5bb7787808c24d1eafda6bf31e477564","object":"Rate","created_at":"2024-08-14T17:39:21Z","updated_at":"2024-08-14T17:39:21Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_c1bfabbf012845fca34e61aa50ad0d19","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_b77ef8611454491ca817c5633216d5a9","object":"Rate","created_at":"2024-08-14T17:39:21Z","updated_at":"2024-08-14T17:39:21Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_c1bfabbf012845fca34e61aa50ad0d19","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_42d52c8debaa407aa90dda98e42f9aba","object":"Rate","created_at":"2024-08-14T17:39:21Z","updated_at":"2024-08-14T17:39:21Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c1bfabbf012845fca34e61aa50ad0d19","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_a432feb8a7374b5badb573ae10e3af75","object":"Tracker","mode":"test","tracking_code":"9400100105807075196603","status":"unknown","status_detail":"unknown","created_at":"2024-08-14T17:39:21Z","updated_at":"2024-08-14T17:39:21Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_c1bfabbf012845fca34e61aa50ad0d19","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2E0MzJmZWI4YTczNzRiNWJhZGI1NzNhZTEwZTNhZjc1"},"to_address":{"id":"adr_2373157f5a6411efb79f3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:20+00:00","updated_at":"2024-08-14T17:39:21+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_2376e09c5a6411efb7a23cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:20+00:00","updated_at":"2024-08-14T17:39:20+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_2373157f5a6411efb79f3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:20+00:00","updated_at":"2024-08-14T17:39:21+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_c1bfabbf012845fca34e61aa50ad0d19","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' http_code: 201 header_size: 760 - request_size: 861 + request_size: 871 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.349507 - namelookup_time: 0.001218 - connect_time: 0.074347 - pretransfer_time: 0.149906 - size_upload: 553.0 - size_download: 7619.0 - speed_download: 5645.0 - speed_upload: 409.0 - download_content_length: 7619.0 - upload_content_length: 553.0 - starttransfer_time: 1.349366 + total_time: 1.125973 + namelookup_time: 0.002535 + connect_time: 0.031976 + pretransfer_time: 0.064145 + size_upload: 563.0 + size_download: 6549.0 + speed_download: 5816.0 + speed_upload: 500.0 + download_content_length: 6549.0 + upload_content_length: 563.0 + starttransfer_time: 1.125874 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53473 + local_ip: 192.168.1.75 + local_port: 52634 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 149830 - connect_time_us: 74347 - namelookup_time_us: 1218 - pretransfer_time_us: 149906 + scheme: https + appconnect_time_us: 64084 + connect_time_us: 31976 + namelookup_time_us: 2535 + pretransfer_time_us: 64145 redirect_time_us: 0 - starttransfer_time_us: 1349366 - total_time_us: 1349507 + starttransfer_time_us: 1125874 + total_time_us: 1125973 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/shipments/shp_e85172474c1441a2a47b3ecf437fd4db' + url: 'https://api.easypost.com/v2/shipments/shp_c1bfabbf012845fca34e61aa50ad0d19' headers: Host: api.easypost.com Accept-Encoding: '' @@ -90,8 +92,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -100,21 +101,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef9120655e64f7e78859a4001fdc64 + x-ep-request-uuid: e181587c66bcebcae2b8fb570086c98c cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '8749' - x-runtime: '0.139753' + content-length: '7679' + x-runtime: '0.162016' x-node: bigweb34nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:46Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105440282036012","updated_at":"2023-11-22T20:30:47Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_04113e21897611ee96acac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:46+00:00","updated_at":"2023-11-22T20:30:46+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_11e33e14c055429495c2d6f8933e79d4","object":"Parcel","created_at":"2023-11-22T20:30:46Z","updated_at":"2023-11-22T20:30:46Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_5420e3f3237b4e0bbaeb070de6e742b6","created_at":"2023-11-22T20:30:46Z","updated_at":"2023-11-22T20:30:47Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:30: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\/20231122\/e8979c85f7091d4dc59973c6743377ac17.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_60bc98e9f2434c3185f9462b29d914b7","object":"Rate","created_at":"2023-11-22T20:30:46Z","updated_at":"2023-11-22T20:30: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_e85172474c1441a2a47b3ecf437fd4db","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_c321b1bedfcf41429f52937880f87327","object":"Rate","created_at":"2023-11-22T20:30:46Z","updated_at":"2023-11-22T20:30:46Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_e85172474c1441a2a47b3ecf437fd4db","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_502341f1e16649e5bf2e58e67afc76e0","object":"Rate","created_at":"2023-11-22T20:30:46Z","updated_at":"2023-11-22T20:30:46Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_e85172474c1441a2a47b3ecf437fd4db","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_58ea1bd5c2224058917cb63adc44eebb","object":"Rate","created_at":"2023-11-22T20:30:46Z","updated_at":"2023-11-22T20:30:46Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_e85172474c1441a2a47b3ecf437fd4db","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_68a6df2aa52d48a98891889d935e4ed3","object":"Rate","created_at":"2023-11-22T20:30:46Z","updated_at":"2023-11-22T20:30: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_e85172474c1441a2a47b3ecf437fd4db","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_502341f1e16649e5bf2e58e67afc76e0","object":"Rate","created_at":"2023-11-22T20:30:46Z","updated_at":"2023-11-22T20:30:46Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_e85172474c1441a2a47b3ecf437fd4db","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_3378816333de4852bdf70212daac3fb0","object":"Tracker","mode":"test","tracking_code":"9400100105440282036012","status":"pre_transit","status_detail":"status_update","created_at":"2023-11-22T20:30:47Z","updated_at":"2023-11-22T20:30:47Z","signed_by":null,"weight":null,"est_delivery_date":"2023-11-22T20:30:47Z","shipment_id":"shp_e85172474c1441a2a47b3ecf437fd4db","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:30: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-10-23T09:07: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\/djE6dHJrXzMzNzg4MTYzMzNkZTQ4NTJiZGY3MDIxMmRhYWMzZmIw"},"to_address":{"id":"adr_040e179c897611ee8666ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:46+00:00","updated_at":"2023-11-22T20:30:46+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_04113e21897611ee96acac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:46+00:00","updated_at":"2023-11-22T20:30:46+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_040e179c897611ee8666ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:46+00:00","updated_at":"2023-11-22T20:30:46+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_e85172474c1441a2a47b3ecf437fd4db","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:21Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196603","updated_at":"2024-08-14T17:39:21Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_2376e09c5a6411efb7a23cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:20+00:00","updated_at":"2024-08-14T17:39:20+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_6590bfc884a3414aa2cf33d6d018f058","object":"Parcel","created_at":"2024-08-14T17:39:21Z","updated_at":"2024-08-14T17:39:21Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_c371b9a83d2e40828f977234bff49444","created_at":"2024-08-14T17:39:21Z","updated_at":"2024-08-14T17:39:21Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e84524d20967dd4c589363e13df3322730.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_42d52c8debaa407aa90dda98e42f9aba","object":"Rate","created_at":"2024-08-14T17:39:21Z","updated_at":"2024-08-14T17:39:21Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c1bfabbf012845fca34e61aa50ad0d19","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_5bb7787808c24d1eafda6bf31e477564","object":"Rate","created_at":"2024-08-14T17:39:21Z","updated_at":"2024-08-14T17:39:21Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_c1bfabbf012845fca34e61aa50ad0d19","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_b77ef8611454491ca817c5633216d5a9","object":"Rate","created_at":"2024-08-14T17:39:21Z","updated_at":"2024-08-14T17:39:21Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_c1bfabbf012845fca34e61aa50ad0d19","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_42d52c8debaa407aa90dda98e42f9aba","object":"Rate","created_at":"2024-08-14T17:39:21Z","updated_at":"2024-08-14T17:39:21Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c1bfabbf012845fca34e61aa50ad0d19","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_a432feb8a7374b5badb573ae10e3af75","object":"Tracker","mode":"test","tracking_code":"9400100105807075196603","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:22Z","updated_at":"2024-08-14T17:39:22Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:39:22Z","shipment_id":"shp_c1bfabbf012845fca34e61aa50ad0d19","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:39: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":"2024-07-15T06:16:22Z","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\/djE6dHJrX2E0MzJmZWI4YTczNzRiNWJhZGI1NzNhZTEwZTNhZjc1"},"to_address":{"id":"adr_2373157f5a6411efb79f3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:20+00:00","updated_at":"2024-08-14T17:39:21+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_2376e09c5a6411efb7a23cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:20+00:00","updated_at":"2024-08-14T17:39:20+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_2373157f5a6411efb79f3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:20+00:00","updated_at":"2024-08-14T17:39:21+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_c1bfabbf012845fca34e61aa50ad0d19","object":"Shipment"}' curl_info: - url: 'https://api.easypost.com/v2/shipments/shp_e85172474c1441a2a47b3ecf437fd4db' + url: 'https://api.easypost.com/v2/shipments/shp_c1bfabbf012845fca34e61aa50ad0d19' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 689 @@ -122,35 +123,38 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.334899 - namelookup_time: 0.001425 - connect_time: 0.066063 - pretransfer_time: 0.129647 + total_time: 0.255229 + namelookup_time: 0.001188 + connect_time: 0.030087 + pretransfer_time: 0.061072 size_upload: 0.0 - size_download: 8749.0 - speed_download: 26124.0 + size_download: 7679.0 + speed_download: 30086.0 speed_upload: 0.0 - download_content_length: 8749.0 + download_content_length: 7679.0 upload_content_length: 0.0 - starttransfer_time: 0.334781 + starttransfer_time: 0.255085 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53474 + local_ip: 192.168.1.75 + local_port: 52637 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 129620 - connect_time_us: 66063 - namelookup_time_us: 1425 - pretransfer_time_us: 129647 + scheme: https + appconnect_time_us: 61038 + connect_time_us: 30087 + namelookup_time_us: 1188 + pretransfer_time_us: 61072 redirect_time_us: 0 - starttransfer_time_us: 334781 - total_time_us: 334899 + starttransfer_time_us: 255085 + total_time_us: 255229 + effective_method: GET + capath: '' + cainfo: '' index: 0 - request: @@ -164,11 +168,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"refund":{"carrier":"USPS","tracking_codes":["9400100105440282036012"]}}' + body: '{"refund":{"carrier":"USPS","tracking_codes":["9400100105807075196603"]}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -177,20 +180,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911a655e64f8e78859a5001fdd03 + x-ep-request-uuid: e181587866bcebcae2b8fb580086c9cf cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '297' - x-runtime: '0.110038' + x-runtime: '0.075319' x-node: bigweb32nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost x-canary: direct - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '[{"id":"rfnd_f5322c13edb14488b609610e77129554","object":"Refund","created_at":"2023-11-22T20:30:48Z","updated_at":"2023-11-22T20:30:48Z","tracking_code":"9400100105440282036012","confirmation_number":null,"status":"submitted","carrier":"USPS","shipment_id":"shp_e85172474c1441a2a47b3ecf437fd4db"}]' + body: '[{"id":"rfnd_1513d464240f447bae0485a6ac447379","object":"Refund","created_at":"2024-08-14T17:39:22Z","updated_at":"2024-08-14T17:39:22Z","tracking_code":"9400100105807075196603","confirmation_number":null,"status":"submitted","carrier":"USPS","shipment_id":"shp_c1bfabbf012845fca34e61aa50ad0d19"}]' curl_info: url: 'https://api.easypost.com/v2/refunds' content_type: 'application/json; charset=utf-8' @@ -200,33 +203,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.308357 - namelookup_time: 0.001006 - connect_time: 0.064486 - pretransfer_time: 0.132912 + total_time: 0.184307 + namelookup_time: 0.004849 + connect_time: 0.038103 + pretransfer_time: 0.07295 size_upload: 73.0 size_download: 297.0 - speed_download: 963.0 - speed_upload: 236.0 + speed_download: 1611.0 + speed_upload: 396.0 download_content_length: 297.0 upload_content_length: 73.0 - starttransfer_time: 0.308314 + starttransfer_time: 0.184275 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53475 + local_ip: 192.168.1.75 + local_port: 52638 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 132881 - connect_time_us: 64486 - namelookup_time_us: 1006 - pretransfer_time_us: 132912 + scheme: https + appconnect_time_us: 72911 + connect_time_us: 38103 + namelookup_time_us: 4849 + pretransfer_time_us: 72950 redirect_time_us: 0 - starttransfer_time_us: 308314 - total_time_us: 308357 + starttransfer_time_us: 184275 + total_time_us: 184307 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/refunds/getNextPage.yml b/test/cassettes/refunds/getNextPage.yml index fce12664..da661908 100644 --- a/test/cassettes/refunds/getNextPage.yml +++ b/test/cassettes/refunds/getNextPage.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,56 +21,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 0610ca376564eab3e787e2090013f3dc + x-ep-request-uuid: e181587966bcebcae2b8fb710086ca22 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '1210' - x-runtime: '0.044344' - x-node: bigweb32nuq - x-version-label: easypost-202311250013-a0f06fbc2c-master + content-length: '326' + x-runtime: '0.061351' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"refunds":[{"id":"rfnd_f5322c13edb14488b609610e77129554","object":"Refund","created_at":"2023-11-22T20:30:48Z","updated_at":"2023-11-23T20:30:48Z","tracking_code":"9400100105440282036012","confirmation_number":null,"status":"rejected","carrier":"USPS","shipment_id":"shp_e85172474c1441a2a47b3ecf437fd4db"},{"id":"rfnd_f38519d28ae54116b38815c879f7643f","object":"Refund","created_at":"2023-11-22T20:30:08Z","updated_at":"2023-11-23T20:30:08Z","tracking_code":"9400100105440282035749","confirmation_number":null,"status":"rejected","carrier":"USPS","shipment_id":"shp_d129d08d265b450a93b2e37b4f46a6be"},{"id":"rfnd_be5fbd97c728496399ffc514a4606515","object":"Refund","created_at":"2023-11-22T19:56:15Z","updated_at":"2023-11-23T19:56:15Z","tracking_code":"9400100105440282027591","confirmation_number":null,"status":"rejected","carrier":"USPS","shipment_id":"shp_2ac7f7c28ca544179ad876570f95579b"},{"id":"rfnd_4498a9261a514221ab73d0fa2793901b","object":"Refund","created_at":"2023-11-22T19:55:47Z","updated_at":"2023-11-23T19:55:47Z","tracking_code":"9400100105440282027393","confirmation_number":null,"status":"rejected","carrier":"USPS","shipment_id":"shp_3de2e54264e545d698faffaa86695951"}],"has_more":false}' + body: '{"refunds":[{"id":"rfnd_1513d464240f447bae0485a6ac447379","object":"Refund","created_at":"2024-08-14T17:39:22Z","updated_at":"2024-08-14T17:39:22Z","tracking_code":"9400100105807075196603","confirmation_number":null,"status":"submitted","carrier":"USPS","shipment_id":"shp_c1bfabbf012845fca34e61aa50ad0d19"}],"has_more":false}' curl_info: url: 'https://api.easypost.com/v2/refunds?page_size=5' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 707 + header_size: 688 request_size: 296 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.247383 - namelookup_time: 0.001891 - connect_time: 0.066755 - pretransfer_time: 0.132522 + total_time: 0.159475 + namelookup_time: 0.00435 + connect_time: 0.033943 + pretransfer_time: 0.065349 size_upload: 0.0 - size_download: 1210.0 - speed_download: 4891.0 + size_download: 326.0 + speed_download: 2044.0 speed_upload: 0.0 - download_content_length: 1210.0 + download_content_length: 326.0 upload_content_length: 0.0 - starttransfer_time: 0.247352 + starttransfer_time: 0.159458 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.31 - local_port: 52939 + local_ip: 192.168.1.75 + local_port: 52640 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 132490 - connect_time_us: 66755 - namelookup_time_us: 1891 - pretransfer_time_us: 132522 + scheme: https + appconnect_time_us: 65315 + connect_time_us: 33943 + namelookup_time_us: 4350 + pretransfer_time_us: 65349 redirect_time_us: 0 - starttransfer_time_us: 247352 - total_time_us: 247383 + starttransfer_time_us: 159458 + total_time_us: 159475 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/refunds/retrieve.yml b/test/cassettes/refunds/retrieve.yml index a0cd7735..fdb892ca 100644 --- a/test/cassettes/refunds/retrieve.yml +++ b/test/cassettes/refunds/retrieve.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,19 +21,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911f655e64f5e78859a1001fd930 + x-ep-request-uuid: e181587966bcebcae2b8fb720086ca50 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '918' - x-runtime: '0.042530' - x-node: bigweb31nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '326' + x-runtime: '0.043634' + x-node: bigweb40nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"refunds":[{"id":"rfnd_f38519d28ae54116b38815c879f7643f","object":"Refund","created_at":"2023-11-22T20:30:08Z","updated_at":"2023-11-22T20:30:08Z","tracking_code":"9400100105440282035749","confirmation_number":null,"status":"submitted","carrier":"USPS","shipment_id":"shp_d129d08d265b450a93b2e37b4f46a6be"},{"id":"rfnd_be5fbd97c728496399ffc514a4606515","object":"Refund","created_at":"2023-11-22T19:56:15Z","updated_at":"2023-11-22T19:56:15Z","tracking_code":"9400100105440282027591","confirmation_number":null,"status":"submitted","carrier":"USPS","shipment_id":"shp_2ac7f7c28ca544179ad876570f95579b"},{"id":"rfnd_4498a9261a514221ab73d0fa2793901b","object":"Refund","created_at":"2023-11-22T19:55:47Z","updated_at":"2023-11-22T19:55:47Z","tracking_code":"9400100105440282027393","confirmation_number":null,"status":"submitted","carrier":"USPS","shipment_id":"shp_3de2e54264e545d698faffaa86695951"}],"has_more":false}' + body: '{"refunds":[{"id":"rfnd_1513d464240f447bae0485a6ac447379","object":"Refund","created_at":"2024-08-14T17:39:22Z","updated_at":"2024-08-14T17:39:22Z","tracking_code":"9400100105807075196603","confirmation_number":null,"status":"submitted","carrier":"USPS","shipment_id":"shp_c1bfabbf012845fca34e61aa50ad0d19"}],"has_more":false}' curl_info: url: 'https://api.easypost.com/v2/refunds?page_size=5' content_type: 'application/json; charset=utf-8' @@ -44,40 +43,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.243195 - namelookup_time: 0.001008 - connect_time: 0.065689 - pretransfer_time: 0.135116 + total_time: 0.150234 + namelookup_time: 0.002188 + connect_time: 0.035468 + pretransfer_time: 0.070314 size_upload: 0.0 - size_download: 918.0 - speed_download: 3774.0 + size_download: 326.0 + speed_download: 2169.0 speed_upload: 0.0 - download_content_length: 918.0 + download_content_length: 326.0 upload_content_length: 0.0 - starttransfer_time: 0.243174 + starttransfer_time: 0.150212 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53471 + local_ip: 192.168.1.75 + local_port: 52641 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 135059 - connect_time_us: 65689 - namelookup_time_us: 1008 - pretransfer_time_us: 135116 + scheme: https + appconnect_time_us: 70272 + connect_time_us: 35468 + namelookup_time_us: 2188 + pretransfer_time_us: 70314 redirect_time_us: 0 - starttransfer_time_us: 243174 - total_time_us: 243195 + starttransfer_time_us: 150212 + total_time_us: 150234 + effective_method: GET + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/refunds/rfnd_f38519d28ae54116b38815c879f7643f' + url: 'https://api.easypost.com/v2/refunds/rfnd_1513d464240f447bae0485a6ac447379' headers: Host: api.easypost.com Accept-Encoding: '' @@ -87,8 +89,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -97,56 +98,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911c655e64f5e78859a2001fd9ab + x-ep-request-uuid: e181587966bcebcbe2b8fb730086ca7a cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '295' - x-runtime: '0.032828' - x-node: bigweb32nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.044798' + x-node: bigweb36nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"rfnd_f38519d28ae54116b38815c879f7643f","object":"Refund","created_at":"2023-11-22T20:30:08Z","updated_at":"2023-11-22T20:30:08Z","tracking_code":"9400100105440282035749","confirmation_number":null,"status":"submitted","carrier":"USPS","shipment_id":"shp_d129d08d265b450a93b2e37b4f46a6be"}' + body: '{"id":"rfnd_1513d464240f447bae0485a6ac447379","object":"Refund","created_at":"2024-08-14T17:39:22Z","updated_at":"2024-08-14T17:39:22Z","tracking_code":"9400100105807075196603","confirmation_number":null,"status":"submitted","carrier":"USPS","shipment_id":"shp_c1bfabbf012845fca34e61aa50ad0d19"}' curl_info: - url: 'https://api.easypost.com/v2/refunds/rfnd_f38519d28ae54116b38815c879f7643f' + url: 'https://api.easypost.com/v2/refunds/rfnd_1513d464240f447bae0485a6ac447379' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 706 + header_size: 688 request_size: 322 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.243398 - namelookup_time: 0.002951 - connect_time: 0.074045 - pretransfer_time: 0.143441 + total_time: 0.141457 + namelookup_time: 0.002173 + connect_time: 0.031892 + pretransfer_time: 0.063393 size_upload: 0.0 size_download: 295.0 - speed_download: 1212.0 + speed_download: 2085.0 speed_upload: 0.0 download_content_length: 295.0 upload_content_length: 0.0 - starttransfer_time: 0.243384 + starttransfer_time: 0.141432 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53472 + local_ip: 192.168.1.75 + local_port: 52642 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 143385 - connect_time_us: 74045 - namelookup_time_us: 2951 - pretransfer_time_us: 143441 + scheme: https + appconnect_time_us: 63348 + connect_time_us: 31892 + namelookup_time_us: 2173 + pretransfer_time_us: 63393 redirect_time_us: 0 - starttransfer_time_us: 243384 - total_time_us: 243398 + starttransfer_time_us: 141432 + total_time_us: 141457 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/reports/all.yml b/test/cassettes/reports/all.yml index 79752931..92b35db0 100644 --- a/test/cassettes/reports/all.yml +++ b/test/cassettes/reports/all.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,19 +21,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911a655e64f3e7885983001fd604 + x-ep-request-uuid: e181587c66bcec21e2b903f5008720b9 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1459' - x-runtime: '0.055426' - x-node: bigweb40nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.040054' + x-node: bigweb38nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"reports":[{"id":"shprep_cf3ffeee1d844c4a97ad5cf890bddf18","object":"ShipmentReport","created_at":"2023-11-22T20:30:43Z","updated_at":"2023-11-22T20:30:43Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false},{"id":"shprep_c3a4bd71f12d4c158d251270c4e3dbd5","object":"ShipmentReport","created_at":"2023-11-22T19:56:12Z","updated_at":"2023-11-22T19:56:12Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false},{"id":"shprep_4f669a069d2a4d3eb52f568c733f1084","object":"ShipmentReport","created_at":"2023-11-22T19:56:11Z","updated_at":"2023-11-22T19:56:11Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false},{"id":"shprep_16abc0dfcf71434599844e8bb2b73b70","object":"ShipmentReport","created_at":"2023-11-22T19:56:11Z","updated_at":"2023-11-22T19:56:11Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false},{"id":"shprep_b2581172ed914b3592c5b7b5eb1ee63c","object":"ShipmentReport","created_at":"2023-11-22T19:56:10Z","updated_at":"2023-11-22T19:56:11Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false}],"has_more":true}' + body: '{"reports":[{"id":"shprep_bc878d15b85c4091a004a4cd320e4b74","object":"ShipmentReport","created_at":"2024-08-14T17:40:49Z","updated_at":"2024-08-14T17:40:49Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false},{"id":"shprep_6e878f6b241740dfaa24a5846976b832","object":"ShipmentReport","created_at":"2024-08-14T17:40:49Z","updated_at":"2024-08-14T17:40:49Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false},{"id":"shprep_add46838e7454c42898f6663924ca060","object":"ShipmentReport","created_at":"2024-08-14T17:40:49Z","updated_at":"2024-08-14T17:40:49Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false},{"id":"shprep_633d54f27c044588909ad9e7db168e2a","object":"ShipmentReport","created_at":"2024-08-14T17:40:48Z","updated_at":"2024-08-14T17:40:49Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false},{"id":"shprep_a91b298ddec94aafba34e48f0d603a33","object":"ShipmentReport","created_at":"2023-11-22T20:30:45Z","updated_at":"2023-11-22T20:30:45Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false}],"has_more":true}' curl_info: url: 'https://api.easypost.com/v2/reports/shipment?page_size=5' content_type: 'application/json; charset=utf-8' @@ -44,33 +43,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.252487 - namelookup_time: 0.002545 - connect_time: 0.065411 - pretransfer_time: 0.131408 + total_time: 0.148655 + namelookup_time: 0.005159 + connect_time: 0.038089 + pretransfer_time: 0.073088 size_upload: 0.0 size_download: 1459.0 - speed_download: 5778.0 + speed_download: 9814.0 speed_upload: 0.0 download_content_length: 1459.0 upload_content_length: 0.0 - starttransfer_time: 0.252448 + starttransfer_time: 0.14863 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53464 + local_ip: 192.168.1.75 + local_port: 52842 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 131324 - connect_time_us: 65411 - namelookup_time_us: 2545 - pretransfer_time_us: 131408 + scheme: https + appconnect_time_us: 73050 + connect_time_us: 38089 + namelookup_time_us: 5159 + pretransfer_time_us: 73088 redirect_time_us: 0 - starttransfer_time_us: 252448 - total_time_us: 252487 + starttransfer_time_us: 148630 + total_time_us: 148655 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/reports/createCustomAdditionalColumnReport.yml b/test/cassettes/reports/createCustomAdditionalColumnReport.yml index 556e48b8..58200f2b 100644 --- a/test/cassettes/reports/createCustomAdditionalColumnReport.yml +++ b/test/cassettes/reports/createCustomAdditionalColumnReport.yml @@ -14,8 +14,7 @@ body: '{"start_date":"2022-04-09","end_date":"2022-04-09","type":"shipment","additional_columns":["from_name","from_company"]}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,19 +23,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911c655e64f3e7885982001fd595 + x-ep-request-uuid: e181587866bcec21e2b903db0087200c cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '283' - x-runtime: '0.063657' - x-node: bigweb40nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.072261' + x-node: bigweb42nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"shprep_cf3ffeee1d844c4a97ad5cf890bddf18","object":"ShipmentReport","created_at":"2023-11-22T20:30:43Z","updated_at":"2023-11-22T20:30:43Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"new","url":null,"url_expires_at":null,"include_children":false}' + body: '{"id":"shprep_6e878f6b241740dfaa24a5846976b832","object":"ShipmentReport","created_at":"2024-08-14T17:40:49Z","updated_at":"2024-08-14T17:40:49Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"new","url":null,"url_expires_at":null,"include_children":false}' curl_info: url: 'https://api.easypost.com/v2/reports/shipment' content_type: 'application/json; charset=utf-8' @@ -46,33 +45,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.27956 - namelookup_time: 0.002594 - connect_time: 0.073534 - pretransfer_time: 0.145443 + total_time: 0.179315 + namelookup_time: 0.002126 + connect_time: 0.034484 + pretransfer_time: 0.07071 size_upload: 119.0 size_download: 283.0 - speed_download: 1012.0 - speed_upload: 425.0 + speed_download: 1578.0 + speed_upload: 663.0 download_content_length: 283.0 upload_content_length: 119.0 - starttransfer_time: 0.279531 + starttransfer_time: 0.17925 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53463 + local_ip: 192.168.1.75 + local_port: 52839 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 145387 - connect_time_us: 73534 - namelookup_time_us: 2594 - pretransfer_time_us: 145443 + scheme: https + appconnect_time_us: 70621 + connect_time_us: 34484 + namelookup_time_us: 2126 + pretransfer_time_us: 70710 redirect_time_us: 0 - starttransfer_time_us: 279531 - total_time_us: 279560 + starttransfer_time_us: 179250 + total_time_us: 179315 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/reports/createCustomColumnReport.yml b/test/cassettes/reports/createCustomColumnReport.yml index 37a4c696..5113917a 100644 --- a/test/cassettes/reports/createCustomColumnReport.yml +++ b/test/cassettes/reports/createCustomColumnReport.yml @@ -14,8 +14,7 @@ body: '{"start_date":"2022-04-09","end_date":"2022-04-09","type":"shipment","columns":["usps_zone"]}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,19 +23,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911d655e64f4e7885984001fd672 + x-ep-request-uuid: e181587866bcec20e2b903da00871fd2 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '283' - x-runtime: '0.100082' - x-node: bigweb39nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.095889' + x-node: bigweb36nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"shprep_d885ad5696134ee6833cd3df402d6399","object":"ShipmentReport","created_at":"2023-11-22T20:30:44Z","updated_at":"2023-11-22T20:30:44Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"new","url":null,"url_expires_at":null,"include_children":false}' + body: '{"id":"shprep_add46838e7454c42898f6663924ca060","object":"ShipmentReport","created_at":"2024-08-14T17:40:49Z","updated_at":"2024-08-14T17:40:49Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"new","url":null,"url_expires_at":null,"include_children":false}' curl_info: url: 'https://api.easypost.com/v2/reports/shipment' content_type: 'application/json; charset=utf-8' @@ -46,33 +45,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.295574 - namelookup_time: 0.001174 - connect_time: 0.062555 - pretransfer_time: 0.129328 + total_time: 0.20506 + namelookup_time: 0.001803 + connect_time: 0.034841 + pretransfer_time: 0.071281 size_upload: 93.0 size_download: 283.0 - speed_download: 957.0 - speed_upload: 314.0 + speed_download: 1380.0 + speed_upload: 453.0 download_content_length: 283.0 upload_content_length: 93.0 - starttransfer_time: 0.295538 + starttransfer_time: 0.205012 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53465 + local_ip: 192.168.1.75 + local_port: 52838 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 129302 - connect_time_us: 62555 - namelookup_time_us: 1174 - pretransfer_time_us: 129328 + scheme: https + appconnect_time_us: 71221 + connect_time_us: 34841 + namelookup_time_us: 1803 + pretransfer_time_us: 71281 redirect_time_us: 0 - starttransfer_time_us: 295538 - total_time_us: 295574 + starttransfer_time_us: 205012 + total_time_us: 205060 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/reports/createReport.yml b/test/cassettes/reports/createReport.yml index 4659d795..3c882f25 100644 --- a/test/cassettes/reports/createReport.yml +++ b/test/cassettes/reports/createReport.yml @@ -14,8 +14,7 @@ body: '{"start_date":"2022-04-09","end_date":"2022-04-09","type":"shipment"}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,19 +23,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911d655e64f4e7885985001fd703 + x-ep-request-uuid: e181587966bcec20e2b903d900871fa2 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '283' - x-runtime: '0.061045' - x-node: bigweb34nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.068875' + x-node: bigweb39nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"shprep_eb093af82ae5474f8790dc8eb0105f65","object":"ShipmentReport","created_at":"2023-11-22T20:30:44Z","updated_at":"2023-11-22T20:30:44Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"new","url":null,"url_expires_at":null,"include_children":false}' + body: '{"id":"shprep_633d54f27c044588909ad9e7db168e2a","object":"ShipmentReport","created_at":"2024-08-14T17:40:48Z","updated_at":"2024-08-14T17:40:48Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"new","url":null,"url_expires_at":null,"include_children":false}' curl_info: url: 'https://api.easypost.com/v2/reports/shipment' content_type: 'application/json; charset=utf-8' @@ -46,33 +45,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.277063 - namelookup_time: 0.002426 - connect_time: 0.065784 - pretransfer_time: 0.148173 + total_time: 0.180362 + namelookup_time: 0.003756 + connect_time: 0.037045 + pretransfer_time: 0.073024 size_upload: 69.0 size_download: 283.0 - speed_download: 1021.0 - speed_upload: 249.0 + speed_download: 1569.0 + speed_upload: 382.0 download_content_length: 283.0 upload_content_length: 69.0 - starttransfer_time: 0.27703 + starttransfer_time: 0.180327 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53466 + local_ip: 192.168.1.75 + local_port: 52837 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 147963 - connect_time_us: 65784 - namelookup_time_us: 2426 - pretransfer_time_us: 148173 + scheme: https + appconnect_time_us: 72961 + connect_time_us: 37045 + namelookup_time_us: 3756 + pretransfer_time_us: 73024 redirect_time_us: 0 - starttransfer_time_us: 277030 - total_time_us: 277063 + starttransfer_time_us: 180327 + total_time_us: 180362 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/reports/getNextPage.yml b/test/cassettes/reports/getNextPage.yml index e128c216..b48a72c3 100644 --- a/test/cassettes/reports/getNextPage.yml +++ b/test/cassettes/reports/getNextPage.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,63 +21,65 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 0610ca366564eab2e787e2070013f308 + x-ep-request-uuid: e181587c66bcec21e2b903f6008720e0 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1459' - x-runtime: '0.069983' - x-node: bigweb43nuq - x-version-label: easypost-202311250013-a0f06fbc2c-master + x-runtime: '0.041980' + x-node: bigweb33nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"reports":[{"id":"shprep_a91b298ddec94aafba34e48f0d603a33","object":"ShipmentReport","created_at":"2023-11-22T20:30:45Z","updated_at":"2023-11-22T20:30:45Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false},{"id":"shprep_eb093af82ae5474f8790dc8eb0105f65","object":"ShipmentReport","created_at":"2023-11-22T20:30:44Z","updated_at":"2023-11-22T20:30:44Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false},{"id":"shprep_d885ad5696134ee6833cd3df402d6399","object":"ShipmentReport","created_at":"2023-11-22T20:30:44Z","updated_at":"2023-11-22T20:30:44Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false},{"id":"shprep_cf3ffeee1d844c4a97ad5cf890bddf18","object":"ShipmentReport","created_at":"2023-11-22T20:30:43Z","updated_at":"2023-11-22T20:30:43Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false},{"id":"shprep_c3a4bd71f12d4c158d251270c4e3dbd5","object":"ShipmentReport","created_at":"2023-11-22T19:56:12Z","updated_at":"2023-11-22T19:56:12Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false}],"has_more":true}' + body: '{"reports":[{"id":"shprep_bc878d15b85c4091a004a4cd320e4b74","object":"ShipmentReport","created_at":"2024-08-14T17:40:49Z","updated_at":"2024-08-14T17:40:49Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false},{"id":"shprep_6e878f6b241740dfaa24a5846976b832","object":"ShipmentReport","created_at":"2024-08-14T17:40:49Z","updated_at":"2024-08-14T17:40:49Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false},{"id":"shprep_add46838e7454c42898f6663924ca060","object":"ShipmentReport","created_at":"2024-08-14T17:40:49Z","updated_at":"2024-08-14T17:40:49Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false},{"id":"shprep_633d54f27c044588909ad9e7db168e2a","object":"ShipmentReport","created_at":"2024-08-14T17:40:48Z","updated_at":"2024-08-14T17:40:49Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false},{"id":"shprep_a91b298ddec94aafba34e48f0d603a33","object":"ShipmentReport","created_at":"2023-11-22T20:30:45Z","updated_at":"2023-11-22T20:30:45Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false}],"has_more":true}' curl_info: url: 'https://api.easypost.com/v2/reports/shipment?page_size=5' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 707 + header_size: 689 request_size: 305 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.269593 - namelookup_time: 0.002425 - connect_time: 0.0683 - pretransfer_time: 0.132886 + total_time: 0.138407 + namelookup_time: 0.001905 + connect_time: 0.031167 + pretransfer_time: 0.063131 size_upload: 0.0 size_download: 1459.0 - speed_download: 5411.0 + speed_download: 10541.0 speed_upload: 0.0 download_content_length: 1459.0 upload_content_length: 0.0 - starttransfer_time: 0.269542 + starttransfer_time: 0.138385 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.31 - local_port: 52937 + local_ip: 192.168.1.75 + local_port: 52843 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 132852 - connect_time_us: 68300 - namelookup_time_us: 2425 - pretransfer_time_us: 132886 + scheme: https + appconnect_time_us: 63074 + connect_time_us: 31167 + namelookup_time_us: 1905 + pretransfer_time_us: 63131 redirect_time_us: 0 - starttransfer_time_us: 269542 - total_time_us: 269593 + starttransfer_time_us: 138385 + total_time_us: 138407 + effective_method: GET + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/reports/shipment?page_size=5&before_id=shprep_c3a4bd71f12d4c158d251270c4e3dbd5' + url: 'https://api.easypost.com/v2/reports/shipment?page_size=5&before_id=shprep_a91b298ddec94aafba34e48f0d603a33' headers: Host: api.easypost.com Accept-Encoding: '' @@ -88,8 +89,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -98,21 +98,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 0610ca376564eab2e787e2080013f36b + x-ep-request-uuid: e181587666bcec22e2b903fc008720fd cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1459' - x-runtime: '0.057489' - x-node: bigweb35nuq - x-version-label: easypost-202311250013-a0f06fbc2c-master + x-runtime: '0.107822' + x-node: bigweb42nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"reports":[{"id":"shprep_4f669a069d2a4d3eb52f568c733f1084","object":"ShipmentReport","created_at":"2023-11-22T19:56:11Z","updated_at":"2023-11-22T19:56:11Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false},{"id":"shprep_16abc0dfcf71434599844e8bb2b73b70","object":"ShipmentReport","created_at":"2023-11-22T19:56:11Z","updated_at":"2023-11-22T19:56:11Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false},{"id":"shprep_b2581172ed914b3592c5b7b5eb1ee63c","object":"ShipmentReport","created_at":"2023-11-22T19:56:10Z","updated_at":"2023-11-22T19:56:11Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false},{"id":"shprep_2a8d121d183b40d98d41501ee9f96a9d","object":"ShipmentReport","created_at":"2023-02-16T21:02:19Z","updated_at":"2023-02-16T21:02:24Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false},{"id":"shprep_563b7e11f01e4097a9f55c70856a9f64","object":"ShipmentReport","created_at":"2023-02-16T21:02:19Z","updated_at":"2023-02-16T21:02:24Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false}],"has_more":true}' + body: '{"reports":[{"id":"shprep_eb093af82ae5474f8790dc8eb0105f65","object":"ShipmentReport","created_at":"2023-11-22T20:30:44Z","updated_at":"2023-11-22T20:30:44Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false},{"id":"shprep_d885ad5696134ee6833cd3df402d6399","object":"ShipmentReport","created_at":"2023-11-22T20:30:44Z","updated_at":"2023-11-22T20:30:44Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false},{"id":"shprep_cf3ffeee1d844c4a97ad5cf890bddf18","object":"ShipmentReport","created_at":"2023-11-22T20:30:43Z","updated_at":"2023-11-22T20:30:43Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false},{"id":"shprep_c3a4bd71f12d4c158d251270c4e3dbd5","object":"ShipmentReport","created_at":"2023-11-22T19:56:12Z","updated_at":"2023-11-22T19:56:12Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false},{"id":"shprep_4f669a069d2a4d3eb52f568c733f1084","object":"ShipmentReport","created_at":"2023-11-22T19:56:11Z","updated_at":"2023-11-22T19:56:11Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false}],"has_more":true}' curl_info: - url: 'https://api.easypost.com/v2/reports/shipment?page_size=5&before_id=shprep_c3a4bd71f12d4c158d251270c4e3dbd5' + url: 'https://api.easypost.com/v2/reports/shipment?page_size=5&before_id=shprep_a91b298ddec94aafba34e48f0d603a33' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 689 @@ -120,33 +120,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.256979 - namelookup_time: 0.002109 - connect_time: 0.064882 - pretransfer_time: 0.128914 + total_time: 0.231355 + namelookup_time: 0.009632 + connect_time: 0.043317 + pretransfer_time: 0.080416 size_upload: 0.0 size_download: 1459.0 - speed_download: 5677.0 + speed_download: 6306.0 speed_upload: 0.0 download_content_length: 1459.0 upload_content_length: 0.0 - starttransfer_time: 0.256869 + starttransfer_time: 0.231305 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.31 - local_port: 52938 + local_ip: 192.168.1.75 + local_port: 52849 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 128883 - connect_time_us: 64882 - namelookup_time_us: 2109 - pretransfer_time_us: 128914 + scheme: https + appconnect_time_us: 80360 + connect_time_us: 43317 + namelookup_time_us: 9632 + pretransfer_time_us: 80416 redirect_time_us: 0 - starttransfer_time_us: 256869 - total_time_us: 256979 + starttransfer_time_us: 231305 + total_time_us: 231355 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/reports/retrieveReport.yml b/test/cassettes/reports/retrieveReport.yml index c1fd1d95..19eb97a5 100644 --- a/test/cassettes/reports/retrieveReport.yml +++ b/test/cassettes/reports/retrieveReport.yml @@ -14,8 +14,7 @@ body: '{"start_date":"2022-04-09","end_date":"2022-04-09","type":"shipment"}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,63 +23,65 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911a655e64f5e7885988001fd85c + x-ep-request-uuid: e181587c66bcec21e2b903f30087203b cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '283' - x-runtime: '0.069736' - x-node: bigweb32nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.076916' + x-node: bigweb42nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"shprep_a91b298ddec94aafba34e48f0d603a33","object":"ShipmentReport","created_at":"2023-11-22T20:30:45Z","updated_at":"2023-11-22T20:30:45Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"new","url":null,"url_expires_at":null,"include_children":false}' + body: '{"id":"shprep_bc878d15b85c4091a004a4cd320e4b74","object":"ShipmentReport","created_at":"2024-08-14T17:40:49Z","updated_at":"2024-08-14T17:40:49Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"new","url":null,"url_expires_at":null,"include_children":false}' curl_info: url: 'https://api.easypost.com/v2/reports/shipment' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 711 + header_size: 693 request_size: 383 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.267819 - namelookup_time: 0.001721 - connect_time: 0.067757 - pretransfer_time: 0.133211 + total_time: 0.186411 + namelookup_time: 0.00201 + connect_time: 0.035541 + pretransfer_time: 0.072334 size_upload: 69.0 size_download: 283.0 - speed_download: 1056.0 - speed_upload: 257.0 + speed_download: 1518.0 + speed_upload: 370.0 download_content_length: 283.0 upload_content_length: 69.0 - starttransfer_time: 0.267797 + starttransfer_time: 0.186187 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53469 + local_ip: 192.168.1.75 + local_port: 52840 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 133179 - connect_time_us: 67757 - namelookup_time_us: 1721 - pretransfer_time_us: 133211 + scheme: https + appconnect_time_us: 72270 + connect_time_us: 35541 + namelookup_time_us: 2010 + pretransfer_time_us: 72334 redirect_time_us: 0 - starttransfer_time_us: 267797 - total_time_us: 267819 + starttransfer_time_us: 186187 + total_time_us: 186411 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/reports/shprep_a91b298ddec94aafba34e48f0d603a33' + url: 'https://api.easypost.com/v2/reports/shprep_bc878d15b85c4091a004a4cd320e4b74' headers: Host: api.easypost.com Accept-Encoding: '' @@ -90,8 +91,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -100,21 +100,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911f655e64f5e78859a0001fd8c2 + x-ep-request-uuid: e181587c66bcec21e2b903f40087207b cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '285' - x-runtime: '0.050105' - x-node: bigweb38nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.049290' + x-node: bigweb36nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"shprep_a91b298ddec94aafba34e48f0d603a33","object":"ShipmentReport","created_at":"2023-11-22T20:30:45Z","updated_at":"2023-11-22T20:30:45Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false}' + body: '{"id":"shprep_bc878d15b85c4091a004a4cd320e4b74","object":"ShipmentReport","created_at":"2024-08-14T17:40:49Z","updated_at":"2024-08-14T17:40:49Z","start_date":"2022-04-09","end_date":"2022-04-09","mode":"test","status":"empty","url":null,"url_expires_at":null,"include_children":false}' curl_info: - url: 'https://api.easypost.com/v2/reports/shprep_a91b298ddec94aafba34e48f0d603a33' + url: 'https://api.easypost.com/v2/reports/shprep_bc878d15b85c4091a004a4cd320e4b74' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 688 @@ -122,33 +122,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.240138 - namelookup_time: 0.001177 - connect_time: 0.063066 - pretransfer_time: 0.126572 + total_time: 0.158463 + namelookup_time: 0.002236 + connect_time: 0.035409 + pretransfer_time: 0.072477 size_upload: 0.0 size_download: 285.0 - speed_download: 1186.0 + speed_download: 1798.0 speed_upload: 0.0 download_content_length: 285.0 upload_content_length: 0.0 - starttransfer_time: 0.240122 + starttransfer_time: 0.158434 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53470 + local_ip: 192.168.1.75 + local_port: 52841 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 126543 - connect_time_us: 63066 - namelookup_time_us: 1177 - pretransfer_time_us: 126572 + scheme: https + appconnect_time_us: 72419 + connect_time_us: 35409 + namelookup_time_us: 2236 + pretransfer_time_us: 72477 redirect_time_us: 0 - starttransfer_time_us: 240122 - total_time_us: 240138 + starttransfer_time_us: 158434 + total_time_us: 158463 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/scanForms/all.yml b/test/cassettes/scanForms/all.yml index c7f53d24..0d8117a6 100644 --- a/test/cassettes/scanForms/all.yml +++ b/test/cassettes/scanForms/all.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,19 +21,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911b655e64f2e7885980001fd4d4 + x-ep-request-uuid: e181587a66bcebcee2b8fb790086ce3f cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '4563' - x-runtime: '0.042702' - x-node: bigweb31nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '1845' + x-runtime: '0.048708' + x-node: bigweb42nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"scan_forms":[{"id":"sf_c46913507e404be28eb240b2721de3f2","object":"ScanForm","created_at":"2023-11-22T19:56:07Z","updated_at":"2023-11-22T19:56:07Z","tracking_codes":["9400100105440282027522"],"address":{"id":"adr_2c4a0566897111eeb033ac1f6bc539aa","object":"Address","created_at":"2023-11-22T19:56:06+00:00","updated_at":"2023-11-22T19:56:06+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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\/20231122\/e8bcd5ffb337ba4305a3bff8eedc073b41.pdf","form_file_type":null,"batch_id":"batch_8750e326518c46718ffd7a22d233d564","confirmation":null},{"id":"sf_c50bf012a81242018a166ede7e80e9d9","object":"ScanForm","created_at":"2023-11-22T19:56:09Z","updated_at":"2023-11-22T19:56:09Z","tracking_codes":["9400100105440282027553"],"address":{"id":"adr_2d7126f2897111eebfb0ac1f6bc53342","object":"Address","created_at":"2023-11-22T19:56:08+00:00","updated_at":"2023-11-22T19:56:08+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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\/20231122\/e8160f3befb06b486bb62da947c2396344.pdf","form_file_type":null,"batch_id":"batch_cf7cd0e1d8f545d58184f4b8e56385bf","confirmation":null},{"id":"sf_d39963faec8a43b3ab07ad525ac88efd","object":"ScanForm","created_at":"2023-11-22T19:57:39Z","updated_at":"2023-11-22T19:57:39Z","tracking_codes":["9400100105440282027980"],"address":{"id":"adr_60694aca897111eeb23eac1f6bc539ae","object":"Address","created_at":"2023-11-22T19:57:33+00:00","updated_at":"2023-11-22T19:57:33+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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\/20231122\/e8555fcf1225e3497585cdc327ab23681d.pdf","form_file_type":null,"batch_id":"batch_7a859ffeab994e0d97bbf3de297cab35","confirmation":null},{"id":"sf_06b4103556a74863b4b5075c11530eb7","object":"ScanForm","created_at":"2023-11-22T20:30:40Z","updated_at":"2023-11-22T20:30:40Z","tracking_codes":["9400100105440282035947"],"address":{"id":"adr_ffb4c3dc897511ee8320ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:38+00:00","updated_at":"2023-11-22T20:30:38+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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\/20231122\/e882f71fc1d589400886e0e4de458dbee9.pdf","form_file_type":null,"batch_id":"batch_9fc1ed8a35fd46b9961eb8496179a1e5","confirmation":null},{"id":"sf_a576a23f3c4c4314bb7516cea4b6642b","object":"ScanForm","created_at":"2023-11-22T20:30:42Z","updated_at":"2023-11-22T20:30:42Z","tracking_codes":["9400100105440282035978"],"address":{"id":"adr_00caa148897611eea55fac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:30:40+00:00","updated_at":"2023-11-22T20:30:40+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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\/20231122\/e87ec3c04d696a4ad38c8cfd46b1a684f6.pdf","form_file_type":null,"batch_id":"batch_7e6bafac60a142e3952abec634cce781","confirmation":null}],"has_more":false}' + body: '{"scan_forms":[{"id":"sf_8c3b3e24d7d44f36a9c5a511049ecb2f","object":"ScanForm","created_at":"2024-08-14T17:39:24Z","updated_at":"2024-08-14T17:39:24Z","tracking_codes":["9400100105807075196641"],"address":{"id":"adr_24cc7c495a6411ef981fac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:23+00:00","updated_at":"2024-08-14T17:39:23+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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\/20240814\/e8adb9cd78fc8a42d9b67f23ab711165c6.pdf","form_file_type":null,"batch_id":"batch_27eefa02ea334c7d90665ad0cdf29410","confirmation":null},{"id":"sf_193361dbe3604ec78da5c88343f14f89","object":"ScanForm","created_at":"2024-08-14T17:39:26Z","updated_at":"2024-08-14T17:39:26Z","tracking_codes":["9400100105807075196672"],"address":{"id":"adr_25e712115a6411ef98b7ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:25+00:00","updated_at":"2024-08-14T17:39:25+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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\/20240814\/e852b4b91e3ab1459a9909fcad952c5588.pdf","form_file_type":null,"batch_id":"batch_d2dfdee2ef50488482917d23d61bca87","confirmation":null}],"has_more":false}' curl_info: url: 'https://api.easypost.com/v2/scan_forms?page_size=5' content_type: 'application/json; charset=utf-8' @@ -44,33 +43,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.240633 - namelookup_time: 0.001499 - connect_time: 0.064694 - pretransfer_time: 0.132795 + total_time: 0.144754 + namelookup_time: 0.001474 + connect_time: 0.030599 + pretransfer_time: 0.062868 size_upload: 0.0 - size_download: 4563.0 - speed_download: 18962.0 + size_download: 1845.0 + speed_download: 12745.0 speed_upload: 0.0 - download_content_length: 4563.0 + download_content_length: 1845.0 upload_content_length: 0.0 - starttransfer_time: 0.24048 + starttransfer_time: 0.144731 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53461 + local_ip: 192.168.1.75 + local_port: 52648 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 132716 - connect_time_us: 64694 - namelookup_time_us: 1499 - pretransfer_time_us: 132795 + scheme: https + appconnect_time_us: 62827 + connect_time_us: 30599 + namelookup_time_us: 1474 + pretransfer_time_us: 62868 redirect_time_us: 0 - starttransfer_time_us: 240480 - total_time_us: 240633 + starttransfer_time_us: 144731 + total_time_us: 144754 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/scanForms/create.yml b/test/cassettes/scanForms/create.yml index d11e9f39..c9943ae1 100644 --- a/test/cassettes/scanForms/create.yml +++ b/test/cassettes/scanForms/create.yml @@ -11,11 +11,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"First","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' + body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"GroundAdvantage","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,59 +23,61 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911a655e64eee7885964001fcfd9 + x-ep-request-uuid: e181587b66bcebcbe2b8fb740086ca9d cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_109054470eae4efaae4dcaa1a9ab46ea + location: /api/v2/shipments/shp_af6b85af44a34a318f62843db97f8f8e content-type: 'application/json; charset=utf-8' - content-length: '7619' - x-runtime: '1.003308' - x-node: bigweb32nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '6549' + x-runtime: '1.282819' + x-node: bigweb33nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:38Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105440282035947","updated_at":"2023-11-22T20:30:39Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_ffb4c3dc897511ee8320ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:38+00:00","updated_at":"2023-11-22T20:30:38+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_30655fcfed6940cfb7f9dc86d9bed88d","object":"Parcel","created_at":"2023-11-22T20:30:38Z","updated_at":"2023-11-22T20:30:38Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_b83c9669bade43f7a8212ef39bfad778","created_at":"2023-11-22T20:30:39Z","updated_at":"2023-11-22T20:30:39Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:30: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\/20231122\/e8602290a16ae14de2986c25fdf92d7068.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_a23f54e7699c4e2dbdc778c3329a81cc","object":"Rate","created_at":"2023-11-22T20:30:39Z","updated_at":"2023-11-22T20:30:39Z","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_109054470eae4efaae4dcaa1a9ab46ea","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_1c6fe4678c904d96b0f4747ebef84a84","object":"Rate","created_at":"2023-11-22T20:30:39Z","updated_at":"2023-11-22T20:30:39Z","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_109054470eae4efaae4dcaa1a9ab46ea","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_9c40b868deb648cfbbc75ea8d7444013","object":"Rate","created_at":"2023-11-22T20:30:39Z","updated_at":"2023-11-22T20:30:39Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_109054470eae4efaae4dcaa1a9ab46ea","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_273d744ad41a468b81f4afbeb4243ae2","object":"Rate","created_at":"2023-11-22T20:30:39Z","updated_at":"2023-11-22T20:30:39Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_109054470eae4efaae4dcaa1a9ab46ea","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_b837724d9ace43f19343561b8afb11b8","object":"Rate","created_at":"2023-11-22T20:30:39Z","updated_at":"2023-11-22T20:30:39Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_109054470eae4efaae4dcaa1a9ab46ea","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_273d744ad41a468b81f4afbeb4243ae2","object":"Rate","created_at":"2023-11-22T20:30:39Z","updated_at":"2023-11-22T20:30:39Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_109054470eae4efaae4dcaa1a9ab46ea","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_160cc88695564f0999f65caa80762776","object":"Tracker","mode":"test","tracking_code":"9400100105440282035947","status":"unknown","status_detail":"unknown","created_at":"2023-11-22T20:30:39Z","updated_at":"2023-11-22T20:30:39Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_109054470eae4efaae4dcaa1a9ab46ea","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzE2MGNjODg2OTU1NjRmMDk5OWY2NWNhYTgwNzYyNzc2"},"to_address":{"id":"adr_ffb23904897511ee933cac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:38+00:00","updated_at":"2023-11-22T20:30:39+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_ffb4c3dc897511ee8320ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:38+00:00","updated_at":"2023-11-22T20:30:38+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_ffb23904897511ee933cac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:38+00:00","updated_at":"2023-11-22T20:30:39+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_109054470eae4efaae4dcaa1a9ab46ea","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:23Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196641","updated_at":"2024-08-14T17:39:24Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_24cc7c495a6411ef981fac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:23+00:00","updated_at":"2024-08-14T17:39:23+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_bee7e21f564743aabb8dbde22d8923fe","object":"Parcel","created_at":"2024-08-14T17:39:23Z","updated_at":"2024-08-14T17:39:23Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_09a1d889e7cc4502bc4c31f0c0287e18","created_at":"2024-08-14T17:39:23Z","updated_at":"2024-08-14T17:39:24Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e8be779184fbdd40f0bfbb9bcb09cc172c.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_48570cb46c5d413aa1c1e1eea2e8299b","object":"Rate","created_at":"2024-08-14T17:39:23Z","updated_at":"2024-08-14T17:39:23Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_af6b85af44a34a318f62843db97f8f8e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_179050177eeb4fa2848d9c87d073eab3","object":"Rate","created_at":"2024-08-14T17:39:23Z","updated_at":"2024-08-14T17:39:23Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_af6b85af44a34a318f62843db97f8f8e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_287998183e544643b5f623c2e7729d2a","object":"Rate","created_at":"2024-08-14T17:39:23Z","updated_at":"2024-08-14T17:39:23Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_af6b85af44a34a318f62843db97f8f8e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_287998183e544643b5f623c2e7729d2a","object":"Rate","created_at":"2024-08-14T17:39:24Z","updated_at":"2024-08-14T17:39:24Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_af6b85af44a34a318f62843db97f8f8e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_7b3903cbc44d4fe2af0d3a13711966f5","object":"Tracker","mode":"test","tracking_code":"9400100105807075196641","status":"unknown","status_detail":"unknown","created_at":"2024-08-14T17:39:24Z","updated_at":"2024-08-14T17:39:24Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_af6b85af44a34a318f62843db97f8f8e","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzdiMzkwM2NiYzQ0ZDRmZTJhZjBkM2ExMzcxMTk2NmY1"},"to_address":{"id":"adr_24ca1b915a6411efaadeac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:23+00:00","updated_at":"2024-08-14T17:39:23+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_24cc7c495a6411ef981fac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:23+00:00","updated_at":"2024-08-14T17:39:23+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_24ca1b915a6411efaadeac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:23+00:00","updated_at":"2024-08-14T17:39:23+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_af6b85af44a34a318f62843db97f8f8e","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 778 - request_size: 861 + header_size: 760 + request_size: 871 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.213636 - namelookup_time: 0.003932 - connect_time: 0.067185 - pretransfer_time: 0.130404 - size_upload: 553.0 - size_download: 7619.0 - speed_download: 6277.0 - speed_upload: 455.0 - download_content_length: 7619.0 - upload_content_length: 553.0 - starttransfer_time: 1.213605 + total_time: 1.37977 + namelookup_time: 0.002185 + connect_time: 0.031274 + pretransfer_time: 0.063412 + size_upload: 563.0 + size_download: 6549.0 + speed_download: 4746.0 + speed_upload: 408.0 + download_content_length: 6549.0 + upload_content_length: 563.0 + starttransfer_time: 1.379514 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53456 + local_ip: 192.168.1.75 + local_port: 52643 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 130371 - connect_time_us: 67185 - namelookup_time_us: 3932 - pretransfer_time_us: 130404 + scheme: https + appconnect_time_us: 63346 + connect_time_us: 31274 + namelookup_time_us: 2185 + pretransfer_time_us: 63412 redirect_time_us: 0 - starttransfer_time_us: 1213605 - total_time_us: 1213636 + starttransfer_time_us: 1379514 + total_time_us: 1379770 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: @@ -90,11 +91,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"shipments":[{"id":"shp_109054470eae4efaae4dcaa1a9ab46ea"}]}' + body: '{"shipments":[{"id":"shp_af6b85af44a34a318f62843db97f8f8e"}]}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -103,55 +103,59 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911d655e64f0e7885965001fd194 + x-ep-request-uuid: e181587966bcebcce2b8fb750086cbf6 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '905' - x-runtime: '0.258158' - x-node: bigweb34nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.308334' + x-node: bigweb43nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-canary: direct + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"sf_06b4103556a74863b4b5075c11530eb7","object":"ScanForm","created_at":"2023-11-22T20:30:40Z","updated_at":"2023-11-22T20:30:40Z","tracking_codes":["9400100105440282035947"],"address":{"id":"adr_ffb4c3dc897511ee8320ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:38+00:00","updated_at":"2023-11-22T20:30:38+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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\/20231122\/e882f71fc1d589400886e0e4de458dbee9.pdf","form_file_type":null,"batch_id":"batch_9fc1ed8a35fd46b9961eb8496179a1e5","confirmation":null}' + body: '{"id":"sf_8c3b3e24d7d44f36a9c5a511049ecb2f","object":"ScanForm","created_at":"2024-08-14T17:39:24Z","updated_at":"2024-08-14T17:39:24Z","tracking_codes":["9400100105807075196641"],"address":{"id":"adr_24cc7c495a6411ef981fac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:23+00:00","updated_at":"2024-08-14T17:39:23+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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\/20240814\/e8adb9cd78fc8a42d9b67f23ab711165c6.pdf","form_file_type":null,"batch_id":"batch_27eefa02ea334c7d90665ad0cdf29410","confirmation":null}' curl_info: url: 'https://api.easypost.com/v2/scan_forms' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 688 + header_size: 706 request_size: 369 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.453695 - namelookup_time: 0.001095 - connect_time: 0.063403 - pretransfer_time: 0.12682 + total_time: 0.407029 + namelookup_time: 0.002382 + connect_time: 0.032298 + pretransfer_time: 0.06555 size_upload: 61.0 size_download: 905.0 - speed_download: 1994.0 - speed_upload: 134.0 + speed_download: 2223.0 + speed_upload: 149.0 download_content_length: 905.0 upload_content_length: 61.0 - starttransfer_time: 0.453613 + starttransfer_time: 0.406965 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53457 + local_ip: 192.168.1.75 + local_port: 52644 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 126794 - connect_time_us: 63403 - namelookup_time_us: 1095 - pretransfer_time_us: 126820 + scheme: https + appconnect_time_us: 65494 + connect_time_us: 32298 + namelookup_time_us: 2382 + pretransfer_time_us: 65550 redirect_time_us: 0 - starttransfer_time_us: 453613 - total_time_us: 453695 + starttransfer_time_us: 406965 + total_time_us: 407029 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/scanForms/getNextPage.yml b/test/cassettes/scanForms/getNextPage.yml index a85f6b02..2e2bbe74 100644 --- a/test/cassettes/scanForms/getNextPage.yml +++ b/test/cassettes/scanForms/getNextPage.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,19 +21,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 0610ca3a6564eab1e787e2050013f215 + x-ep-request-uuid: e181587b66bcebcfe2b8fb7a0086ce65 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '4562' - x-runtime: '0.068924' - x-node: bigweb35nuq - x-version-label: easypost-202311250013-a0f06fbc2c-master + content-length: '1845' + x-runtime: '0.124204' + x-node: bigweb41nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"scan_forms":[{"id":"sf_6fa27ef9a483477192baf50c1aa2d78b","object":"ScanForm","created_at":"2023-11-22T20:32:21Z","updated_at":"2023-11-22T20:32:21Z","tracking_codes":["9400100105440282036579"],"address":{"id":"adr_3960db29897611ee8f37ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:32:15+00:00","updated_at":"2023-11-22T20:32:15+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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\/20231122\/e8d1d6b34cb23c4290844189233c5816d7.pdf","form_file_type":null,"batch_id":"batch_f67a3cbe61c7450b87d2400fe6350850","confirmation":null},{"id":"sf_a576a23f3c4c4314bb7516cea4b6642b","object":"ScanForm","created_at":"2023-11-22T20:30:42Z","updated_at":"2023-11-22T20:30:42Z","tracking_codes":["9400100105440282035978"],"address":{"id":"adr_00caa148897611eea55fac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:30:40+00:00","updated_at":"2023-11-22T20:30:40+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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\/20231122\/e87ec3c04d696a4ad38c8cfd46b1a684f6.pdf","form_file_type":null,"batch_id":"batch_7e6bafac60a142e3952abec634cce781","confirmation":null},{"id":"sf_06b4103556a74863b4b5075c11530eb7","object":"ScanForm","created_at":"2023-11-22T20:30:40Z","updated_at":"2023-11-22T20:30:40Z","tracking_codes":["9400100105440282035947"],"address":{"id":"adr_ffb4c3dc897511ee8320ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:38+00:00","updated_at":"2023-11-22T20:30:38+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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\/20231122\/e882f71fc1d589400886e0e4de458dbee9.pdf","form_file_type":null,"batch_id":"batch_9fc1ed8a35fd46b9961eb8496179a1e5","confirmation":null},{"id":"sf_d39963faec8a43b3ab07ad525ac88efd","object":"ScanForm","created_at":"2023-11-22T19:57:39Z","updated_at":"2023-11-22T19:57:39Z","tracking_codes":["9400100105440282027980"],"address":{"id":"adr_60694aca897111eeb23eac1f6bc539ae","object":"Address","created_at":"2023-11-22T19:57:33+00:00","updated_at":"2023-11-22T19:57:33+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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\/20231122\/e8555fcf1225e3497585cdc327ab23681d.pdf","form_file_type":null,"batch_id":"batch_7a859ffeab994e0d97bbf3de297cab35","confirmation":null},{"id":"sf_c50bf012a81242018a166ede7e80e9d9","object":"ScanForm","created_at":"2023-11-22T19:56:09Z","updated_at":"2023-11-22T19:56:09Z","tracking_codes":["9400100105440282027553"],"address":{"id":"adr_2d7126f2897111eebfb0ac1f6bc53342","object":"Address","created_at":"2023-11-22T19:56:08+00:00","updated_at":"2023-11-22T19:56:08+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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\/20231122\/e8160f3befb06b486bb62da947c2396344.pdf","form_file_type":null,"batch_id":"batch_cf7cd0e1d8f545d58184f4b8e56385bf","confirmation":null}],"has_more":true}' + body: '{"scan_forms":[{"id":"sf_8c3b3e24d7d44f36a9c5a511049ecb2f","object":"ScanForm","created_at":"2024-08-14T17:39:24Z","updated_at":"2024-08-14T17:39:24Z","tracking_codes":["9400100105807075196641"],"address":{"id":"adr_24cc7c495a6411ef981fac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:23+00:00","updated_at":"2024-08-14T17:39:23+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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\/20240814\/e8adb9cd78fc8a42d9b67f23ab711165c6.pdf","form_file_type":null,"batch_id":"batch_27eefa02ea334c7d90665ad0cdf29410","confirmation":null},{"id":"sf_193361dbe3604ec78da5c88343f14f89","object":"ScanForm","created_at":"2024-08-14T17:39:26Z","updated_at":"2024-08-14T17:39:26Z","tracking_codes":["9400100105807075196672"],"address":{"id":"adr_25e712115a6411ef98b7ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:25+00:00","updated_at":"2024-08-14T17:39:25+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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\/20240814\/e852b4b91e3ab1459a9909fcad952c5588.pdf","form_file_type":null,"batch_id":"batch_d2dfdee2ef50488482917d23d61bca87","confirmation":null}],"has_more":false}' curl_info: url: 'https://api.easypost.com/v2/scan_forms?page_size=5' content_type: 'application/json; charset=utf-8' @@ -44,108 +43,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.268557 - namelookup_time: 0.001982 - connect_time: 0.070699 - pretransfer_time: 0.135534 + total_time: 0.233874 + namelookup_time: 0.002935 + connect_time: 0.036224 + pretransfer_time: 0.072632 size_upload: 0.0 - size_download: 4562.0 - speed_download: 16987.0 + size_download: 1845.0 + speed_download: 7888.0 speed_upload: 0.0 - download_content_length: 4562.0 + download_content_length: 1845.0 upload_content_length: 0.0 - starttransfer_time: 0.268473 + starttransfer_time: 0.23381 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.31 - local_port: 52935 + local_ip: 192.168.1.75 + local_port: 52649 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 135500 - connect_time_us: 70699 - namelookup_time_us: 1982 - pretransfer_time_us: 135534 + scheme: https + appconnect_time_us: 72585 + connect_time_us: 36224 + namelookup_time_us: 2935 + pretransfer_time_us: 72632 redirect_time_us: 0 - starttransfer_time_us: 268473 - total_time_us: 268557 - index: 0 -- - request: - method: GET - url: 'https://api.easypost.com/v2/scan_forms?page_size=5&before_id=sf_c50bf012a81242018a166ede7e80e9d9' - headers: - Host: api.easypost.com - Accept-Encoding: '' - Accept: application/json - Authorization: '' - Content-Type: application/json - User-Agent: '' - response: - status: - http_version: '1.1' - code: '200' - message: OK - headers: - x-frame-options: SAMEORIGIN - x-xss-protection: '1; mode=block' - x-content-type-options: nosniff - x-download-options: noopen - x-permitted-cross-domain-policies: none - referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 0610ca366564eab2e787e2060013f289 - cache-control: 'private, no-cache, no-store' - pragma: no-cache - expires: '0' - content-type: 'application/json; charset=utf-8' - content-length: '939' - x-runtime: '0.068815' - x-node: bigweb33nuq - x-version-label: easypost-202311250013-a0f06fbc2c-master - x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] - strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"scan_forms":[{"id":"sf_c46913507e404be28eb240b2721de3f2","object":"ScanForm","created_at":"2023-11-22T19:56:07Z","updated_at":"2023-11-22T19:56:07Z","tracking_codes":["9400100105440282027522"],"address":{"id":"adr_2c4a0566897111eeb033ac1f6bc539aa","object":"Address","created_at":"2023-11-22T19:56:06+00:00","updated_at":"2023-11-22T19:56:06+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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\/20231122\/e8bcd5ffb337ba4305a3bff8eedc073b41.pdf","form_file_type":null,"batch_id":"batch_8750e326518c46718ffd7a22d233d564","confirmation":null}],"has_more":false}' - curl_info: - url: 'https://api.easypost.com/v2/scan_forms?page_size=5&before_id=sf_c50bf012a81242018a166ede7e80e9d9' - content_type: 'application/json; charset=utf-8' - http_code: 200 - header_size: 688 - request_size: 345 - filetime: -1 - ssl_verify_result: 0 - redirect_count: 0 - total_time: 0.263672 - namelookup_time: 0.002181 - connect_time: 0.06465 - pretransfer_time: 0.12951 - size_upload: 0.0 - size_download: 939.0 - speed_download: 3561.0 - speed_upload: 0.0 - download_content_length: 939.0 - upload_content_length: 0.0 - starttransfer_time: 0.263594 - redirect_time: 0.0 - redirect_url: '' - primary_ip: 169.62.110.131 - certinfo: { } - primary_port: 443 - local_ip: 10.130.6.31 - local_port: 52936 - http_version: 2 - protocol: 2 - ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 129473 - connect_time_us: 64650 - namelookup_time_us: 2181 - pretransfer_time_us: 129510 - redirect_time_us: 0 - starttransfer_time_us: 263594 - total_time_us: 263672 + starttransfer_time_us: 233810 + total_time_us: 233874 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/scanForms/retrieve.yml b/test/cassettes/scanForms/retrieve.yml index b46abfb3..9797a2f4 100644 --- a/test/cassettes/scanForms/retrieve.yml +++ b/test/cassettes/scanForms/retrieve.yml @@ -11,11 +11,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"First","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' + body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"GroundAdvantage","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,58 +23,62 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911c655e64f0e7885966001fd231 + x-ep-request-uuid: e181587966bcebcde2b8fb760086cc70 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_d8c6b7862a9f4a8b9ee21e34efc3e0e4 + location: /api/v2/shipments/shp_483b06b4b996466d9b12d487b2d7124c content-type: 'application/json; charset=utf-8' - content-length: '7619' - x-runtime: '1.050224' - x-node: bigweb31nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '6549' + x-runtime: '1.157052' + x-node: bigweb32nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-canary: direct + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:40Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105440282035978","updated_at":"2023-11-22T20:30:41Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_00caa148897611eea55fac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:30:40+00:00","updated_at":"2023-11-22T20:30:40+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_5df9d35ce3014677ac5c6bed67091b58","object":"Parcel","created_at":"2023-11-22T20:30:40Z","updated_at":"2023-11-22T20:30:40Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_404bbb9fde9a44dbb29af2da7d7ea634","created_at":"2023-11-22T20:30:41Z","updated_at":"2023-11-22T20:30:41Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:30:41Z","label_resolution":300,"label_size":"4x6","label_type":"default","label_file_type":"image\/png","label_url":"https:\/\/easypost-files.s3.us-west-2.amazonaws.com\/files\/postage_label\/20231122\/e8927574c3ec5149cd86d9df320a7d3861.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_82e1f06b6b8d44ebbcb1390af387598e","object":"Rate","created_at":"2023-11-22T20:30:40Z","updated_at":"2023-11-22T20:30:40Z","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_d8c6b7862a9f4a8b9ee21e34efc3e0e4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_e3bf5e95b77c435b8bae04a806d6e096","object":"Rate","created_at":"2023-11-22T20:30:40Z","updated_at":"2023-11-22T20:30:40Z","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_d8c6b7862a9f4a8b9ee21e34efc3e0e4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_e702406ceea1428283d23b6452d54902","object":"Rate","created_at":"2023-11-22T20:30:40Z","updated_at":"2023-11-22T20:30:40Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d8c6b7862a9f4a8b9ee21e34efc3e0e4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_e7849f32ebfc476d8c893cfed8615cc8","object":"Rate","created_at":"2023-11-22T20:30:40Z","updated_at":"2023-11-22T20:30:40Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d8c6b7862a9f4a8b9ee21e34efc3e0e4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_c2f695633bbc402bb56d6d518f49dc25","object":"Rate","created_at":"2023-11-22T20:30:40Z","updated_at":"2023-11-22T20:30:40Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d8c6b7862a9f4a8b9ee21e34efc3e0e4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_e7849f32ebfc476d8c893cfed8615cc8","object":"Rate","created_at":"2023-11-22T20:30:41Z","updated_at":"2023-11-22T20:30:41Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d8c6b7862a9f4a8b9ee21e34efc3e0e4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_ae6ee50e6d5a482481f9c906240b7849","object":"Tracker","mode":"test","tracking_code":"9400100105440282035978","status":"unknown","status_detail":"unknown","created_at":"2023-11-22T20:30:41Z","updated_at":"2023-11-22T20:30:41Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_d8c6b7862a9f4a8b9ee21e34efc3e0e4","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2FlNmVlNTBlNmQ1YTQ4MjQ4MWY5YzkwNjI0MGI3ODQ5"},"to_address":{"id":"adr_00c89995897611ee8411ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:40+00:00","updated_at":"2023-11-22T20:30:41+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_00caa148897611eea55fac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:30:40+00:00","updated_at":"2023-11-22T20:30:40+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_00c89995897611ee8411ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:40+00:00","updated_at":"2023-11-22T20:30:41+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_d8c6b7862a9f4a8b9ee21e34efc3e0e4","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:25Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196672","updated_at":"2024-08-14T17:39:26Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_25e712115a6411ef98b7ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:25+00:00","updated_at":"2024-08-14T17:39:25+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_f61e041b5c374850a6317ce08a89ad05","object":"Parcel","created_at":"2024-08-14T17:39:25Z","updated_at":"2024-08-14T17:39:25Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_b1ac0053c57c433d8f0828b8b4033486","created_at":"2024-08-14T17:39:25Z","updated_at":"2024-08-14T17:39:25Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e86d4c4f45e6a1474d9abaa806a1d0252c.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_8842e661a6ad46d386ed5cf20816ee0a","object":"Rate","created_at":"2024-08-14T17:39:25Z","updated_at":"2024-08-14T17:39:25Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_483b06b4b996466d9b12d487b2d7124c","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_5ec91ca506d943a784ba69c4aadd4ca7","object":"Rate","created_at":"2024-08-14T17:39:25Z","updated_at":"2024-08-14T17:39:25Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_483b06b4b996466d9b12d487b2d7124c","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_7ba96654986347d09b162ae6a10e250c","object":"Rate","created_at":"2024-08-14T17:39:25Z","updated_at":"2024-08-14T17:39:25Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_483b06b4b996466d9b12d487b2d7124c","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_5ec91ca506d943a784ba69c4aadd4ca7","object":"Rate","created_at":"2024-08-14T17:39:25Z","updated_at":"2024-08-14T17:39:25Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_483b06b4b996466d9b12d487b2d7124c","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_50513a7bbd0640e5ad1db89098d2f862","object":"Tracker","mode":"test","tracking_code":"9400100105807075196672","status":"unknown","status_detail":"unknown","created_at":"2024-08-14T17:39:26Z","updated_at":"2024-08-14T17:39:26Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_483b06b4b996466d9b12d487b2d7124c","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzUwNTEzYTdiYmQwNjQwZTVhZDFkYjg5MDk4ZDJmODYy"},"to_address":{"id":"adr_25e40aa65a6411efb8d73cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:25+00:00","updated_at":"2024-08-14T17:39:25+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_25e712115a6411ef98b7ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:25+00:00","updated_at":"2024-08-14T17:39:25+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_25e40aa65a6411efb8d73cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:25+00:00","updated_at":"2024-08-14T17:39:25+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_483b06b4b996466d9b12d487b2d7124c","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 760 - request_size: 861 + header_size: 778 + request_size: 871 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.265295 - namelookup_time: 0.00168 - connect_time: 0.071328 - pretransfer_time: 0.139855 - size_upload: 553.0 - size_download: 7619.0 - speed_download: 6021.0 - speed_upload: 437.0 - download_content_length: 7619.0 - upload_content_length: 553.0 - starttransfer_time: 1.265026 + total_time: 1.267741 + namelookup_time: 0.004914 + connect_time: 0.038048 + pretransfer_time: 0.073772 + size_upload: 563.0 + size_download: 6549.0 + speed_download: 5165.0 + speed_upload: 444.0 + download_content_length: 6549.0 + upload_content_length: 563.0 + starttransfer_time: 1.267721 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53458 + local_ip: 192.168.1.75 + local_port: 52645 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 139788 - connect_time_us: 71328 - namelookup_time_us: 1680 - pretransfer_time_us: 139855 + scheme: https + appconnect_time_us: 73697 + connect_time_us: 38048 + namelookup_time_us: 4914 + pretransfer_time_us: 73772 redirect_time_us: 0 - starttransfer_time_us: 1265026 - total_time_us: 1265295 + starttransfer_time_us: 1267721 + total_time_us: 1267741 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: @@ -89,11 +92,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"shipments":[{"id":"shp_d8c6b7862a9f4a8b9ee21e34efc3e0e4"}]}' + body: '{"shipments":[{"id":"shp_483b06b4b996466d9b12d487b2d7124c"}]}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -102,19 +104,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef9120655e64f2e7885967001fd3c0 + x-ep-request-uuid: e181587a66bcebcee2b8fb770086cda6 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '905' - x-runtime: '0.367548' - x-node: bigweb33nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.299287' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"sf_a576a23f3c4c4314bb7516cea4b6642b","object":"ScanForm","created_at":"2023-11-22T20:30:42Z","updated_at":"2023-11-22T20:30:42Z","tracking_codes":["9400100105440282035978"],"address":{"id":"adr_00caa148897611eea55fac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:30:40+00:00","updated_at":"2023-11-22T20:30:40+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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\/20231122\/e87ec3c04d696a4ad38c8cfd46b1a684f6.pdf","form_file_type":null,"batch_id":"batch_7e6bafac60a142e3952abec634cce781","confirmation":null}' + body: '{"id":"sf_193361dbe3604ec78da5c88343f14f89","object":"ScanForm","created_at":"2024-08-14T17:39:26Z","updated_at":"2024-08-14T17:39:26Z","tracking_codes":["9400100105807075196672"],"address":{"id":"adr_25e712115a6411ef98b7ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:25+00:00","updated_at":"2024-08-14T17:39:25+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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\/20240814\/e852b4b91e3ab1459a9909fcad952c5588.pdf","form_file_type":null,"batch_id":"batch_d2dfdee2ef50488482917d23d61bca87","confirmation":null}' curl_info: url: 'https://api.easypost.com/v2/scan_forms' content_type: 'application/json; charset=utf-8' @@ -124,40 +126,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.566843 - namelookup_time: 0.001377 - connect_time: 0.063795 - pretransfer_time: 0.128117 + total_time: 0.398458 + namelookup_time: 0.001622 + connect_time: 0.031197 + pretransfer_time: 0.062465 size_upload: 61.0 size_download: 905.0 - speed_download: 1596.0 - speed_upload: 107.0 + speed_download: 2271.0 + speed_upload: 153.0 download_content_length: 905.0 upload_content_length: 61.0 - starttransfer_time: 0.56678 + starttransfer_time: 0.398335 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53459 + local_ip: 192.168.1.75 + local_port: 52646 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 128088 - connect_time_us: 63795 - namelookup_time_us: 1377 - pretransfer_time_us: 128117 + scheme: https + appconnect_time_us: 62428 + connect_time_us: 31197 + namelookup_time_us: 1622 + pretransfer_time_us: 62465 redirect_time_us: 0 - starttransfer_time_us: 566780 - total_time_us: 566843 + starttransfer_time_us: 398335 + total_time_us: 398458 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/scan_forms/sf_a576a23f3c4c4314bb7516cea4b6642b' + url: 'https://api.easypost.com/v2/scan_forms/sf_193361dbe3604ec78da5c88343f14f89' headers: Host: api.easypost.com Accept-Encoding: '' @@ -167,8 +172,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -177,21 +181,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef9120655e64f2e788597f001fd470 + x-ep-request-uuid: e181587d66bcebcee2b8fb780086ce1f cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '905' - x-runtime: '0.038894' - x-node: bigweb39nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.036426' + x-node: bigweb33nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"sf_a576a23f3c4c4314bb7516cea4b6642b","object":"ScanForm","created_at":"2023-11-22T20:30:42Z","updated_at":"2023-11-22T20:30:42Z","tracking_codes":["9400100105440282035978"],"address":{"id":"adr_00caa148897611eea55fac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:30:40+00:00","updated_at":"2023-11-22T20:30:40+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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\/20231122\/e87ec3c04d696a4ad38c8cfd46b1a684f6.pdf","form_file_type":null,"batch_id":"batch_7e6bafac60a142e3952abec634cce781","confirmation":null}' + body: '{"id":"sf_193361dbe3604ec78da5c88343f14f89","object":"ScanForm","created_at":"2024-08-14T17:39:26Z","updated_at":"2024-08-14T17:39:26Z","tracking_codes":["9400100105807075196672"],"address":{"id":"adr_25e712115a6411ef98b7ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:25+00:00","updated_at":"2024-08-14T17:39:25+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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\/20240814\/e852b4b91e3ab1459a9909fcad952c5588.pdf","form_file_type":null,"batch_id":"batch_d2dfdee2ef50488482917d23d61bca87","confirmation":null}' curl_info: - url: 'https://api.easypost.com/v2/scan_forms/sf_a576a23f3c4c4314bb7516cea4b6642b' + url: 'https://api.easypost.com/v2/scan_forms/sf_193361dbe3604ec78da5c88343f14f89' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 688 @@ -199,33 +203,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.243833 - namelookup_time: 0.001021 - connect_time: 0.064379 - pretransfer_time: 0.128679 + total_time: 0.133523 + namelookup_time: 0.002674 + connect_time: 0.031993 + pretransfer_time: 0.063725 size_upload: 0.0 size_download: 905.0 - speed_download: 3711.0 + speed_download: 6777.0 speed_upload: 0.0 download_content_length: 905.0 upload_content_length: 0.0 - starttransfer_time: 0.243714 + starttransfer_time: 0.133492 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53460 + local_ip: 192.168.1.75 + local_port: 52647 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 128652 - connect_time_us: 64379 - namelookup_time_us: 1021 - pretransfer_time_us: 128679 + scheme: https + appconnect_time_us: 63688 + connect_time_us: 31993 + namelookup_time_us: 2674 + pretransfer_time_us: 63725 redirect_time_us: 0 - starttransfer_time_us: 243714 - total_time_us: 243833 + starttransfer_time_us: 133492 + total_time_us: 133523 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/shipments/all.yml b/test/cassettes/shipments/all.yml index a3190486..59334900 100644 --- a/test/cassettes/shipments/all.yml +++ b/test/cassettes/shipments/all.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,56 +21,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911a655e64eae788595f001fc9df + x-ep-request-uuid: e181587c66bcebe0e2b8fbfb0086dd74 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '46864' - x-runtime: '0.544583' - x-node: bigweb43nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '38887' + x-runtime: '0.539490' + x-node: bigweb38nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"shipments":[{"created_at":"2023-11-22T20:30:28Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105440282035886","updated_at":"2023-11-22T20:30:29Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_f9998c10897511ee8e55ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:28+00:00","updated_at":"2023-11-22T20:30:28+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_c66df5af2e9c4943b0379a3a95d3c321","object":"Parcel","created_at":"2023-11-22T20:30:28Z","updated_at":"2023-11-22T20:30:28Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_5e777fe3ba7645c68f5ce7c97c48d17f","created_at":"2023-11-22T20:30:29Z","updated_at":"2023-11-22T20:30:31Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:30:29Z","label_resolution":300,"label_size":"4x6","label_type":"default","label_file_type":"image\/png","label_url":"https:\/\/easypost-files.s3.us-west-2.amazonaws.com\/files\/postage_label\/20231122\/e89f6209d3ad774f0381798563f1e2585e.png","label_pdf_url":null,"label_zpl_url":"https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/files\/postage_label\/20231122\/497bd6c385254286a9a8263df99418d9.zpl","label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_4a16e90cbfbe4fc298ea2293b8c13dc1","object":"Rate","created_at":"2023-11-22T20:30:28Z","updated_at":"2023-11-22T20:30:28Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9c417cece8654beeaf12c12886ff2424","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_13d5ff45226e4959b5371e95209b554b","object":"Rate","created_at":"2023-11-22T20:30:28Z","updated_at":"2023-11-22T20:30:28Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9c417cece8654beeaf12c12886ff2424","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_24adb30a09404a4db35eac84fa5f1d0c","object":"Rate","created_at":"2023-11-22T20:30:28Z","updated_at":"2023-11-22T20:30:28Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9c417cece8654beeaf12c12886ff2424","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_53d649196d4942148b22e75ec29c46f2","object":"Rate","created_at":"2023-11-22T20:30:28Z","updated_at":"2023-11-22T20:30: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_9c417cece8654beeaf12c12886ff2424","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_4ef57bc74228494bba42c99b14466a2f","object":"Rate","created_at":"2023-11-22T20:30:28Z","updated_at":"2023-11-22T20:30: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_9c417cece8654beeaf12c12886ff2424","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_13d5ff45226e4959b5371e95209b554b","object":"Rate","created_at":"2023-11-22T20:30:29Z","updated_at":"2023-11-22T20:30:29Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9c417cece8654beeaf12c12886ff2424","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_9d1ef9b07424473dae63476d8a82cb04","object":"Tracker","mode":"test","tracking_code":"9400100105440282035886","status":"pre_transit","status_detail":"status_update","created_at":"2023-11-22T20:30:29Z","updated_at":"2023-11-22T20:30:29Z","signed_by":null,"weight":null,"est_delivery_date":"2023-11-22T20:30:29Z","shipment_id":"shp_9c417cece8654beeaf12c12886ff2424","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:30: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-10-23T09:07:29Z","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\/djE6dHJrXzlkMWVmOWIwNzQyNDQ3M2RhZTYzNDc2ZDhhODJjYjA0"},"to_address":{"id":"adr_f9972a53897511eebe00ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:28+00:00","updated_at":"2023-11-22T20:30:28+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_f9998c10897511ee8e55ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:28+00:00","updated_at":"2023-11-22T20:30:28+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_f9972a53897511eebe00ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:28+00:00","updated_at":"2023-11-22T20:30:28+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_9c417cece8654beeaf12c12886ff2424","object":"Shipment"},{"created_at":"2023-11-22T20:30:25Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105440282035862","updated_at":"2023-11-22T20:30:26Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_f7da3f36897511ee8c1f3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:25+00:00","updated_at":"2023-11-22T20:30:25+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_34728504d9e744cca5e7c47d77c5492c","object":"Parcel","created_at":"2023-11-22T20:30:25Z","updated_at":"2023-11-22T20:30:25Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_042221dfef2444ddba0132297315867e","created_at":"2023-11-22T20:30:26Z","updated_at":"2023-11-22T20:30:28Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:30: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\/20231122\/e8bf214efd1dcc4b6a9552310b13d4d2f5.png","label_pdf_url":null,"label_zpl_url":"https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/files\/postage_label\/20231122\/4fdc729ac8ac499385b51eda9ddbfc62.zpl","label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_110fa303c66c4ebab39462409b1403da","object":"Rate","created_at":"2023-11-22T20:30:25Z","updated_at":"2023-11-22T20:30: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_57ef75881c0c4bc58c552f02b3c2f50f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_37b0b57474514ab3ae2bbe064b03f96b","object":"Rate","created_at":"2023-11-22T20:30:25Z","updated_at":"2023-11-22T20:30: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_57ef75881c0c4bc58c552f02b3c2f50f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_797828ee08ed4d73be9f7f68723d3e27","object":"Rate","created_at":"2023-11-22T20:30:25Z","updated_at":"2023-11-22T20:30:25Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_57ef75881c0c4bc58c552f02b3c2f50f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_8dd95d24818f48a5b2dca60782f24632","object":"Rate","created_at":"2023-11-22T20:30:25Z","updated_at":"2023-11-22T20:30:25Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_57ef75881c0c4bc58c552f02b3c2f50f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_eaa6b7fcf4ca41dd94a26effc12922fb","object":"Rate","created_at":"2023-11-22T20:30:25Z","updated_at":"2023-11-22T20:30:25Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_57ef75881c0c4bc58c552f02b3c2f50f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_8dd95d24818f48a5b2dca60782f24632","object":"Rate","created_at":"2023-11-22T20:30:26Z","updated_at":"2023-11-22T20:30:26Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_57ef75881c0c4bc58c552f02b3c2f50f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_336240890fcd48cfa1de88c7f008d317","object":"Tracker","mode":"test","tracking_code":"9400100105440282035862","status":"pre_transit","status_detail":"status_update","created_at":"2023-11-22T20:30:26Z","updated_at":"2023-11-22T20:30:26Z","signed_by":null,"weight":null,"est_delivery_date":"2023-11-22T20:30:26Z","shipment_id":"shp_57ef75881c0c4bc58c552f02b3c2f50f","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:30:26Z","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-10-23T09:07:26Z","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\/djE6dHJrXzMzNjI0MDg5MGZjZDQ4Y2ZhMWRlODhjN2YwMDhkMzE3"},"to_address":{"id":"adr_f7d7da20897511ee8c1a3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:25+00:00","updated_at":"2023-11-22T20:30:26+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_f7da3f36897511ee8c1f3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:25+00:00","updated_at":"2023-11-22T20:30:25+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_f7d7da20897511ee8c1a3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:25+00:00","updated_at":"2023-11-22T20:30:26+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_57ef75881c0c4bc58c552f02b3c2f50f","object":"Shipment"},{"created_at":"2023-11-22T20:30:23Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","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":"9400100105440282035855","updated_at":"2023-11-22T20:30:25Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_f678dd54897511ee8b1b3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:23+00:00","updated_at":"2023-11-22T20:30:23+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":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_90502ae22b8b4582abfd95025d05ea03","object":"Parcel","created_at":"2023-11-22T20:30:23Z","updated_at":"2023-11-22T20:30:23Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_9dde43ac0a124e2a85ae59bce6e74c1e","created_at":"2023-11-22T20:30:24Z","updated_at":"2023-11-22T20:30:25Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:30: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\/20231122\/e8c25bb6e2cb0d4049b1462bcadd164c79.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_78a1c6d548ad492dbdaa7070d52688fa","object":"Rate","created_at":"2023-11-22T20:30:24Z","updated_at":"2023-11-22T20:30: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_562f4b074ef9489e8801ba5b3be01632","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_8dc1ff1b3f76457bbec2625e03b13300","object":"Rate","created_at":"2023-11-22T20:30:24Z","updated_at":"2023-11-22T20:30: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_562f4b074ef9489e8801ba5b3be01632","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_a8cbb8391fa2498d9a29562021f05fa1","object":"Rate","created_at":"2023-11-22T20:30:24Z","updated_at":"2023-11-22T20:30:24Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_562f4b074ef9489e8801ba5b3be01632","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_66a1e16e06f14e4bbf56529ad497cf44","object":"Rate","created_at":"2023-11-22T20:30:24Z","updated_at":"2023-11-22T20:30:24Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_562f4b074ef9489e8801ba5b3be01632","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_0961c993a9e349f8b0211e4ceba7c51c","object":"Rate","created_at":"2023-11-22T20:30:24Z","updated_at":"2023-11-22T20:30:24Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_562f4b074ef9489e8801ba5b3be01632","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_a8cbb8391fa2498d9a29562021f05fa1","object":"Rate","created_at":"2023-11-22T20:30:25Z","updated_at":"2023-11-22T20:30:25Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_562f4b074ef9489e8801ba5b3be01632","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_a7a12a098f474bf4aad85ac94791971c","object":"Tracker","mode":"test","tracking_code":"9400100105440282035855","status":"pre_transit","status_detail":"status_update","created_at":"2023-11-22T20:30:25Z","updated_at":"2023-11-22T20:30:25Z","signed_by":null,"weight":null,"est_delivery_date":"2023-11-22T20:30:25Z","shipment_id":"shp_562f4b074ef9489e8801ba5b3be01632","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:30:25Z","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-10-23T09:07:25Z","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\/djE6dHJrX2E3YTEyYTA5OGY0NzRiZjRhYWQ4NWFjOTQ3OTE5NzFj"},"to_address":{"id":"adr_f676b4de897511ee8b193cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:23+00:00","updated_at":"2023-11-22T20:30:24+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_f678dd54897511ee8b1b3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:23+00:00","updated_at":"2023-11-22T20:30:23+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":[]},"buyer_address":{"id":"adr_f676b4de897511ee8b193cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:23+00:00","updated_at":"2023-11-22T20:30:24+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_562f4b074ef9489e8801ba5b3be01632","object":"Shipment"},{"created_at":"2023-11-22T20:30:20Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105440282035848","updated_at":"2023-11-22T20:30:21Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_f4ea2baf897511ee8b23ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:20+00:00","updated_at":"2023-11-22T20:30:20+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_4d8e24edef0443b5b61110a97f845aa5","object":"Parcel","created_at":"2023-11-22T20:30:20Z","updated_at":"2023-11-22T20:30:20Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_fd31090c72ba4a0ba23536762c267ed7","created_at":"2023-11-22T20:30:21Z","updated_at":"2023-11-22T20:30:21Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:30: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\/20231122\/e8d7899a6421844933ae0a306454a97722.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_108e29c6e919481b89ab17b9e41f528b","object":"Rate","created_at":"2023-11-22T20:30:20Z","updated_at":"2023-11-22T20:30: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_9886caa01ddc464fa474ec7a3d018f11","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_0c9f2dd39be04373a4ce975a39c89ba4","object":"Rate","created_at":"2023-11-22T20:30:20Z","updated_at":"2023-11-22T20:30: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_9886caa01ddc464fa474ec7a3d018f11","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_cc35ca3641f34a5dbd983b3d56c1999c","object":"Rate","created_at":"2023-11-22T20:30:20Z","updated_at":"2023-11-22T20:30:20Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9886caa01ddc464fa474ec7a3d018f11","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_13607069b8a24fe888408edc8ca74f93","object":"Rate","created_at":"2023-11-22T20:30:20Z","updated_at":"2023-11-22T20:30:20Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9886caa01ddc464fa474ec7a3d018f11","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_de6394bad8e44e5f9dc3b03276e189d5","object":"Rate","created_at":"2023-11-22T20:30:20Z","updated_at":"2023-11-22T20:30:20Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9886caa01ddc464fa474ec7a3d018f11","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_13607069b8a24fe888408edc8ca74f93","object":"Rate","created_at":"2023-11-22T20:30:21Z","updated_at":"2023-11-22T20:30:21Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9886caa01ddc464fa474ec7a3d018f11","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_796a874068824117887ee534c794df6d","object":"Tracker","mode":"test","tracking_code":"9400100105440282035848","status":"pre_transit","status_detail":"status_update","created_at":"2023-11-22T20:30:21Z","updated_at":"2023-11-22T20:30:21Z","signed_by":null,"weight":null,"est_delivery_date":"2023-11-22T20:30:21Z","shipment_id":"shp_9886caa01ddc464fa474ec7a3d018f11","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:30: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-10-23T09:07: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\/djE6dHJrXzc5NmE4NzQwNjg4MjQxMTc4ODdlZTUzNGM3OTRkZjZk"},"to_address":{"id":"adr_f4e58334897511ee8a0c3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:20+00:00","updated_at":"2023-11-22T20:30:21+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_f4ea2baf897511ee8b23ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:20+00:00","updated_at":"2023-11-22T20:30:20+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_f4e58334897511ee8a0c3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:20+00:00","updated_at":"2023-11-22T20:30:21+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[{"object":"Form","id":"form_6a9ddca3daf244bcb5d755ff3dbb9e0e","created_at":"2023-11-22T20:30:22Z","updated_at":"2023-11-22T20:30:22Z","mode":"test","form_type":"return_packing_slip","form_url":"https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/files\/form\/20231122\/c991a3241d3c4fab9fd7da98359b4019.pdf","submitted_electronically":null}],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_9886caa01ddc464fa474ec7a3d018f11","object":"Shipment"},{"created_at":"2023-11-22T20:30:17Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":"9400100105440282035824","updated_at":"2023-11-22T20:30:18Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_89d7a57fe3904056895654a1e4ac85d4","object":"CustomsInfo","created_at":"2023-11-22T20:30:17Z","updated_at":"2023-11-22T20:30:17Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_3242112c2a7144519b837f045a011c38","object":"CustomsItem","created_at":"2023-11-22T20:30:17Z","updated_at":"2023-11-22T20:30:17Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_f2cbcaa1897511ee89b9ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:17+00:00","updated_at":"2023-11-22T20:30:17+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":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_0029585e0ad146df85fe99855353c11e","object":"Parcel","created_at":"2023-11-22T20:30:17Z","updated_at":"2023-11-22T20:30:17Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_66e3d7c9bc624398b16d574ce139e9b5","created_at":"2023-11-22T20:30:18Z","updated_at":"2023-11-22T20:30:18Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:30: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\/20231122\/e899a1fb9ece3e4ee9b7c4a6f737123446.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_ff4443ca75ea4024b7f3db12ea82048f","object":"Rate","created_at":"2023-11-22T20:30:17Z","updated_at":"2023-11-22T20:30:17Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_3efdaf0c2ec64bdba2162b12219a6c40","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_9e244d2eb91c457fa9910b28550f0244","object":"Rate","created_at":"2023-11-22T20:30:17Z","updated_at":"2023-11-22T20:30:17Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_3efdaf0c2ec64bdba2162b12219a6c40","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_c5a86edce9704aed8a6c9714126e76d3","object":"Rate","created_at":"2023-11-22T20:30:17Z","updated_at":"2023-11-22T20:30:17Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_3efdaf0c2ec64bdba2162b12219a6c40","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_8930ad7c0c744392904da82aab9a59f4","object":"Rate","created_at":"2023-11-22T20:30:17Z","updated_at":"2023-11-22T20:30: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_3efdaf0c2ec64bdba2162b12219a6c40","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_df262fd8dac54f49838b7cdead66cf74","object":"Rate","created_at":"2023-11-22T20:30:17Z","updated_at":"2023-11-22T20:30: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_3efdaf0c2ec64bdba2162b12219a6c40","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_ff4443ca75ea4024b7f3db12ea82048f","object":"Rate","created_at":"2023-11-22T20:30:18Z","updated_at":"2023-11-22T20:30:18Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_3efdaf0c2ec64bdba2162b12219a6c40","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_c83365b394d540a19696b2fdc75de287","object":"Tracker","mode":"test","tracking_code":"9400100105440282035824","status":"pre_transit","status_detail":"status_update","created_at":"2023-11-22T20:30:18Z","updated_at":"2023-11-22T20:30:18Z","signed_by":null,"weight":null,"est_delivery_date":"2023-11-22T20:30:18Z","shipment_id":"shp_3efdaf0c2ec64bdba2162b12219a6c40","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:30: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-10-23T09:07: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\/djE6dHJrX2M4MzM2NWIzOTRkNTQwYTE5Njk2YjJmZGM3NWRlMjg3"},"to_address":{"id":"adr_f2c8f83e897511ee889f3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:17+00:00","updated_at":"2023-11-22T20:30:18+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_f2cbcaa1897511ee89b9ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:17+00:00","updated_at":"2023-11-22T20:30:17+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":[]},"buyer_address":{"id":"adr_f2c8f83e897511ee889f3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:17+00:00","updated_at":"2023-11-22T20:30:18+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":null,"city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_3efdaf0c2ec64bdba2162b12219a6c40","object":"Shipment"}],"has_more":true}' + body: '{"shipments":[{"created_at":"2024-08-14T17:39:40Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196894","updated_at":"2024-08-14T17:39:41Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_2ec7614f5a6411efb070ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:39+00:00","updated_at":"2024-08-14T17:39:39+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_0991974aaedb4732a5070b3d7c262466","object":"Parcel","created_at":"2024-08-14T17:39:39Z","updated_at":"2024-08-14T17:39:39Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_6442ce331db64b85b1f83a2ddbeff800","created_at":"2024-08-14T17:39:40Z","updated_at":"2024-08-14T17:39:40Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e87acf86fe54db4eabadc28792a6915722.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_35e79bb1a71649fa93c885299b27cbe9","object":"Rate","created_at":"2024-08-14T17:39:40Z","updated_at":"2024-08-14T17:39:40Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_d0f55c8ba25a4bbe947d3a1641ed11e4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_7815271b51f94a20bdbaed1c73f913b0","object":"Rate","created_at":"2024-08-14T17:39:40Z","updated_at":"2024-08-14T17:39:40Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d0f55c8ba25a4bbe947d3a1641ed11e4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_9ebf9933dd094eacbf8732af210bffb0","object":"Rate","created_at":"2024-08-14T17:39:40Z","updated_at":"2024-08-14T17:39:40Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_d0f55c8ba25a4bbe947d3a1641ed11e4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":"submitted","scan_form":null,"selected_rate":{"id":"rate_7815271b51f94a20bdbaed1c73f913b0","object":"Rate","created_at":"2024-08-14T17:39:40Z","updated_at":"2024-08-14T17:39:40Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d0f55c8ba25a4bbe947d3a1641ed11e4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_7008e55ff72542b287b7c8bab10034ff","object":"Tracker","mode":"test","tracking_code":"9400100105807075196894","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:41Z","updated_at":"2024-08-14T17:39:41Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:39:41Z","shipment_id":"shp_d0f55c8ba25a4bbe947d3a1641ed11e4","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:39:41Z","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":"2024-07-15T06:16:41Z","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\/djE6dHJrXzcwMDhlNTVmZjcyNTQyYjI4N2I3YzhiYWIxMDAzNGZm"},"to_address":{"id":"adr_2ec4f4695a6411efb06eac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:39+00:00","updated_at":"2024-08-14T17:39:40+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_2ec7614f5a6411efb070ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:39+00:00","updated_at":"2024-08-14T17:39:39+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_2ec4f4695a6411efb06eac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:39+00:00","updated_at":"2024-08-14T17:39:40+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_d0f55c8ba25a4bbe947d3a1641ed11e4","object":"Shipment"},{"created_at":"2024-08-14T17:39:38Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196863","updated_at":"2024-08-14T17:39:38Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_2d999d715a6411efbef8ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:38+00:00","updated_at":"2024-08-14T17:39:38+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_4746f1e0a6a04a50af975bf5d53462f4","object":"Parcel","created_at":"2024-08-14T17:39:38Z","updated_at":"2024-08-14T17:39:38Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_85d085795afb4b1fb24cb74299f8ec29","created_at":"2024-08-14T17:39:38Z","updated_at":"2024-08-14T17:39:38Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e8ced5fc60fd5a49248dffe631663de02d.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_f1e68ea77c524ee68748e130ca7488ca","object":"Rate","created_at":"2024-08-14T17:39:38Z","updated_at":"2024-08-14T17:39:38Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_9c8228b2f5d544308aa670301fa69eb6","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_4dd9f2ef9c144ed591f546cd5fc1b103","object":"Rate","created_at":"2024-08-14T17:39:38Z","updated_at":"2024-08-14T17:39:38Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9c8228b2f5d544308aa670301fa69eb6","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_14d5cfc0008e46d98615319bb7b80267","object":"Rate","created_at":"2024-08-14T17:39:38Z","updated_at":"2024-08-14T17:39:38Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_9c8228b2f5d544308aa670301fa69eb6","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_4dd9f2ef9c144ed591f546cd5fc1b103","object":"Rate","created_at":"2024-08-14T17:39:38Z","updated_at":"2024-08-14T17:39:38Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9c8228b2f5d544308aa670301fa69eb6","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_c4852a4b8ce54c31996f7a8c9baace79","object":"Tracker","mode":"test","tracking_code":"9400100105807075196863","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:39Z","updated_at":"2024-08-14T17:39:39Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:39:39Z","shipment_id":"shp_9c8228b2f5d544308aa670301fa69eb6","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:39:39Z","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":"2024-07-15T06:16:39Z","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\/djE6dHJrX2M0ODUyYTRiOGNlNTRjMzE5OTZmN2E4YzliYWFjZTc5"},"to_address":{"id":"adr_2d971e2e5a6411efaff0ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:37+00:00","updated_at":"2024-08-14T17:39:38+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_2d999d715a6411efbef8ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:38+00:00","updated_at":"2024-08-14T17:39:38+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_2d971e2e5a6411efaff0ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:37+00:00","updated_at":"2024-08-14T17:39:38+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[{"object":"Form","id":"form_8308aba2501240df99a2b0d1a67c92ad","created_at":"2024-08-14T17:39:39Z","updated_at":"2024-08-14T17:39:39Z","mode":"test","form_type":"return_packing_slip","form_url":"https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/files\/form\/20240814\/d7a3c293c40e47b2ab2d98e7ae61bb59.pdf","submitted_electronically":null}],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_9c8228b2f5d544308aa670301fa69eb6","object":"Shipment"},{"created_at":"2024-08-14T17:39:36Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196832","updated_at":"2024-08-14T17:39:37Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_2c8f47175a6411ef9cd1ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:36+00:00","updated_at":"2024-08-14T17:39:36+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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_ffa7ef6d0090413ea04295b0e63f6fc6","object":"Parcel","created_at":"2024-08-14T17:39:36Z","updated_at":"2024-08-14T17:39:36Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_125bff1c6a0a49a5ab170ade47bad9ab","created_at":"2024-08-14T17:39:36Z","updated_at":"2024-08-14T17:39:37Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e8f2cd447483db497ea9e713def9be9872.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_ff81b8e6ff3c44908efd769c6ced1550","object":"Rate","created_at":"2024-08-14T17:39:36Z","updated_at":"2024-08-14T17:39:36Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_ad4513abccbd4df491b6b09d86ed0a0a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_8efbdd57429e410da75488647e4bf71d","object":"Rate","created_at":"2024-08-14T17:39:36Z","updated_at":"2024-08-14T17:39:36Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_ad4513abccbd4df491b6b09d86ed0a0a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_1857afe819314fe49452083a6a8a14cf","object":"Rate","created_at":"2024-08-14T17:39:36Z","updated_at":"2024-08-14T17:39:36Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_ad4513abccbd4df491b6b09d86ed0a0a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_8efbdd57429e410da75488647e4bf71d","object":"Rate","created_at":"2024-08-14T17:39:36Z","updated_at":"2024-08-14T17:39:36Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_ad4513abccbd4df491b6b09d86ed0a0a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_da65710ff1074295b1739949745b4437","object":"Tracker","mode":"test","tracking_code":"9400100105807075196832","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:37Z","updated_at":"2024-08-14T17:39:37Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:39:37Z","shipment_id":"shp_ad4513abccbd4df491b6b09d86ed0a0a","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:39: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":"2024-07-15T06:16: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\/djE6dHJrX2RhNjU3MTBmZjEwNzQyOTViMTczOTk0OTc0NWI0NDM3"},"to_address":{"id":"adr_2c8ca37a5a6411efaf7cac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:36+00:00","updated_at":"2024-08-14T17:39:36+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_2c8f47175a6411ef9cd1ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:36+00:00","updated_at":"2024-08-14T17:39:36+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_2c8ca37a5a6411efaf7cac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:36+00:00","updated_at":"2024-08-14T17:39:36+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_ad4513abccbd4df491b6b09d86ed0a0a","object":"Shipment"},{"created_at":"2024-08-14T17:39:34Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196801","updated_at":"2024-08-14T17:39:35Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_2ba121625a6411efaf23ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:34+00:00","updated_at":"2024-08-14T17:39:34+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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_8fda771a7c3241ec8c9d9e7d8fced321","object":"Parcel","created_at":"2024-08-14T17:39:34Z","updated_at":"2024-08-14T17:39:34Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_1f5d04f308e0443ea56e40fd3423ec53","created_at":"2024-08-14T17:39:35Z","updated_at":"2024-08-14T17:39:35Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39:35Z","label_resolution":300,"label_size":"4x6","label_type":"default","label_file_type":"image\/png","label_url":"https:\/\/easypost-files.s3.us-west-2.amazonaws.com\/files\/postage_label\/20240814\/e818d8a21023df45a68863b3e4eacdba9e.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_82371fb50acd4b6a9e23873ad4c61920","object":"Rate","created_at":"2024-08-14T17:39:34Z","updated_at":"2024-08-14T17:39:34Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_75f36d03b846491ab887bffa037e3173","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_6b3533d9b2c74de887d8841e05052adc","object":"Rate","created_at":"2024-08-14T17:39:34Z","updated_at":"2024-08-14T17:39:34Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_75f36d03b846491ab887bffa037e3173","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_930e9471f0d9419c9cbf374255e7fa55","object":"Rate","created_at":"2024-08-14T17:39:34Z","updated_at":"2024-08-14T17:39:34Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_75f36d03b846491ab887bffa037e3173","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_930e9471f0d9419c9cbf374255e7fa55","object":"Rate","created_at":"2024-08-14T17:39:35Z","updated_at":"2024-08-14T17:39:35Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_75f36d03b846491ab887bffa037e3173","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_f759177d8e254a839e400d6f68ab8efd","object":"Tracker","mode":"test","tracking_code":"9400100105807075196801","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:35Z","updated_at":"2024-08-14T17:39:35Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:39:35Z","shipment_id":"shp_75f36d03b846491ab887bffa037e3173","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:39: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":"2024-07-15T06:16:35Z","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\/djE6dHJrX2Y3NTkxNzdkOGUyNTRhODM5ZTQwMGQ2ZjY4YWI4ZWZk"},"to_address":{"id":"adr_2b9e691b5a6411ef9c75ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:34+00:00","updated_at":"2024-08-14T17:39:34+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_2ba121625a6411efaf23ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:34+00:00","updated_at":"2024-08-14T17:39:34+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_2b9e691b5a6411ef9c75ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:34+00:00","updated_at":"2024-08-14T17:39:34+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_75f36d03b846491ab887bffa037e3173","object":"Shipment"},{"created_at":"2024-08-14T17:39:31Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196771","updated_at":"2024-08-14T17:39:32Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_29d2ec8b5a6411efbd30ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:31+00:00","updated_at":"2024-08-14T17:39:31+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_ca42f2ca4e8a4d0db8ecdd836785f057","object":"Parcel","created_at":"2024-08-14T17:39:31Z","updated_at":"2024-08-14T17:39:31Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_9ce45e68bca046479d3eee2826058299","created_at":"2024-08-14T17:39:32Z","updated_at":"2024-08-14T17:39:34Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e8f5d48f6f72154970a580b07a53420564.png","label_pdf_url":null,"label_zpl_url":"https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/files\/postage_label\/20240814\/124c3ff609cd418ba7255bcae762a1d9.zpl","label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_09a20798e45842dcbaf1ea9c408ee248","object":"Rate","created_at":"2024-08-14T17:39:31Z","updated_at":"2024-08-14T17:39:31Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_23808cc1f36c411d8bc1558ba9a65c33","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_f2273476bb85478983fb735841591997","object":"Rate","created_at":"2024-08-14T17:39:31Z","updated_at":"2024-08-14T17:39:31Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_23808cc1f36c411d8bc1558ba9a65c33","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_b39177d129d249b88b23de26eacf25b7","object":"Rate","created_at":"2024-08-14T17:39:31Z","updated_at":"2024-08-14T17:39:31Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_23808cc1f36c411d8bc1558ba9a65c33","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_b39177d129d249b88b23de26eacf25b7","object":"Rate","created_at":"2024-08-14T17:39:32Z","updated_at":"2024-08-14T17:39:32Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_23808cc1f36c411d8bc1558ba9a65c33","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_fa63f8a9c6b546b293ff850e5693e6f6","object":"Tracker","mode":"test","tracking_code":"9400100105807075196771","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:32Z","updated_at":"2024-08-14T17:39:32Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:39:32Z","shipment_id":"shp_23808cc1f36c411d8bc1558ba9a65c33","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:39: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":"2024-07-15T06:16:32Z","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\/djE6dHJrX2ZhNjNmOGE5YzZiNTQ2YjI5M2ZmODUwZTU2OTNlNmY2"},"to_address":{"id":"adr_29d057d75a6411efbb8f3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:31+00:00","updated_at":"2024-08-14T17:39:31+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_29d2ec8b5a6411efbd30ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:31+00:00","updated_at":"2024-08-14T17:39:31+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_29d057d75a6411efbb8f3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:31+00:00","updated_at":"2024-08-14T17:39:31+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_23808cc1f36c411d8bc1558ba9a65c33","object":"Shipment"}],"has_more":true}' curl_info: url: 'https://api.easypost.com/v2/shipments?page_size=5' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 708 + header_size: 690 request_size: 298 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.881322 - namelookup_time: 0.002248 - connect_time: 0.0717 - pretransfer_time: 0.140744 + total_time: 0.669905 + namelookup_time: 0.003335 + connect_time: 0.033379 + pretransfer_time: 0.066573 size_upload: 0.0 - size_download: 46864.0 - speed_download: 53174.0 + size_download: 38887.0 + speed_download: 58048.0 speed_upload: 0.0 - download_content_length: 46864.0 + download_content_length: 38887.0 upload_content_length: 0.0 - starttransfer_time: 0.753384 + starttransfer_time: 0.64021 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53451 + local_ip: 192.168.1.75 + local_port: 52686 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 140673 - connect_time_us: 71700 - namelookup_time_us: 2248 - pretransfer_time_us: 140744 + scheme: https + appconnect_time_us: 66517 + connect_time_us: 33379 + namelookup_time_us: 3335 + pretransfer_time_us: 66573 redirect_time_us: 0 - starttransfer_time_us: 753384 - total_time_us: 881322 + starttransfer_time_us: 640210 + total_time_us: 669905 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/shipments/buy.yml b/test/cassettes/shipments/buy.yml index e677f1ba..61d24e5e 100644 --- a/test/cassettes/shipments/buy.yml +++ b/test/cassettes/shipments/buy.yml @@ -14,8 +14,7 @@ body: '{"shipment":{"from_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"to_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"customs_info":{"eel_pfc":"NOEEI 30.37(a)","customs_certify":"true","customs_signer":"Steve Brule","contents_type":"merchandise","restriction_type":"none","non_delivery_option":"return","customs_items":[{"description":"Sweet shirts","quantity":"2","weight":"11","value":"23.25","hs_tariff_number":"654321","origin_country":"US"}]},"options":{"label_format":"PNG","invoice_number":"123"},"reference":"123"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,64 +23,66 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911d655e64d9e788591e001fb3ec + x-ep-request-uuid: e181587766bcebe4e2b8fbfe0086e137 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_3efdaf0c2ec64bdba2162b12219a6c40 + location: /api/v2/shipments/shp_92c515596466415ebe6d55bf51d34246 content-type: 'application/json; charset=utf-8' - content-length: '7096' - x-runtime: '0.494954' - x-node: bigweb43nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '6016' + x-runtime: '0.432909' + x-node: bigweb33nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:17Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":null,"updated_at":"2023-11-22T20:30:17Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_89d7a57fe3904056895654a1e4ac85d4","object":"CustomsInfo","created_at":"2023-11-22T20:30:17Z","updated_at":"2023-11-22T20:30:17Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_3242112c2a7144519b837f045a011c38","object":"CustomsItem","created_at":"2023-11-22T20:30:17Z","updated_at":"2023-11-22T20:30:17Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_f2cbcaa1897511ee89b9ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:17+00:00","updated_at":"2023-11-22T20:30:17+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_0029585e0ad146df85fe99855353c11e","object":"Parcel","created_at":"2023-11-22T20:30:17Z","updated_at":"2023-11-22T20:30:17Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_ff4443ca75ea4024b7f3db12ea82048f","object":"Rate","created_at":"2023-11-22T20:30:17Z","updated_at":"2023-11-22T20:30:17Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_3efdaf0c2ec64bdba2162b12219a6c40","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_9e244d2eb91c457fa9910b28550f0244","object":"Rate","created_at":"2023-11-22T20:30:17Z","updated_at":"2023-11-22T20:30:17Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_3efdaf0c2ec64bdba2162b12219a6c40","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_c5a86edce9704aed8a6c9714126e76d3","object":"Rate","created_at":"2023-11-22T20:30:17Z","updated_at":"2023-11-22T20:30:17Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_3efdaf0c2ec64bdba2162b12219a6c40","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_8930ad7c0c744392904da82aab9a59f4","object":"Rate","created_at":"2023-11-22T20:30:17Z","updated_at":"2023-11-22T20:30: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_3efdaf0c2ec64bdba2162b12219a6c40","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_df262fd8dac54f49838b7cdead66cf74","object":"Rate","created_at":"2023-11-22T20:30:17Z","updated_at":"2023-11-22T20:30: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_3efdaf0c2ec64bdba2162b12219a6c40","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_f2c8f83e897511ee889f3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:17+00:00","updated_at":"2023-11-22T20:30:17+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_f2cbcaa1897511ee89b9ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:17+00:00","updated_at":"2023-11-22T20:30:17+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":[]},"buyer_address":{"id":"adr_f2c8f83e897511ee889f3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:17+00:00","updated_at":"2023-11-22T20:30:17+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_3efdaf0c2ec64bdba2162b12219a6c40","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:48Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:39:49Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_b047744bb18a42619d6fdd3fea8be605","object":"CustomsInfo","created_at":"2024-08-14T17:39:48Z","updated_at":"2024-08-14T17:39:48Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_834e4597791e43c89e65ba4ad6f40213","object":"CustomsItem","created_at":"2024-08-14T17:39:48Z","updated_at":"2024-08-14T17:39:48Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_3404a21d5a6411ef827aac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:48+00:00","updated_at":"2024-08-14T17:39:48+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_4aab68a125c447c6933d14c79797b333","object":"Parcel","created_at":"2024-08-14T17:39:48Z","updated_at":"2024-08-14T17:39:48Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_bff6fd13d3c548cba5d38f9abdcd4172","object":"Rate","created_at":"2024-08-14T17:39:49Z","updated_at":"2024-08-14T17:39:49Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_92c515596466415ebe6d55bf51d34246","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_6a9ff6f6d1654678a4a6b86abb7965de","object":"Rate","created_at":"2024-08-14T17:39:49Z","updated_at":"2024-08-14T17:39:49Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_92c515596466415ebe6d55bf51d34246","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_ed427bf47e704be183add882d49e49b3","object":"Rate","created_at":"2024-08-14T17:39:49Z","updated_at":"2024-08-14T17:39:49Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_92c515596466415ebe6d55bf51d34246","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_34023a3e5a6411ef8278ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:48+00:00","updated_at":"2024-08-14T17:39:48+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_3404a21d5a6411ef827aac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:48+00:00","updated_at":"2024-08-14T17:39:48+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":[]},"buyer_address":{"id":"adr_34023a3e5a6411ef8278ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:48+00:00","updated_at":"2024-08-14T17:39:48+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_92c515596466415ebe6d55bf51d34246","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 778 + header_size: 760 request_size: 1172 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.696012 - namelookup_time: 0.001849 - connect_time: 0.066668 - pretransfer_time: 0.13191 + total_time: 0.530566 + namelookup_time: 0.003865 + connect_time: 0.033074 + pretransfer_time: 0.064563 size_upload: 864.0 - size_download: 7096.0 - speed_download: 10195.0 - speed_upload: 1241.0 - download_content_length: 7096.0 + size_download: 6016.0 + speed_download: 11338.0 + speed_upload: 1628.0 + download_content_length: 6016.0 upload_content_length: 864.0 - starttransfer_time: 0.69594 + starttransfer_time: 0.529719 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53432 + local_ip: 192.168.1.75 + local_port: 52689 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 131877 - connect_time_us: 66668 - namelookup_time_us: 1849 - pretransfer_time_us: 131910 + scheme: https + appconnect_time_us: 64524 + connect_time_us: 33074 + namelookup_time_us: 3865 + pretransfer_time_us: 64563 redirect_time_us: 0 - starttransfer_time_us: 695940 - total_time_us: 696012 + starttransfer_time_us: 529719 + total_time_us: 530566 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: POST - url: 'https://api.easypost.com/v2/shipments/shp_3efdaf0c2ec64bdba2162b12219a6c40/buy' + url: 'https://api.easypost.com/v2/shipments/shp_92c515596466415ebe6d55bf51d34246/buy' headers: Host: api.easypost.com Expect: '' @@ -90,11 +91,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"rate":{"id":"rate_ff4443ca75ea4024b7f3db12ea82048f"}}' + body: '{"rate":{"id":"rate_ed427bf47e704be183add882d49e49b3"}}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -103,21 +103,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911a655e64d9e788591f001fb4c3 + x-ep-request-uuid: e181587966bcebe5e2b8fc160086e1cf cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '9314' - x-runtime: '0.885010' + content-length: '8234' + x-runtime: '0.893436' x-node: bigweb39nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:17Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":"9400100105440282035824","updated_at":"2023-11-22T20:30:18Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_89d7a57fe3904056895654a1e4ac85d4","object":"CustomsInfo","created_at":"2023-11-22T20:30:17Z","updated_at":"2023-11-22T20:30:17Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_3242112c2a7144519b837f045a011c38","object":"CustomsItem","created_at":"2023-11-22T20:30:17Z","updated_at":"2023-11-22T20:30:17Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_f2cbcaa1897511ee89b9ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:17+00:00","updated_at":"2023-11-22T20:30:17+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":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_0029585e0ad146df85fe99855353c11e","object":"Parcel","created_at":"2023-11-22T20:30:17Z","updated_at":"2023-11-22T20:30:17Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_66e3d7c9bc624398b16d574ce139e9b5","created_at":"2023-11-22T20:30:18Z","updated_at":"2023-11-22T20:30:18Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:30: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\/20231122\/e899a1fb9ece3e4ee9b7c4a6f737123446.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_ff4443ca75ea4024b7f3db12ea82048f","object":"Rate","created_at":"2023-11-22T20:30:17Z","updated_at":"2023-11-22T20:30:17Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_3efdaf0c2ec64bdba2162b12219a6c40","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_9e244d2eb91c457fa9910b28550f0244","object":"Rate","created_at":"2023-11-22T20:30:17Z","updated_at":"2023-11-22T20:30:17Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_3efdaf0c2ec64bdba2162b12219a6c40","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_c5a86edce9704aed8a6c9714126e76d3","object":"Rate","created_at":"2023-11-22T20:30:17Z","updated_at":"2023-11-22T20:30:17Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_3efdaf0c2ec64bdba2162b12219a6c40","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_8930ad7c0c744392904da82aab9a59f4","object":"Rate","created_at":"2023-11-22T20:30:17Z","updated_at":"2023-11-22T20:30: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_3efdaf0c2ec64bdba2162b12219a6c40","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_df262fd8dac54f49838b7cdead66cf74","object":"Rate","created_at":"2023-11-22T20:30:17Z","updated_at":"2023-11-22T20:30: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_3efdaf0c2ec64bdba2162b12219a6c40","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_ff4443ca75ea4024b7f3db12ea82048f","object":"Rate","created_at":"2023-11-22T20:30:18Z","updated_at":"2023-11-22T20:30:18Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_3efdaf0c2ec64bdba2162b12219a6c40","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_c83365b394d540a19696b2fdc75de287","object":"Tracker","mode":"test","tracking_code":"9400100105440282035824","status":"unknown","status_detail":"unknown","created_at":"2023-11-22T20:30:18Z","updated_at":"2023-11-22T20:30:18Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_3efdaf0c2ec64bdba2162b12219a6c40","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2M4MzM2NWIzOTRkNTQwYTE5Njk2YjJmZGM3NWRlMjg3"},"to_address":{"id":"adr_f2c8f83e897511ee889f3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:17+00:00","updated_at":"2023-11-22T20:30:18+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_f2cbcaa1897511ee89b9ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:17+00:00","updated_at":"2023-11-22T20:30:17+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":[]},"buyer_address":{"id":"adr_f2c8f83e897511ee889f3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:17+00:00","updated_at":"2023-11-22T20:30:18+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_3efdaf0c2ec64bdba2162b12219a6c40","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:48Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":"9400100105807075196993","updated_at":"2024-08-14T17:39:50Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_b047744bb18a42619d6fdd3fea8be605","object":"CustomsInfo","created_at":"2024-08-14T17:39:48Z","updated_at":"2024-08-14T17:39:48Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_834e4597791e43c89e65ba4ad6f40213","object":"CustomsItem","created_at":"2024-08-14T17:39:48Z","updated_at":"2024-08-14T17:39:48Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_3404a21d5a6411ef827aac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:48+00:00","updated_at":"2024-08-14T17:39:48+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":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_4aab68a125c447c6933d14c79797b333","object":"Parcel","created_at":"2024-08-14T17:39:48Z","updated_at":"2024-08-14T17:39:48Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_96f1a3a7456f4d5a851bb9d7152812a9","created_at":"2024-08-14T17:39:49Z","updated_at":"2024-08-14T17:39:49Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e8d8a99ace9b34467385bdbf2429105db5.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_bff6fd13d3c548cba5d38f9abdcd4172","object":"Rate","created_at":"2024-08-14T17:39:49Z","updated_at":"2024-08-14T17:39:49Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_92c515596466415ebe6d55bf51d34246","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_6a9ff6f6d1654678a4a6b86abb7965de","object":"Rate","created_at":"2024-08-14T17:39:49Z","updated_at":"2024-08-14T17:39:49Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_92c515596466415ebe6d55bf51d34246","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_ed427bf47e704be183add882d49e49b3","object":"Rate","created_at":"2024-08-14T17:39:49Z","updated_at":"2024-08-14T17:39:49Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_92c515596466415ebe6d55bf51d34246","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_ed427bf47e704be183add882d49e49b3","object":"Rate","created_at":"2024-08-14T17:39:49Z","updated_at":"2024-08-14T17:39:49Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_92c515596466415ebe6d55bf51d34246","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_94bf017e0b744a7e8bce59414ecea3e4","object":"Tracker","mode":"test","tracking_code":"9400100105807075196993","status":"unknown","status_detail":"unknown","created_at":"2024-08-14T17:39:50Z","updated_at":"2024-08-14T17:39:50Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_92c515596466415ebe6d55bf51d34246","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzk0YmYwMTdlMGI3NDRhN2U4YmNlNTk0MTRlY2VhM2U0"},"to_address":{"id":"adr_34023a3e5a6411ef8278ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:48+00:00","updated_at":"2024-08-14T17:39:49+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_3404a21d5a6411ef827aac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:48+00:00","updated_at":"2024-08-14T17:39:48+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":[]},"buyer_address":{"id":"adr_34023a3e5a6411ef8278ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:48+00:00","updated_at":"2024-08-14T17:39:49+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_92c515596466415ebe6d55bf51d34246","object":"Shipment"}' curl_info: - url: 'https://api.easypost.com/v2/shipments/shp_3efdaf0c2ec64bdba2162b12219a6c40/buy' + url: 'https://api.easypost.com/v2/shipments/shp_92c515596466415ebe6d55bf51d34246/buy' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 689 @@ -125,33 +125,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.078026 - namelookup_time: 0.001068 - connect_time: 0.06306 - pretransfer_time: 0.128555 + total_time: 1.003441 + namelookup_time: 0.00299 + connect_time: 0.036407 + pretransfer_time: 0.073762 size_upload: 55.0 - size_download: 9314.0 - speed_download: 8639.0 - speed_upload: 51.0 - download_content_length: 9314.0 + size_download: 8234.0 + speed_download: 8205.0 + speed_upload: 54.0 + download_content_length: 8234.0 upload_content_length: 55.0 - starttransfer_time: 1.077831 + starttransfer_time: 1.003275 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53433 + local_ip: 192.168.1.75 + local_port: 52690 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 128475 - connect_time_us: 63060 - namelookup_time_us: 1068 - pretransfer_time_us: 128555 + scheme: https + appconnect_time_us: 73695 + connect_time_us: 36407 + namelookup_time_us: 2990 + pretransfer_time_us: 73762 redirect_time_us: 0 - starttransfer_time_us: 1077831 - total_time_us: 1078026 + starttransfer_time_us: 1003275 + total_time_us: 1003441 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/shipments/buyRateObject.yml b/test/cassettes/shipments/buyRateObject.yml index 8dc38e1b..098bd6d2 100644 --- a/test/cassettes/shipments/buyRateObject.yml +++ b/test/cassettes/shipments/buyRateObject.yml @@ -14,8 +14,7 @@ body: '{"shipment":{"from_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"to_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"customs_info":{"eel_pfc":"NOEEI 30.37(a)","customs_certify":"true","customs_signer":"Steve Brule","contents_type":"merchandise","restriction_type":"none","non_delivery_option":"return","customs_items":[{"description":"Sweet shirts","quantity":"2","weight":"11","value":"23.25","hs_tariff_number":"654321","origin_country":"US"}]},"options":{"label_format":"PNG","invoice_number":"123"},"reference":"123"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911a655e64d7e788591c001fb1af + x-ep-request-uuid: e181587866bcebe6e2b8fc170086e2c2 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_fd0c9f8282094151881e85cd93f7d2ee + location: /api/v2/shipments/shp_ca2238f2b2444189b75460eb1e8219f6 content-type: 'application/json; charset=utf-8' - content-length: '7096' - x-runtime: '0.429966' - x-node: bigweb31nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '6016' + x-runtime: '0.389404' + x-node: bigweb38nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:15Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":null,"updated_at":"2023-11-22T20:30:15Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_eaeebac9f8b945b7a1cd957a00f2525a","object":"CustomsInfo","created_at":"2023-11-22T20:30:15Z","updated_at":"2023-11-22T20:30:15Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_00037a2d442f4621a81ee75649d19178","object":"CustomsItem","created_at":"2023-11-22T20:30:15Z","updated_at":"2023-11-22T20:30:15Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_f1a87c9c897511eeb8ceac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:15+00:00","updated_at":"2023-11-22T20:30:15+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_f00a61b145e941338ba5a2ac096a141d","object":"Parcel","created_at":"2023-11-22T20:30:15Z","updated_at":"2023-11-22T20:30:15Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_d44b28a868ce400e8bd11f18df885cbc","object":"Rate","created_at":"2023-11-22T20:30:15Z","updated_at":"2023-11-22T20:30:15Z","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_fd0c9f8282094151881e85cd93f7d2ee","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_1c8b4a9403f44816886348cbf7adf119","object":"Rate","created_at":"2023-11-22T20:30:15Z","updated_at":"2023-11-22T20:30:15Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_fd0c9f8282094151881e85cd93f7d2ee","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_728b8d290bcc4aa7a65a8eedf0b011fc","object":"Rate","created_at":"2023-11-22T20:30:15Z","updated_at":"2023-11-22T20:30:15Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_fd0c9f8282094151881e85cd93f7d2ee","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_8fb55c218810438ea68740852ac981b6","object":"Rate","created_at":"2023-11-22T20:30:15Z","updated_at":"2023-11-22T20:30:15Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_fd0c9f8282094151881e85cd93f7d2ee","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_04ecd6b307b74d0d9b24af8d0c944942","object":"Rate","created_at":"2023-11-22T20:30:15Z","updated_at":"2023-11-22T20:30:15Z","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_fd0c9f8282094151881e85cd93f7d2ee","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_f1a40fc3897511ee87ec3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:15+00:00","updated_at":"2023-11-22T20:30:15+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_f1a87c9c897511eeb8ceac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:15+00:00","updated_at":"2023-11-22T20:30:15+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":[]},"buyer_address":{"id":"adr_f1a40fc3897511ee87ec3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:15+00:00","updated_at":"2023-11-22T20:30:15+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_fd0c9f8282094151881e85cd93f7d2ee","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:50Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:39:50Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_5703f52dc3d64cff9ac806d1b63a7b8e","object":"CustomsInfo","created_at":"2024-08-14T17:39:50Z","updated_at":"2024-08-14T17:39:50Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_5da98fa427584f2cb3593a7117b94d72","object":"CustomsItem","created_at":"2024-08-14T17:39:50Z","updated_at":"2024-08-14T17:39:50Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_34f5918a5a6411ef836aac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:50+00:00","updated_at":"2024-08-14T17:39:50+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_61057b12ab614ea48f62958a5ec12dc4","object":"Parcel","created_at":"2024-08-14T17:39:50Z","updated_at":"2024-08-14T17:39:50Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_4e920e1d2fd9474c94c3523ee9c722e6","object":"Rate","created_at":"2024-08-14T17:39:50Z","updated_at":"2024-08-14T17:39:50Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_ca2238f2b2444189b75460eb1e8219f6","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_1753782c323045f29a3923860f2fdbd1","object":"Rate","created_at":"2024-08-14T17:39:50Z","updated_at":"2024-08-14T17:39:50Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_ca2238f2b2444189b75460eb1e8219f6","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_a05ef83609024f6b8e51970df8d3c8ca","object":"Rate","created_at":"2024-08-14T17:39:50Z","updated_at":"2024-08-14T17:39:50Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_ca2238f2b2444189b75460eb1e8219f6","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_34f35bf35a6411ef8367ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:50+00:00","updated_at":"2024-08-14T17:39:50+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_34f5918a5a6411ef836aac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:50+00:00","updated_at":"2024-08-14T17:39:50+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":[]},"buyer_address":{"id":"adr_34f35bf35a6411ef8367ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:50+00:00","updated_at":"2024-08-14T17:39:50+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_ca2238f2b2444189b75460eb1e8219f6","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' @@ -47,40 +46,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.630123 - namelookup_time: 0.001187 - connect_time: 0.064454 - pretransfer_time: 0.129191 + total_time: 0.487687 + namelookup_time: 0.002466 + connect_time: 0.032179 + pretransfer_time: 0.065251 size_upload: 864.0 - size_download: 7096.0 - speed_download: 11261.0 - speed_upload: 1371.0 - download_content_length: 7096.0 + size_download: 6016.0 + speed_download: 12335.0 + speed_upload: 1771.0 + download_content_length: 6016.0 upload_content_length: 864.0 - starttransfer_time: 0.630061 + starttransfer_time: 0.487599 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53430 + local_ip: 192.168.1.75 + local_port: 52691 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 129161 - connect_time_us: 64454 - namelookup_time_us: 1187 - pretransfer_time_us: 129191 + scheme: https + appconnect_time_us: 65194 + connect_time_us: 32179 + namelookup_time_us: 2466 + pretransfer_time_us: 65251 redirect_time_us: 0 - starttransfer_time_us: 630061 - total_time_us: 630123 + starttransfer_time_us: 487599 + total_time_us: 487687 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: POST - url: 'https://api.easypost.com/v2/shipments/shp_fd0c9f8282094151881e85cd93f7d2ee/buy' + url: 'https://api.easypost.com/v2/shipments/shp_ca2238f2b2444189b75460eb1e8219f6/buy' headers: Host: api.easypost.com Expect: '' @@ -89,11 +91,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"rate":{"id":"rate_1c8b4a9403f44816886348cbf7adf119"}}' + body: '{"rate":{"id":"rate_a05ef83609024f6b8e51970df8d3c8ca"}}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -102,21 +103,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911a655e64d7e788591d001fb27a + x-ep-request-uuid: e181587866bcebe6e2b8fc180086e345 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '9314' - x-runtime: '0.948773' - x-node: bigweb35nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '8234' + x-runtime: '1.129387' + x-node: bigweb38nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:15Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":"9400100105440282035817","updated_at":"2023-11-22T20:30:16Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_eaeebac9f8b945b7a1cd957a00f2525a","object":"CustomsInfo","created_at":"2023-11-22T20:30:15Z","updated_at":"2023-11-22T20:30:15Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_00037a2d442f4621a81ee75649d19178","object":"CustomsItem","created_at":"2023-11-22T20:30:15Z","updated_at":"2023-11-22T20:30:15Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_f1a87c9c897511eeb8ceac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:15+00:00","updated_at":"2023-11-22T20:30:15+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":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_f00a61b145e941338ba5a2ac096a141d","object":"Parcel","created_at":"2023-11-22T20:30:15Z","updated_at":"2023-11-22T20:30:15Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_772a81d7cd1541cd82dadb320a9bc8d2","created_at":"2023-11-22T20:30:16Z","updated_at":"2023-11-22T20:30:16Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:30: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\/20231122\/e86df02197cc9646f1913b44a91e9c1eac.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_d44b28a868ce400e8bd11f18df885cbc","object":"Rate","created_at":"2023-11-22T20:30:15Z","updated_at":"2023-11-22T20:30:15Z","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_fd0c9f8282094151881e85cd93f7d2ee","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_1c8b4a9403f44816886348cbf7adf119","object":"Rate","created_at":"2023-11-22T20:30:15Z","updated_at":"2023-11-22T20:30:15Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_fd0c9f8282094151881e85cd93f7d2ee","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_728b8d290bcc4aa7a65a8eedf0b011fc","object":"Rate","created_at":"2023-11-22T20:30:15Z","updated_at":"2023-11-22T20:30:15Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_fd0c9f8282094151881e85cd93f7d2ee","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_8fb55c218810438ea68740852ac981b6","object":"Rate","created_at":"2023-11-22T20:30:15Z","updated_at":"2023-11-22T20:30:15Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_fd0c9f8282094151881e85cd93f7d2ee","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_04ecd6b307b74d0d9b24af8d0c944942","object":"Rate","created_at":"2023-11-22T20:30:15Z","updated_at":"2023-11-22T20:30:15Z","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_fd0c9f8282094151881e85cd93f7d2ee","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_1c8b4a9403f44816886348cbf7adf119","object":"Rate","created_at":"2023-11-22T20:30:16Z","updated_at":"2023-11-22T20:30:16Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_fd0c9f8282094151881e85cd93f7d2ee","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_b5d0374706194d76825410702cb12fde","object":"Tracker","mode":"test","tracking_code":"9400100105440282035817","status":"unknown","status_detail":"unknown","created_at":"2023-11-22T20:30:16Z","updated_at":"2023-11-22T20:30:16Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_fd0c9f8282094151881e85cd93f7d2ee","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2I1ZDAzNzQ3MDYxOTRkNzY4MjU0MTA3MDJjYjEyZmRl"},"to_address":{"id":"adr_f1a40fc3897511ee87ec3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:15+00:00","updated_at":"2023-11-22T20:30:16+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_f1a87c9c897511eeb8ceac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:15+00:00","updated_at":"2023-11-22T20:30:15+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":[]},"buyer_address":{"id":"adr_f1a40fc3897511ee87ec3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:15+00:00","updated_at":"2023-11-22T20:30:16+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_fd0c9f8282094151881e85cd93f7d2ee","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:50Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":"9400100105807075197006","updated_at":"2024-08-14T17:39:51Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_5703f52dc3d64cff9ac806d1b63a7b8e","object":"CustomsInfo","created_at":"2024-08-14T17:39:50Z","updated_at":"2024-08-14T17:39:50Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_5da98fa427584f2cb3593a7117b94d72","object":"CustomsItem","created_at":"2024-08-14T17:39:50Z","updated_at":"2024-08-14T17:39:50Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_34f5918a5a6411ef836aac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:50+00:00","updated_at":"2024-08-14T17:39:50+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":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_61057b12ab614ea48f62958a5ec12dc4","object":"Parcel","created_at":"2024-08-14T17:39:50Z","updated_at":"2024-08-14T17:39:50Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_e24d68c0462d4226afaf3f17d46d73b6","created_at":"2024-08-14T17:39:51Z","updated_at":"2024-08-14T17:39:51Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e8be0590153176459db12b37739a0fb4da.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_4e920e1d2fd9474c94c3523ee9c722e6","object":"Rate","created_at":"2024-08-14T17:39:50Z","updated_at":"2024-08-14T17:39:50Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_ca2238f2b2444189b75460eb1e8219f6","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_1753782c323045f29a3923860f2fdbd1","object":"Rate","created_at":"2024-08-14T17:39:50Z","updated_at":"2024-08-14T17:39:50Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_ca2238f2b2444189b75460eb1e8219f6","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_a05ef83609024f6b8e51970df8d3c8ca","object":"Rate","created_at":"2024-08-14T17:39:50Z","updated_at":"2024-08-14T17:39:50Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_ca2238f2b2444189b75460eb1e8219f6","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_a05ef83609024f6b8e51970df8d3c8ca","object":"Rate","created_at":"2024-08-14T17:39:51Z","updated_at":"2024-08-14T17:39:51Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_ca2238f2b2444189b75460eb1e8219f6","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_baf74c60ac2a45398c737a16802c6d8d","object":"Tracker","mode":"test","tracking_code":"9400100105807075197006","status":"unknown","status_detail":"unknown","created_at":"2024-08-14T17:39:51Z","updated_at":"2024-08-14T17:39:51Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_ca2238f2b2444189b75460eb1e8219f6","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2JhZjc0YzYwYWMyYTQ1Mzk4YzczN2ExNjgwMmM2ZDhk"},"to_address":{"id":"adr_34f35bf35a6411ef8367ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:50+00:00","updated_at":"2024-08-14T17:39:51+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_34f5918a5a6411ef836aac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:50+00:00","updated_at":"2024-08-14T17:39:50+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":[]},"buyer_address":{"id":"adr_34f35bf35a6411ef8367ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:50+00:00","updated_at":"2024-08-14T17:39:51+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_ca2238f2b2444189b75460eb1e8219f6","object":"Shipment"}' curl_info: - url: 'https://api.easypost.com/v2/shipments/shp_fd0c9f8282094151881e85cd93f7d2ee/buy' + url: 'https://api.easypost.com/v2/shipments/shp_ca2238f2b2444189b75460eb1e8219f6/buy' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 689 @@ -124,33 +125,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.146076 - namelookup_time: 0.001133 - connect_time: 0.064537 - pretransfer_time: 0.131182 + total_time: 1.238725 + namelookup_time: 0.002998 + connect_time: 0.035873 + pretransfer_time: 0.072107 size_upload: 55.0 - size_download: 9314.0 - speed_download: 8126.0 - speed_upload: 47.0 - download_content_length: 9314.0 + size_download: 8234.0 + speed_download: 6647.0 + speed_upload: 44.0 + download_content_length: 8234.0 upload_content_length: 55.0 - starttransfer_time: 1.145782 + starttransfer_time: 1.238647 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53431 + local_ip: 192.168.1.75 + local_port: 52692 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 131095 - connect_time_us: 64537 - namelookup_time_us: 1133 - pretransfer_time_us: 131182 + scheme: https + appconnect_time_us: 72045 + connect_time_us: 35873 + namelookup_time_us: 2998 + pretransfer_time_us: 72107 redirect_time_us: 0 - starttransfer_time_us: 1145782 - total_time_us: 1146076 + starttransfer_time_us: 1238647 + total_time_us: 1238725 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/shipments/buyShipmentWithEndShipper.yml b/test/cassettes/shipments/buyShipmentWithEndShipper.yml index a52cb534..f6f3bcb5 100644 --- a/test/cassettes/shipments/buyShipmentWithEndShipper.yml +++ b/test/cassettes/shipments/buyShipmentWithEndShipper.yml @@ -23,57 +23,57 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 02ef19156568d1d3e7874da30000c56c + x-ep-request-uuid: e181587a66bcebeee2b8ff330086eae6 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '365' - x-runtime: '0.046775' - x-node: bigweb34nuq - x-version-label: easypost-202311301748-2efb918c5f-master + x-runtime: '0.059816' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"es_bd11fd978d1041aa940ff6fa05adc386","object":"EndShipper","mode":"test","created_at":"2023-11-30T18:17:55+00:00","updated_at":"2023-11-30T18:17:55+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":""}' + body: '{"id":"es_6606b695a72743639ade87960a697b37","object":"EndShipper","mode":"test","created_at":"2024-08-14T17:39:58+00:00","updated_at":"2024-08-14T17:39:58+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":""}' curl_info: url: 'https://api.easypost.com/v2/end_shippers' content_type: 'application/json; charset=utf-8' http_code: 201 header_size: 693 - request_size: 505 + request_size: 506 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.286097 - namelookup_time: 0.028983 - connect_time: 0.09359 - pretransfer_time: 0.167444 + total_time: 0.157383 + namelookup_time: 0.001294 + connect_time: 0.030874 + pretransfer_time: 0.062755 size_upload: 195.0 size_download: 365.0 - speed_download: 1275.0 - speed_upload: 681.0 + speed_download: 2319.0 + speed_upload: 1239.0 download_content_length: 365.0 upload_content_length: 195.0 - starttransfer_time: 0.286082 + starttransfer_time: 0.157363 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.25 - local_port: 51772 + local_ip: 192.168.1.75 + local_port: 52705 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 167168 - connect_time_us: 93590 - namelookup_time_us: 28983 - pretransfer_time_us: 167444 + scheme: https + appconnect_time_us: 62707 + connect_time_us: 30874 + namelookup_time_us: 1294 + pretransfer_time_us: 62755 redirect_time_us: 0 - starttransfer_time_us: 286082 - total_time_us: 286097 + starttransfer_time_us: 157363 + total_time_us: 157383 effective_method: POST capath: '' cainfo: '' @@ -102,58 +102,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 02ef19186568d1d3e7874da40000c5bd + x-ep-request-uuid: e181587666bcebeee2b8ff340086eb09 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_6ce61d3fe8a24882b28b4452e8d3d209 + location: /api/v2/shipments/shp_4a347e74e36244df9500d9309421cc21 content-type: 'application/json; charset=utf-8' - content-length: '6229' - x-runtime: '0.674738' - x-node: bigweb41nuq - x-version-label: easypost-202311301748-2efb918c5f-master + content-length: '4984' + x-runtime: '0.658885' + x-node: bigweb34nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-30T18:17:56Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","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":"2023-11-30T18:17:56Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_c8bb4f6d8fac11eeb1363cecef1b359e","object":"Address","created_at":"2023-11-30T18:17:55+00:00","updated_at":"2023-11-30T18:17:55+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_29af64a0a1894275b318374eff150e2a","object":"Parcel","created_at":"2023-11-30T18:17:56Z","updated_at":"2023-11-30T18:17:56Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_b093b86bee8b4b12add4c8f0b5e23f8a","object":"Rate","created_at":"2023-11-30T18:17:56Z","updated_at":"2023-11-30T18:17: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_6ce61d3fe8a24882b28b4452e8d3d209","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_11dc01675b394f5ba5eefdd8aa3f1e56","object":"Rate","created_at":"2023-11-30T18:17:56Z","updated_at":"2023-11-30T18:17:56Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_6ce61d3fe8a24882b28b4452e8d3d209","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_fe728b7d36ac4fe392d146b700ef6ff4","object":"Rate","created_at":"2023-11-30T18:17:56Z","updated_at":"2023-11-30T18:17:56Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_6ce61d3fe8a24882b28b4452e8d3d209","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_d9b0a0e87b2a49ffb50c7de44116818c","object":"Rate","created_at":"2023-11-30T18:17:56Z","updated_at":"2023-11-30T18:17:56Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_6ce61d3fe8a24882b28b4452e8d3d209","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_ecbf216b9e1b47eb90588a33f054bfce","object":"Rate","created_at":"2023-11-30T18:17:56Z","updated_at":"2023-11-30T18:17: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_6ce61d3fe8a24882b28b4452e8d3d209","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_c8b944398fac11eeba5cac1f6bc539aa","object":"Address","created_at":"2023-11-30T18:17:55+00:00","updated_at":"2023-11-30T18:17:55+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_c8bb4f6d8fac11eeb1363cecef1b359e","object":"Address","created_at":"2023-11-30T18:17:55+00:00","updated_at":"2023-11-30T18:17:55+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":[]},"buyer_address":{"id":"adr_c8b944398fac11eeba5cac1f6bc539aa","object":"Address","created_at":"2023-11-30T18:17:55+00:00","updated_at":"2023-11-30T18:17:55+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_6ce61d3fe8a24882b28b4452e8d3d209","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:58Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:39:59Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_39fa50435a6411ef851f3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:58+00:00","updated_at":"2024-08-14T17:39:58+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_f28c009eede946bba51d172787945ee6","object":"Parcel","created_at":"2024-08-14T17:39:58Z","updated_at":"2024-08-14T17:39:58Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_98827ffd66ac4fd6a734172d9981815f","object":"Rate","created_at":"2024-08-14T17:39:59Z","updated_at":"2024-08-14T17:39:59Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_4a347e74e36244df9500d9309421cc21","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_8111d8521a3f42c3b5dd0b3d10021eef","object":"Rate","created_at":"2024-08-14T17:39:59Z","updated_at":"2024-08-14T17:39:59Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_4a347e74e36244df9500d9309421cc21","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_e6f24e0dc72948e3999796ee8703b709","object":"Rate","created_at":"2024-08-14T17:39:59Z","updated_at":"2024-08-14T17:39:59Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_4a347e74e36244df9500d9309421cc21","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_39f744f75a6411ef851d3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:58+00:00","updated_at":"2024-08-14T17:39:58+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_39fa50435a6411ef851f3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:58+00:00","updated_at":"2024-08-14T17:39:58+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":[]},"buyer_address":{"id":"adr_39f744f75a6411ef851d3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:58+00:00","updated_at":"2024-08-14T17:39:58+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_4a347e74e36244df9500d9309421cc21","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' http_code: 201 header_size: 760 - request_size: 766 + request_size: 767 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.883991 - namelookup_time: 0.001332 - connect_time: 0.073319 - pretransfer_time: 0.140918 + total_time: 0.767112 + namelookup_time: 0.001572 + connect_time: 0.034898 + pretransfer_time: 0.071682 size_upload: 459.0 - size_download: 6229.0 - speed_download: 7046.0 - speed_upload: 519.0 - download_content_length: 6229.0 + size_download: 4984.0 + speed_download: 6497.0 + speed_upload: 598.0 + download_content_length: 4984.0 upload_content_length: 459.0 - starttransfer_time: 0.883961 + starttransfer_time: 0.767051 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.25 - local_port: 51773 + local_ip: 192.168.1.75 + local_port: 52706 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 140890 - connect_time_us: 73319 - namelookup_time_us: 1332 - pretransfer_time_us: 140918 + scheme: https + appconnect_time_us: 71619 + connect_time_us: 34898 + namelookup_time_us: 1572 + pretransfer_time_us: 71682 redirect_time_us: 0 - starttransfer_time_us: 883961 - total_time_us: 883991 + starttransfer_time_us: 767051 + total_time_us: 767112 effective_method: POST capath: '' cainfo: '' @@ -161,7 +161,7 @@ - request: method: POST - url: 'https://api.easypost.com/v2/shipments/shp_6ce61d3fe8a24882b28b4452e8d3d209/buy' + url: 'https://api.easypost.com/v2/shipments/shp_4a347e74e36244df9500d9309421cc21/buy' headers: Host: api.easypost.com Expect: '' @@ -170,7 +170,7 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"rate":{"id":"rate_11dc01675b394f5ba5eefdd8aa3f1e56"},"end_shipper_id":"es_bd11fd978d1041aa940ff6fa05adc386"}' + body: '{"rate":{"id":"rate_e6f24e0dc72948e3999796ee8703b709"},"end_shipper_id":"es_6606b695a72743639ade87960a697b37"}' response: status: code: 200 @@ -182,57 +182,57 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 02ef19156568d1d4e7874da50000c6b0 + x-ep-request-uuid: e181587866bcebefe2b8ff350086ebb0 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '8447' - x-runtime: '0.851035' - x-node: bigweb39nuq - x-version-label: easypost-202311301748-2efb918c5f-master + content-length: '7202' + x-runtime: '1.060017' + x-node: bigweb34nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-30T18:17:56Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","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":"9400100105442287323159","updated_at":"2023-11-30T18:17:57Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_c8bb4f6d8fac11eeb1363cecef1b359e","object":"Address","created_at":"2023-11-30T18:17:55+00:00","updated_at":"2023-11-30T18:17:55+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":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_29af64a0a1894275b318374eff150e2a","object":"Parcel","created_at":"2023-11-30T18:17:56Z","updated_at":"2023-11-30T18:17:56Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_596f62af811f4a618f658699763ba3d7","created_at":"2023-11-30T18:17:57Z","updated_at":"2023-11-30T18:17:57Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-30T18:17: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\/20231130\/e8597dfd93262c497fa3b58eb52d9fbe28.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_b093b86bee8b4b12add4c8f0b5e23f8a","object":"Rate","created_at":"2023-11-30T18:17:56Z","updated_at":"2023-11-30T18:17: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_6ce61d3fe8a24882b28b4452e8d3d209","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_11dc01675b394f5ba5eefdd8aa3f1e56","object":"Rate","created_at":"2023-11-30T18:17:56Z","updated_at":"2023-11-30T18:17:56Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_6ce61d3fe8a24882b28b4452e8d3d209","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_fe728b7d36ac4fe392d146b700ef6ff4","object":"Rate","created_at":"2023-11-30T18:17:56Z","updated_at":"2023-11-30T18:17:56Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_6ce61d3fe8a24882b28b4452e8d3d209","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_d9b0a0e87b2a49ffb50c7de44116818c","object":"Rate","created_at":"2023-11-30T18:17:56Z","updated_at":"2023-11-30T18:17:56Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_6ce61d3fe8a24882b28b4452e8d3d209","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_ecbf216b9e1b47eb90588a33f054bfce","object":"Rate","created_at":"2023-11-30T18:17:56Z","updated_at":"2023-11-30T18:17: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_6ce61d3fe8a24882b28b4452e8d3d209","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_11dc01675b394f5ba5eefdd8aa3f1e56","object":"Rate","created_at":"2023-11-30T18:17:57Z","updated_at":"2023-11-30T18:17:57Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_6ce61d3fe8a24882b28b4452e8d3d209","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_67329b8be628457ab48433e7c678d119","object":"Tracker","mode":"test","tracking_code":"9400100105442287323159","status":"unknown","status_detail":"unknown","created_at":"2023-11-30T18:17:57Z","updated_at":"2023-11-30T18:17:57Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_6ce61d3fe8a24882b28b4452e8d3d209","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzY3MzI5YjhiZTYyODQ1N2FiNDg0MzNlN2M2NzhkMTE5"},"to_address":{"id":"adr_c8b944398fac11eeba5cac1f6bc539aa","object":"Address","created_at":"2023-11-30T18:17:55+00:00","updated_at":"2023-11-30T18:17:57+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_c8bb4f6d8fac11eeb1363cecef1b359e","object":"Address","created_at":"2023-11-30T18:17:55+00:00","updated_at":"2023-11-30T18:17:55+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":[]},"buyer_address":{"id":"adr_c8b944398fac11eeba5cac1f6bc539aa","object":"Address","created_at":"2023-11-30T18:17:55+00:00","updated_at":"2023-11-30T18:17:57+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_6ce61d3fe8a24882b28b4452e8d3d209","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:58Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075197105","updated_at":"2024-08-14T17:40:00Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_39fa50435a6411ef851f3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:58+00:00","updated_at":"2024-08-14T17:39:58+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":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_f28c009eede946bba51d172787945ee6","object":"Parcel","created_at":"2024-08-14T17:39:58Z","updated_at":"2024-08-14T17:39:58Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_061533d2a73f4ac6a992eacbbb321347","created_at":"2024-08-14T17:40:00Z","updated_at":"2024-08-14T17:40:00Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:40: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\/20240814\/e815111da9c61c434196b180ed2032fdba.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_98827ffd66ac4fd6a734172d9981815f","object":"Rate","created_at":"2024-08-14T17:39:59Z","updated_at":"2024-08-14T17:39:59Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_4a347e74e36244df9500d9309421cc21","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_8111d8521a3f42c3b5dd0b3d10021eef","object":"Rate","created_at":"2024-08-14T17:39:59Z","updated_at":"2024-08-14T17:39:59Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_4a347e74e36244df9500d9309421cc21","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_e6f24e0dc72948e3999796ee8703b709","object":"Rate","created_at":"2024-08-14T17:39:59Z","updated_at":"2024-08-14T17:39:59Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_4a347e74e36244df9500d9309421cc21","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_e6f24e0dc72948e3999796ee8703b709","object":"Rate","created_at":"2024-08-14T17:40:00Z","updated_at":"2024-08-14T17:40:00Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_4a347e74e36244df9500d9309421cc21","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_d0ed9db87b3e40f8a4bba05a9d69d754","object":"Tracker","mode":"test","tracking_code":"9400100105807075197105","status":"unknown","status_detail":"unknown","created_at":"2024-08-14T17:40:00Z","updated_at":"2024-08-14T17:40:00Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_4a347e74e36244df9500d9309421cc21","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2QwZWQ5ZGI4N2IzZTQwZjhhNGJiYTA1YTlkNjlkNzU0"},"to_address":{"id":"adr_39f744f75a6411ef851d3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:58+00:00","updated_at":"2024-08-14T17:39:59+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_39fa50435a6411ef851f3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:58+00:00","updated_at":"2024-08-14T17:39:58+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":[]},"buyer_address":{"id":"adr_39f744f75a6411ef851d3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:58+00:00","updated_at":"2024-08-14T17:39:59+00:00","name":"ELIZABETH SWAN","company":null,"street1":"179 N HARBOR DR","street2":"","city":"REDONDO BEACH","state":"CA","zip":"90277-2506","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":false,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":33.8436,"longitude":-118.39177,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_4a347e74e36244df9500d9309421cc21","object":"Shipment"}' curl_info: - url: 'https://api.easypost.com/v2/shipments/shp_6ce61d3fe8a24882b28b4452e8d3d209/buy' + url: 'https://api.easypost.com/v2/shipments/shp_4a347e74e36244df9500d9309421cc21/buy' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 689 - request_size: 458 + request_size: 459 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.057047 - namelookup_time: 0.001436 - connect_time: 0.066092 - pretransfer_time: 0.138144 + total_time: 1.172493 + namelookup_time: 0.001553 + connect_time: 0.034291 + pretransfer_time: 0.072 size_upload: 110.0 - size_download: 8447.0 - speed_download: 7991.0 - speed_upload: 104.0 - download_content_length: 8447.0 + size_download: 7202.0 + speed_download: 6142.0 + speed_upload: 93.0 + download_content_length: 7202.0 upload_content_length: 110.0 - starttransfer_time: 1.056988 + starttransfer_time: 1.172396 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.25 - local_port: 51774 + local_ip: 192.168.1.75 + local_port: 52707 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 138040 - connect_time_us: 66092 - namelookup_time_us: 1436 - pretransfer_time_us: 138144 + scheme: https + appconnect_time_us: 71912 + connect_time_us: 34291 + namelookup_time_us: 1553 + pretransfer_time_us: 72000 redirect_time_us: 0 - starttransfer_time_us: 1056988 - total_time_us: 1057047 + starttransfer_time_us: 1172396 + total_time_us: 1172493 effective_method: POST capath: '' cainfo: '' diff --git a/test/cassettes/shipments/convertLabel.yml b/test/cassettes/shipments/convertLabel.yml index 09d509a2..eefce9f8 100644 --- a/test/cassettes/shipments/convertLabel.yml +++ b/test/cassettes/shipments/convertLabel.yml @@ -11,11 +11,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"First","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' + body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"GroundAdvantage","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,64 +23,66 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911a655e64e4e7885942001fc345 + x-ep-request-uuid: e181587666bcebd0e2b8fb940086d007 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_9c417cece8654beeaf12c12886ff2424 + location: /api/v2/shipments/shp_a96dbe235d9c47398d9b7981c128a6d3 content-type: 'application/json; charset=utf-8' - content-length: '7619' - x-runtime: '1.039752' - x-node: bigweb32nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '6549' + x-runtime: '1.091733' + x-node: bigweb38nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:28Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105440282035886","updated_at":"2023-11-22T20:30:29Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_f9998c10897511ee8e55ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:28+00:00","updated_at":"2023-11-22T20:30:28+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_c66df5af2e9c4943b0379a3a95d3c321","object":"Parcel","created_at":"2023-11-22T20:30:28Z","updated_at":"2023-11-22T20:30:28Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_5e777fe3ba7645c68f5ce7c97c48d17f","created_at":"2023-11-22T20:30:29Z","updated_at":"2023-11-22T20:30:29Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:30:29Z","label_resolution":300,"label_size":"4x6","label_type":"default","label_file_type":"image\/png","label_url":"https:\/\/easypost-files.s3.us-west-2.amazonaws.com\/files\/postage_label\/20231122\/e89f6209d3ad774f0381798563f1e2585e.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_4a16e90cbfbe4fc298ea2293b8c13dc1","object":"Rate","created_at":"2023-11-22T20:30:28Z","updated_at":"2023-11-22T20:30:28Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9c417cece8654beeaf12c12886ff2424","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_13d5ff45226e4959b5371e95209b554b","object":"Rate","created_at":"2023-11-22T20:30:28Z","updated_at":"2023-11-22T20:30:28Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9c417cece8654beeaf12c12886ff2424","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_24adb30a09404a4db35eac84fa5f1d0c","object":"Rate","created_at":"2023-11-22T20:30:28Z","updated_at":"2023-11-22T20:30:28Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9c417cece8654beeaf12c12886ff2424","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_53d649196d4942148b22e75ec29c46f2","object":"Rate","created_at":"2023-11-22T20:30:28Z","updated_at":"2023-11-22T20:30: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_9c417cece8654beeaf12c12886ff2424","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_4ef57bc74228494bba42c99b14466a2f","object":"Rate","created_at":"2023-11-22T20:30:28Z","updated_at":"2023-11-22T20:30: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_9c417cece8654beeaf12c12886ff2424","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_13d5ff45226e4959b5371e95209b554b","object":"Rate","created_at":"2023-11-22T20:30:29Z","updated_at":"2023-11-22T20:30:29Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9c417cece8654beeaf12c12886ff2424","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_9d1ef9b07424473dae63476d8a82cb04","object":"Tracker","mode":"test","tracking_code":"9400100105440282035886","status":"unknown","status_detail":"unknown","created_at":"2023-11-22T20:30:29Z","updated_at":"2023-11-22T20:30:29Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_9c417cece8654beeaf12c12886ff2424","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzlkMWVmOWIwNzQyNDQ3M2RhZTYzNDc2ZDhhODJjYjA0"},"to_address":{"id":"adr_f9972a53897511eebe00ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:28+00:00","updated_at":"2023-11-22T20:30:28+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_f9998c10897511ee8e55ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:28+00:00","updated_at":"2023-11-22T20:30:28+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_f9972a53897511eebe00ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:28+00:00","updated_at":"2023-11-22T20:30:28+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_9c417cece8654beeaf12c12886ff2424","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:28Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196740","updated_at":"2024-08-14T17:39:29Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_2828613c5a6411efba4d3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:28+00:00","updated_at":"2024-08-14T17:39:28+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_4fb0e8a6ba5c43a8abd333d36adb99ff","object":"Parcel","created_at":"2024-08-14T17:39:28Z","updated_at":"2024-08-14T17:39:28Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_c7f657c454d7460b99a6f9218da17503","created_at":"2024-08-14T17:39:29Z","updated_at":"2024-08-14T17:39:29Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39:29Z","label_resolution":300,"label_size":"4x6","label_type":"default","label_file_type":"image\/png","label_url":"https:\/\/easypost-files.s3.us-west-2.amazonaws.com\/files\/postage_label\/20240814\/e8bbc692c1ad734a53b34f3515e549ce0d.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_ff38eb8717764b51883d7a6931e1fda1","object":"Rate","created_at":"2024-08-14T17:39:29Z","updated_at":"2024-08-14T17:39:29Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_a96dbe235d9c47398d9b7981c128a6d3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_f2ab6e3e536841008c203768d107fee9","object":"Rate","created_at":"2024-08-14T17:39:29Z","updated_at":"2024-08-14T17:39:29Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_a96dbe235d9c47398d9b7981c128a6d3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_690314791d5d4523aa5be5b79cb72b6d","object":"Rate","created_at":"2024-08-14T17:39:29Z","updated_at":"2024-08-14T17:39:29Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_a96dbe235d9c47398d9b7981c128a6d3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_f2ab6e3e536841008c203768d107fee9","object":"Rate","created_at":"2024-08-14T17:39:29Z","updated_at":"2024-08-14T17:39:29Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_a96dbe235d9c47398d9b7981c128a6d3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_3b321dfe2efa4539958695667175d318","object":"Tracker","mode":"test","tracking_code":"9400100105807075196740","status":"unknown","status_detail":"unknown","created_at":"2024-08-14T17:39:29Z","updated_at":"2024-08-14T17:39:29Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_a96dbe235d9c47398d9b7981c128a6d3","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzNiMzIxZGZlMmVmYTQ1Mzk5NTg2OTU2NjcxNzVkMzE4"},"to_address":{"id":"adr_28234a815a6411efba4a3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:28+00:00","updated_at":"2024-08-14T17:39:29+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_2828613c5a6411efba4d3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:28+00:00","updated_at":"2024-08-14T17:39:28+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_28234a815a6411efba4a3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:28+00:00","updated_at":"2024-08-14T17:39:29+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_a96dbe235d9c47398d9b7981c128a6d3","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 778 - request_size: 861 + header_size: 760 + request_size: 871 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.238418 - namelookup_time: 0.001554 - connect_time: 0.065159 - pretransfer_time: 0.130945 - size_upload: 553.0 - size_download: 7619.0 - speed_download: 6152.0 - speed_upload: 446.0 - download_content_length: 7619.0 - upload_content_length: 553.0 - starttransfer_time: 1.237885 + total_time: 1.202174 + namelookup_time: 0.00369 + connect_time: 0.03702 + pretransfer_time: 0.072735 + size_upload: 563.0 + size_download: 6549.0 + speed_download: 5447.0 + speed_upload: 468.0 + download_content_length: 6549.0 + upload_content_length: 563.0 + starttransfer_time: 1.201883 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53445 + local_ip: 192.168.1.75 + local_port: 52652 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 130917 - connect_time_us: 65159 - namelookup_time_us: 1554 - pretransfer_time_us: 130945 + scheme: https + appconnect_time_us: 72669 + connect_time_us: 37020 + namelookup_time_us: 3690 + pretransfer_time_us: 72735 redirect_time_us: 0 - starttransfer_time_us: 1237885 - total_time_us: 1238418 + starttransfer_time_us: 1201883 + total_time_us: 1202174 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/shipments/shp_9c417cece8654beeaf12c12886ff2424/label?file_format=ZPL' + url: 'https://api.easypost.com/v2/shipments/shp_a96dbe235d9c47398d9b7981c128a6d3/label?file_format=ZPL' headers: Host: api.easypost.com Accept-Encoding: '' @@ -91,8 +92,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -101,21 +101,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911b655e64e5e7885943001fc4ef + x-ep-request-uuid: e181587666bcebd2e2b8fb950086d154 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '8862' - x-runtime: '1.461084' - x-node: bigweb42nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '7792' + x-runtime: '1.429592' + x-node: bigweb40nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:28Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105440282035886","updated_at":"2023-11-22T20:30:29Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_f9998c10897511ee8e55ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:28+00:00","updated_at":"2023-11-22T20:30:28+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_c66df5af2e9c4943b0379a3a95d3c321","object":"Parcel","created_at":"2023-11-22T20:30:28Z","updated_at":"2023-11-22T20:30:28Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_5e777fe3ba7645c68f5ce7c97c48d17f","created_at":"2023-11-22T20:30:29Z","updated_at":"2023-11-22T20:30:31Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:30:29Z","label_resolution":300,"label_size":"4x6","label_type":"default","label_file_type":"image\/png","label_url":"https:\/\/easypost-files.s3.us-west-2.amazonaws.com\/files\/postage_label\/20231122\/e89f6209d3ad774f0381798563f1e2585e.png","label_pdf_url":null,"label_zpl_url":"https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/files\/postage_label\/20231122\/497bd6c385254286a9a8263df99418d9.zpl","label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_4a16e90cbfbe4fc298ea2293b8c13dc1","object":"Rate","created_at":"2023-11-22T20:30:28Z","updated_at":"2023-11-22T20:30:28Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9c417cece8654beeaf12c12886ff2424","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_13d5ff45226e4959b5371e95209b554b","object":"Rate","created_at":"2023-11-22T20:30:28Z","updated_at":"2023-11-22T20:30:28Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9c417cece8654beeaf12c12886ff2424","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_24adb30a09404a4db35eac84fa5f1d0c","object":"Rate","created_at":"2023-11-22T20:30:28Z","updated_at":"2023-11-22T20:30:28Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9c417cece8654beeaf12c12886ff2424","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_53d649196d4942148b22e75ec29c46f2","object":"Rate","created_at":"2023-11-22T20:30:28Z","updated_at":"2023-11-22T20:30: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_9c417cece8654beeaf12c12886ff2424","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_4ef57bc74228494bba42c99b14466a2f","object":"Rate","created_at":"2023-11-22T20:30:28Z","updated_at":"2023-11-22T20:30: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_9c417cece8654beeaf12c12886ff2424","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_13d5ff45226e4959b5371e95209b554b","object":"Rate","created_at":"2023-11-22T20:30:29Z","updated_at":"2023-11-22T20:30:29Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9c417cece8654beeaf12c12886ff2424","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_9d1ef9b07424473dae63476d8a82cb04","object":"Tracker","mode":"test","tracking_code":"9400100105440282035886","status":"pre_transit","status_detail":"status_update","created_at":"2023-11-22T20:30:29Z","updated_at":"2023-11-22T20:30:29Z","signed_by":null,"weight":null,"est_delivery_date":"2023-11-22T20:30:29Z","shipment_id":"shp_9c417cece8654beeaf12c12886ff2424","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:30: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-10-23T09:07:29Z","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\/djE6dHJrXzlkMWVmOWIwNzQyNDQ3M2RhZTYzNDc2ZDhhODJjYjA0"},"to_address":{"id":"adr_f9972a53897511eebe00ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:28+00:00","updated_at":"2023-11-22T20:30:28+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_f9998c10897511ee8e55ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:28+00:00","updated_at":"2023-11-22T20:30:28+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_f9972a53897511eebe00ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:28+00:00","updated_at":"2023-11-22T20:30:28+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_9c417cece8654beeaf12c12886ff2424","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:28Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196740","updated_at":"2024-08-14T17:39:29Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_2828613c5a6411efba4d3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:28+00:00","updated_at":"2024-08-14T17:39:28+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_4fb0e8a6ba5c43a8abd333d36adb99ff","object":"Parcel","created_at":"2024-08-14T17:39:28Z","updated_at":"2024-08-14T17:39:28Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_c7f657c454d7460b99a6f9218da17503","created_at":"2024-08-14T17:39:29Z","updated_at":"2024-08-14T17:39:31Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39:29Z","label_resolution":300,"label_size":"4x6","label_type":"default","label_file_type":"image\/png","label_url":"https:\/\/easypost-files.s3.us-west-2.amazonaws.com\/files\/postage_label\/20240814\/e8bbc692c1ad734a53b34f3515e549ce0d.png","label_pdf_url":null,"label_zpl_url":"https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/files\/postage_label\/20240814\/6f5558f42a214797a3e92bbd19f41bad.zpl","label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_ff38eb8717764b51883d7a6931e1fda1","object":"Rate","created_at":"2024-08-14T17:39:29Z","updated_at":"2024-08-14T17:39:29Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_a96dbe235d9c47398d9b7981c128a6d3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_f2ab6e3e536841008c203768d107fee9","object":"Rate","created_at":"2024-08-14T17:39:29Z","updated_at":"2024-08-14T17:39:29Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_a96dbe235d9c47398d9b7981c128a6d3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_690314791d5d4523aa5be5b79cb72b6d","object":"Rate","created_at":"2024-08-14T17:39:29Z","updated_at":"2024-08-14T17:39:29Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_a96dbe235d9c47398d9b7981c128a6d3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_f2ab6e3e536841008c203768d107fee9","object":"Rate","created_at":"2024-08-14T17:39:29Z","updated_at":"2024-08-14T17:39:29Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_a96dbe235d9c47398d9b7981c128a6d3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_3b321dfe2efa4539958695667175d318","object":"Tracker","mode":"test","tracking_code":"9400100105807075196740","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:29Z","updated_at":"2024-08-14T17:39:29Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:39:29Z","shipment_id":"shp_a96dbe235d9c47398d9b7981c128a6d3","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:39: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":"2024-07-15T06:16:29Z","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\/djE6dHJrXzNiMzIxZGZlMmVmYTQ1Mzk5NTg2OTU2NjcxNzVkMzE4"},"to_address":{"id":"adr_28234a815a6411efba4a3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:28+00:00","updated_at":"2024-08-14T17:39:29+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_2828613c5a6411efba4d3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:28+00:00","updated_at":"2024-08-14T17:39:28+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_28234a815a6411efba4a3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:28+00:00","updated_at":"2024-08-14T17:39:29+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_a96dbe235d9c47398d9b7981c128a6d3","object":"Shipment"}' curl_info: - url: 'https://api.easypost.com/v2/shipments/shp_9c417cece8654beeaf12c12886ff2424/label?file_format=ZPL' + url: 'https://api.easypost.com/v2/shipments/shp_a96dbe235d9c47398d9b7981c128a6d3/label?file_format=ZPL' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 689 @@ -123,33 +123,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.656014 - namelookup_time: 0.001494 - connect_time: 0.063828 - pretransfer_time: 0.130686 + total_time: 1.534986 + namelookup_time: 0.004052 + connect_time: 0.033946 + pretransfer_time: 0.067431 size_upload: 0.0 - size_download: 8862.0 - speed_download: 5351.0 + size_download: 7792.0 + speed_download: 5076.0 speed_upload: 0.0 - download_content_length: 8862.0 + download_content_length: 7792.0 upload_content_length: 0.0 - starttransfer_time: 1.655929 + starttransfer_time: 1.53459 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53446 + local_ip: 192.168.1.75 + local_port: 52653 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 130660 - connect_time_us: 63828 - namelookup_time_us: 1494 - pretransfer_time_us: 130686 + scheme: https + appconnect_time_us: 67374 + connect_time_us: 33946 + namelookup_time_us: 4052 + pretransfer_time_us: 67431 redirect_time_us: 0 - starttransfer_time_us: 1655929 - total_time_us: 1656014 + starttransfer_time_us: 1534590 + total_time_us: 1534986 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/shipments/convertLabelUnwrappedParam.yml b/test/cassettes/shipments/convertLabelUnwrappedParam.yml index bb5a7b8d..7402b9da 100644 --- a/test/cassettes/shipments/convertLabelUnwrappedParam.yml +++ b/test/cassettes/shipments/convertLabelUnwrappedParam.yml @@ -11,11 +11,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"First","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' + body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"GroundAdvantage","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,63 +23,66 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef9120655e64e1e7885940001fbf72 + x-ep-request-uuid: e181587666bcebd3e2b8fb960086d2cb cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_57ef75881c0c4bc58c552f02b3c2f50f + location: /api/v2/shipments/shp_23808cc1f36c411d8bc1558ba9a65c33 content-type: 'application/json; charset=utf-8' - content-length: '7619' - x-runtime: '0.909069' - x-node: bigweb34nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '6549' + x-runtime: '1.133145' + x-node: bigweb38nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:25Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105440282035862","updated_at":"2023-11-22T20:30:26Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_f7da3f36897511ee8c1f3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:25+00:00","updated_at":"2023-11-22T20:30:25+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_34728504d9e744cca5e7c47d77c5492c","object":"Parcel","created_at":"2023-11-22T20:30:25Z","updated_at":"2023-11-22T20:30:25Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_042221dfef2444ddba0132297315867e","created_at":"2023-11-22T20:30:26Z","updated_at":"2023-11-22T20:30:26Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:30: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\/20231122\/e8bf214efd1dcc4b6a9552310b13d4d2f5.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_110fa303c66c4ebab39462409b1403da","object":"Rate","created_at":"2023-11-22T20:30:25Z","updated_at":"2023-11-22T20:30: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_57ef75881c0c4bc58c552f02b3c2f50f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_37b0b57474514ab3ae2bbe064b03f96b","object":"Rate","created_at":"2023-11-22T20:30:25Z","updated_at":"2023-11-22T20:30: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_57ef75881c0c4bc58c552f02b3c2f50f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_797828ee08ed4d73be9f7f68723d3e27","object":"Rate","created_at":"2023-11-22T20:30:25Z","updated_at":"2023-11-22T20:30:25Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_57ef75881c0c4bc58c552f02b3c2f50f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_8dd95d24818f48a5b2dca60782f24632","object":"Rate","created_at":"2023-11-22T20:30:25Z","updated_at":"2023-11-22T20:30:25Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_57ef75881c0c4bc58c552f02b3c2f50f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_eaa6b7fcf4ca41dd94a26effc12922fb","object":"Rate","created_at":"2023-11-22T20:30:25Z","updated_at":"2023-11-22T20:30:25Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_57ef75881c0c4bc58c552f02b3c2f50f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_8dd95d24818f48a5b2dca60782f24632","object":"Rate","created_at":"2023-11-22T20:30:26Z","updated_at":"2023-11-22T20:30:26Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_57ef75881c0c4bc58c552f02b3c2f50f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_336240890fcd48cfa1de88c7f008d317","object":"Tracker","mode":"test","tracking_code":"9400100105440282035862","status":"unknown","status_detail":"unknown","created_at":"2023-11-22T20:30:26Z","updated_at":"2023-11-22T20:30:26Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_57ef75881c0c4bc58c552f02b3c2f50f","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzMzNjI0MDg5MGZjZDQ4Y2ZhMWRlODhjN2YwMDhkMzE3"},"to_address":{"id":"adr_f7d7da20897511ee8c1a3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:25+00:00","updated_at":"2023-11-22T20:30:26+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_f7da3f36897511ee8c1f3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:25+00:00","updated_at":"2023-11-22T20:30:25+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_f7d7da20897511ee8c1a3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:25+00:00","updated_at":"2023-11-22T20:30:26+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_57ef75881c0c4bc58c552f02b3c2f50f","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:31Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196771","updated_at":"2024-08-14T17:39:32Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_29d2ec8b5a6411efbd30ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:31+00:00","updated_at":"2024-08-14T17:39:31+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_ca42f2ca4e8a4d0db8ecdd836785f057","object":"Parcel","created_at":"2024-08-14T17:39:31Z","updated_at":"2024-08-14T17:39:31Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_9ce45e68bca046479d3eee2826058299","created_at":"2024-08-14T17:39:32Z","updated_at":"2024-08-14T17:39:32Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e8f5d48f6f72154970a580b07a53420564.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_09a20798e45842dcbaf1ea9c408ee248","object":"Rate","created_at":"2024-08-14T17:39:31Z","updated_at":"2024-08-14T17:39:31Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_23808cc1f36c411d8bc1558ba9a65c33","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_f2273476bb85478983fb735841591997","object":"Rate","created_at":"2024-08-14T17:39:31Z","updated_at":"2024-08-14T17:39:31Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_23808cc1f36c411d8bc1558ba9a65c33","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_b39177d129d249b88b23de26eacf25b7","object":"Rate","created_at":"2024-08-14T17:39:31Z","updated_at":"2024-08-14T17:39:31Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_23808cc1f36c411d8bc1558ba9a65c33","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_b39177d129d249b88b23de26eacf25b7","object":"Rate","created_at":"2024-08-14T17:39:32Z","updated_at":"2024-08-14T17:39:32Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_23808cc1f36c411d8bc1558ba9a65c33","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_fa63f8a9c6b546b293ff850e5693e6f6","object":"Tracker","mode":"test","tracking_code":"9400100105807075196771","status":"unknown","status_detail":"unknown","created_at":"2024-08-14T17:39:32Z","updated_at":"2024-08-14T17:39:32Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_23808cc1f36c411d8bc1558ba9a65c33","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2ZhNjNmOGE5YzZiNTQ2YjI5M2ZmODUwZTU2OTNlNmY2"},"to_address":{"id":"adr_29d057d75a6411efbb8f3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:31+00:00","updated_at":"2024-08-14T17:39:31+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_29d2ec8b5a6411efbd30ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:31+00:00","updated_at":"2024-08-14T17:39:31+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_29d057d75a6411efbb8f3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:31+00:00","updated_at":"2024-08-14T17:39:31+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_23808cc1f36c411d8bc1558ba9a65c33","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' http_code: 201 header_size: 760 - request_size: 861 + request_size: 871 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.105163 - namelookup_time: 0.002286 - connect_time: 0.066148 - pretransfer_time: 0.130249 - size_upload: 553.0 - size_download: 7619.0 - speed_download: 6894.0 - speed_upload: 500.0 - download_content_length: 7619.0 - upload_content_length: 553.0 - starttransfer_time: 1.104632 + total_time: 1.242133 + namelookup_time: 0.002534 + connect_time: 0.035998 + pretransfer_time: 0.071462 + size_upload: 563.0 + size_download: 6549.0 + speed_download: 5272.0 + speed_upload: 453.0 + download_content_length: 6549.0 + upload_content_length: 563.0 + starttransfer_time: 1.242109 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53443 + local_ip: 192.168.1.75 + local_port: 52654 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 130203 - connect_time_us: 66148 - namelookup_time_us: 2286 - pretransfer_time_us: 130249 + scheme: https + appconnect_time_us: 71421 + connect_time_us: 35998 + namelookup_time_us: 2534 + pretransfer_time_us: 71462 redirect_time_us: 0 - starttransfer_time_us: 1104632 - total_time_us: 1105163 + starttransfer_time_us: 1242109 + total_time_us: 1242133 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/shipments/shp_57ef75881c0c4bc58c552f02b3c2f50f/label?file_format=ZPL' + url: 'https://api.easypost.com/v2/shipments/shp_23808cc1f36c411d8bc1558ba9a65c33/label?file_format=ZPL' headers: Host: api.easypost.com Accept-Encoding: '' @@ -90,8 +92,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -100,22 +101,22 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911a655e64e2e7885941001fc113 + x-ep-request-uuid: e181587b66bcebd4e2b8fb970086d3fc cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '8862' - x-runtime: '1.394367' - x-node: bigweb32nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '7792' + x-runtime: '1.626085' + x-node: bigweb43nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost x-canary: direct - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:25Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105440282035862","updated_at":"2023-11-22T20:30:26Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_f7da3f36897511ee8c1f3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:25+00:00","updated_at":"2023-11-22T20:30:25+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_34728504d9e744cca5e7c47d77c5492c","object":"Parcel","created_at":"2023-11-22T20:30:25Z","updated_at":"2023-11-22T20:30:25Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_042221dfef2444ddba0132297315867e","created_at":"2023-11-22T20:30:26Z","updated_at":"2023-11-22T20:30:28Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:30: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\/20231122\/e8bf214efd1dcc4b6a9552310b13d4d2f5.png","label_pdf_url":null,"label_zpl_url":"https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/files\/postage_label\/20231122\/4fdc729ac8ac499385b51eda9ddbfc62.zpl","label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_110fa303c66c4ebab39462409b1403da","object":"Rate","created_at":"2023-11-22T20:30:25Z","updated_at":"2023-11-22T20:30: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_57ef75881c0c4bc58c552f02b3c2f50f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_37b0b57474514ab3ae2bbe064b03f96b","object":"Rate","created_at":"2023-11-22T20:30:25Z","updated_at":"2023-11-22T20:30: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_57ef75881c0c4bc58c552f02b3c2f50f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_797828ee08ed4d73be9f7f68723d3e27","object":"Rate","created_at":"2023-11-22T20:30:25Z","updated_at":"2023-11-22T20:30:25Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_57ef75881c0c4bc58c552f02b3c2f50f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_8dd95d24818f48a5b2dca60782f24632","object":"Rate","created_at":"2023-11-22T20:30:25Z","updated_at":"2023-11-22T20:30:25Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_57ef75881c0c4bc58c552f02b3c2f50f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_eaa6b7fcf4ca41dd94a26effc12922fb","object":"Rate","created_at":"2023-11-22T20:30:25Z","updated_at":"2023-11-22T20:30:25Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_57ef75881c0c4bc58c552f02b3c2f50f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_8dd95d24818f48a5b2dca60782f24632","object":"Rate","created_at":"2023-11-22T20:30:26Z","updated_at":"2023-11-22T20:30:26Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_57ef75881c0c4bc58c552f02b3c2f50f","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_336240890fcd48cfa1de88c7f008d317","object":"Tracker","mode":"test","tracking_code":"9400100105440282035862","status":"pre_transit","status_detail":"status_update","created_at":"2023-11-22T20:30:26Z","updated_at":"2023-11-22T20:30:26Z","signed_by":null,"weight":null,"est_delivery_date":"2023-11-22T20:30:26Z","shipment_id":"shp_57ef75881c0c4bc58c552f02b3c2f50f","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:30:26Z","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-10-23T09:07:26Z","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\/djE6dHJrXzMzNjI0MDg5MGZjZDQ4Y2ZhMWRlODhjN2YwMDhkMzE3"},"to_address":{"id":"adr_f7d7da20897511ee8c1a3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:25+00:00","updated_at":"2023-11-22T20:30:26+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_f7da3f36897511ee8c1f3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:25+00:00","updated_at":"2023-11-22T20:30:25+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_f7d7da20897511ee8c1a3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:25+00:00","updated_at":"2023-11-22T20:30:26+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_57ef75881c0c4bc58c552f02b3c2f50f","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:31Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196771","updated_at":"2024-08-14T17:39:32Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_29d2ec8b5a6411efbd30ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:31+00:00","updated_at":"2024-08-14T17:39:31+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_ca42f2ca4e8a4d0db8ecdd836785f057","object":"Parcel","created_at":"2024-08-14T17:39:31Z","updated_at":"2024-08-14T17:39:31Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_9ce45e68bca046479d3eee2826058299","created_at":"2024-08-14T17:39:32Z","updated_at":"2024-08-14T17:39:34Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e8f5d48f6f72154970a580b07a53420564.png","label_pdf_url":null,"label_zpl_url":"https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/files\/postage_label\/20240814\/124c3ff609cd418ba7255bcae762a1d9.zpl","label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_09a20798e45842dcbaf1ea9c408ee248","object":"Rate","created_at":"2024-08-14T17:39:31Z","updated_at":"2024-08-14T17:39:31Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_23808cc1f36c411d8bc1558ba9a65c33","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_f2273476bb85478983fb735841591997","object":"Rate","created_at":"2024-08-14T17:39:31Z","updated_at":"2024-08-14T17:39:31Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_23808cc1f36c411d8bc1558ba9a65c33","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_b39177d129d249b88b23de26eacf25b7","object":"Rate","created_at":"2024-08-14T17:39:31Z","updated_at":"2024-08-14T17:39:31Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_23808cc1f36c411d8bc1558ba9a65c33","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_b39177d129d249b88b23de26eacf25b7","object":"Rate","created_at":"2024-08-14T17:39:32Z","updated_at":"2024-08-14T17:39:32Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_23808cc1f36c411d8bc1558ba9a65c33","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_fa63f8a9c6b546b293ff850e5693e6f6","object":"Tracker","mode":"test","tracking_code":"9400100105807075196771","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:32Z","updated_at":"2024-08-14T17:39:32Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:39:32Z","shipment_id":"shp_23808cc1f36c411d8bc1558ba9a65c33","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:39: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":"2024-07-15T06:16:32Z","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\/djE6dHJrX2ZhNjNmOGE5YzZiNTQ2YjI5M2ZmODUwZTU2OTNlNmY2"},"to_address":{"id":"adr_29d057d75a6411efbb8f3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:31+00:00","updated_at":"2024-08-14T17:39:31+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_29d2ec8b5a6411efbd30ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:31+00:00","updated_at":"2024-08-14T17:39:31+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_29d057d75a6411efbb8f3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:31+00:00","updated_at":"2024-08-14T17:39:31+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_23808cc1f36c411d8bc1558ba9a65c33","object":"Shipment"}' curl_info: - url: 'https://api.easypost.com/v2/shipments/shp_57ef75881c0c4bc58c552f02b3c2f50f/label?file_format=ZPL' + url: 'https://api.easypost.com/v2/shipments/shp_23808cc1f36c411d8bc1558ba9a65c33/label?file_format=ZPL' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 707 @@ -123,33 +124,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.588618 - namelookup_time: 0.001188 - connect_time: 0.062499 - pretransfer_time: 0.12524 + total_time: 1.723952 + namelookup_time: 0.00193 + connect_time: 0.031369 + pretransfer_time: 0.063835 size_upload: 0.0 - size_download: 8862.0 - speed_download: 5578.0 + size_download: 7792.0 + speed_download: 4519.0 speed_upload: 0.0 - download_content_length: 8862.0 + download_content_length: 7792.0 upload_content_length: 0.0 - starttransfer_time: 1.588589 + starttransfer_time: 1.723906 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53444 + local_ip: 192.168.1.75 + local_port: 52655 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 125212 - connect_time_us: 62499 - namelookup_time_us: 1188 - pretransfer_time_us: 125240 + scheme: https + appconnect_time_us: 63797 + connect_time_us: 31369 + namelookup_time_us: 1930 + pretransfer_time_us: 63835 redirect_time_us: 0 - starttransfer_time_us: 1588589 - total_time_us: 1588618 + starttransfer_time_us: 1723906 + total_time_us: 1723952 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/shipments/create.yml b/test/cassettes/shipments/create.yml index 1a4bee48..56766609 100644 --- a/test/cassettes/shipments/create.yml +++ b/test/cassettes/shipments/create.yml @@ -14,8 +14,7 @@ body: '{"shipment":{"from_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"to_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"customs_info":{"eel_pfc":"NOEEI 30.37(a)","customs_certify":"true","customs_signer":"Steve Brule","contents_type":"merchandise","restriction_type":"none","non_delivery_option":"return","customs_items":[{"description":"Sweet shirts","quantity":"2","weight":"11","value":"23.25","hs_tariff_number":"654321","origin_country":"US"}]},"options":{"label_format":"PNG","invoice_number":"123"},"reference":"123"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,56 +23,60 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911d655e64c9e78858dc001fa031 + x-ep-request-uuid: e181587a66bcebdee2b8fbbb0086dc43 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_3a5eaf2f2293421f963799d803e936d3 + location: /api/v2/shipments/shp_93a62c81b04d40f8a299aa4c8789798b content-type: 'application/json; charset=utf-8' - content-length: '7096' - x-runtime: '0.437914' - x-node: bigweb38nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '6016' + x-runtime: '0.418351' + x-node: bigweb43nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-canary: direct + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:01Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":null,"updated_at":"2023-11-22T20:30:02Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_746e7686010141de8734de35060aa96e","object":"CustomsInfo","created_at":"2023-11-22T20:30:01Z","updated_at":"2023-11-22T20:30:01Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_be9186c82bf946dfa55ad20ccd90babe","object":"CustomsItem","created_at":"2023-11-22T20:30:01Z","updated_at":"2023-11-22T20:30:01Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_e9860345897511ee94abac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:30:01+00:00","updated_at":"2023-11-22T20:30:01+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_e8b779b1312e408bbf4c3e2490201fdc","object":"Parcel","created_at":"2023-11-22T20:30:01Z","updated_at":"2023-11-22T20:30:01Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_a21f0c6865c5423296f6926ab351f89f","object":"Rate","created_at":"2023-11-22T20:30:02Z","updated_at":"2023-11-22T20:30:02Z","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_3a5eaf2f2293421f963799d803e936d3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_815f26de9e8f42e39429cf7c868b14f4","object":"Rate","created_at":"2023-11-22T20:30:02Z","updated_at":"2023-11-22T20:30:02Z","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_3a5eaf2f2293421f963799d803e936d3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_8bfca9c0717646ffb7ae9c6137ec26e3","object":"Rate","created_at":"2023-11-22T20:30:02Z","updated_at":"2023-11-22T20:30:02Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_3a5eaf2f2293421f963799d803e936d3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_6edbe1731a7a4db5b0f3e2dd8bd11ec3","object":"Rate","created_at":"2023-11-22T20:30:02Z","updated_at":"2023-11-22T20:30:02Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_3a5eaf2f2293421f963799d803e936d3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_ebeb448dc3774341b6f8b9b9c9806df3","object":"Rate","created_at":"2023-11-22T20:30:02Z","updated_at":"2023-11-22T20:30:02Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_3a5eaf2f2293421f963799d803e936d3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_e9839830897511ee83cdac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:01+00:00","updated_at":"2023-11-22T20:30:01+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_e9860345897511ee94abac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:30:01+00:00","updated_at":"2023-11-22T20:30:01+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":[]},"buyer_address":{"id":"adr_e9839830897511ee83cdac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:01+00:00","updated_at":"2023-11-22T20:30:01+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_3a5eaf2f2293421f963799d803e936d3","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:43Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:39:43Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_29ba277284004298b667a9e47e08c7ea","object":"CustomsInfo","created_at":"2024-08-14T17:39:43Z","updated_at":"2024-08-14T17:39:43Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_d6a21df3793b4b298e5494e15e74265a","object":"CustomsItem","created_at":"2024-08-14T17:39:43Z","updated_at":"2024-08-14T17:39:43Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_3096633a5a6411ef9e95ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:43+00:00","updated_at":"2024-08-14T17:39:43+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_564fd68b92e14970b669872ac5a9b206","object":"Parcel","created_at":"2024-08-14T17:39:43Z","updated_at":"2024-08-14T17:39:43Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_f0982d67209a4c8289feb27dfe899cde","object":"Rate","created_at":"2024-08-14T17:39:43Z","updated_at":"2024-08-14T17:39:43Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_93a62c81b04d40f8a299aa4c8789798b","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_07df341ffa2d4ac799c40936a920f0ce","object":"Rate","created_at":"2024-08-14T17:39:43Z","updated_at":"2024-08-14T17:39:43Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_93a62c81b04d40f8a299aa4c8789798b","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_93a6747c01e74962ae4436e4b9efe3be","object":"Rate","created_at":"2024-08-14T17:39:43Z","updated_at":"2024-08-14T17:39:43Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_93a62c81b04d40f8a299aa4c8789798b","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_309434d45a6411efb167ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:43+00:00","updated_at":"2024-08-14T17:39:43+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_3096633a5a6411ef9e95ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:43+00:00","updated_at":"2024-08-14T17:39:43+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":[]},"buyer_address":{"id":"adr_309434d45a6411efb167ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:43+00:00","updated_at":"2024-08-14T17:39:43+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_93a62c81b04d40f8a299aa4c8789798b","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 760 + header_size: 778 request_size: 1172 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.639541 - namelookup_time: 0.00158 - connect_time: 0.064117 - pretransfer_time: 0.130093 + total_time: 0.528851 + namelookup_time: 0.002121 + connect_time: 0.035117 + pretransfer_time: 0.073706 size_upload: 864.0 - size_download: 7096.0 - speed_download: 11095.0 - speed_upload: 1350.0 - download_content_length: 7096.0 + size_download: 6016.0 + speed_download: 11375.0 + speed_upload: 1633.0 + download_content_length: 6016.0 upload_content_length: 864.0 - starttransfer_time: 0.63922 + starttransfer_time: 0.528748 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53412 + local_ip: 192.168.1.75 + local_port: 52668 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 130063 - connect_time_us: 64117 - namelookup_time_us: 1580 - pretransfer_time_us: 130093 + scheme: https + appconnect_time_us: 73586 + connect_time_us: 35117 + namelookup_time_us: 2121 + pretransfer_time_us: 73706 redirect_time_us: 0 - starttransfer_time_us: 639220 - total_time_us: 639541 + starttransfer_time_us: 528748 + total_time_us: 528851 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/shipments/createEmptyObjects.yml b/test/cassettes/shipments/createEmptyObjects.yml index 4a37eb2f..caa20692 100644 --- a/test/cassettes/shipments/createEmptyObjects.yml +++ b/test/cassettes/shipments/createEmptyObjects.yml @@ -14,8 +14,7 @@ body: '{"shipment":{"from_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"to_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"customs_info":[]}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911a655e64d6e7885904001fb0a9 + x-ep-request-uuid: e181587766bcebe9e2b8fc1b0086e5db cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_a3b5db2be5c34358adaedf65f1805ea4 + location: /api/v2/shipments/shp_6c15864887e14d7ea40dfba30433b8fd content-type: 'application/json; charset=utf-8' - content-length: '6229' - x-runtime: '0.658940' - x-node: bigweb39nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '4984' + x-runtime: '0.657541' + x-node: bigweb33nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:14Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","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":"2023-11-22T20:30:15Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_f1221c3c897511ee9984ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:30:14+00:00","updated_at":"2023-11-22T20:30:14+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_5fe524db6055411dad7e20e431bfdd16","object":"Parcel","created_at":"2023-11-22T20:30:14Z","updated_at":"2023-11-22T20:30:14Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_87a6d849d14f496cae0de8d358de1b72","object":"Rate","created_at":"2023-11-22T20:30:15Z","updated_at":"2023-11-22T20:30:15Z","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_a3b5db2be5c34358adaedf65f1805ea4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_8f208dc4dbfb4cb8bef9f0be5744d48f","object":"Rate","created_at":"2023-11-22T20:30:15Z","updated_at":"2023-11-22T20:30:15Z","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_a3b5db2be5c34358adaedf65f1805ea4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_d1fa8ef8c0fd419bb2e492e6e724ff31","object":"Rate","created_at":"2023-11-22T20:30:15Z","updated_at":"2023-11-22T20:30:15Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_a3b5db2be5c34358adaedf65f1805ea4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_27232e7a819d451e9ff32b95a6adaad7","object":"Rate","created_at":"2023-11-22T20:30:15Z","updated_at":"2023-11-22T20:30:15Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_a3b5db2be5c34358adaedf65f1805ea4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_89d291e239cb465fa6e01360f4e37fd4","object":"Rate","created_at":"2023-11-22T20:30:15Z","updated_at":"2023-11-22T20:30:15Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_a3b5db2be5c34358adaedf65f1805ea4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_f11fcb75897511eeb87aac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:14+00:00","updated_at":"2023-11-22T20:30:14+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_f1221c3c897511ee9984ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:30:14+00:00","updated_at":"2023-11-22T20:30:14+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":[]},"buyer_address":{"id":"adr_f11fcb75897511eeb87aac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:14+00:00","updated_at":"2023-11-22T20:30:14+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_a3b5db2be5c34358adaedf65f1805ea4","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:53Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:39:53Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_36a50ec55a6411efa33fac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:53+00:00","updated_at":"2024-08-14T17:39:53+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_8920cc3d2e1d4a80a204cc59a338d193","object":"Parcel","created_at":"2024-08-14T17:39:53Z","updated_at":"2024-08-14T17:39:53Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_3a0c495fdd6549fa8a4d03103932d97d","object":"Rate","created_at":"2024-08-14T17:39:53Z","updated_at":"2024-08-14T17:39:53Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_6c15864887e14d7ea40dfba30433b8fd","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_25475d5fac984d8da0bc0ed9abd28452","object":"Rate","created_at":"2024-08-14T17:39:53Z","updated_at":"2024-08-14T17:39:53Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_6c15864887e14d7ea40dfba30433b8fd","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_bdc0f3bb4051444daf96a3c894bf9a37","object":"Rate","created_at":"2024-08-14T17:39:53Z","updated_at":"2024-08-14T17:39:53Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_6c15864887e14d7ea40dfba30433b8fd","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_36a2e4775a6411efa33dac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:53+00:00","updated_at":"2024-08-14T17:39:53+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_36a50ec55a6411efa33fac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:53+00:00","updated_at":"2024-08-14T17:39:53+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":[]},"buyer_address":{"id":"adr_36a2e4775a6411efa33dac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:53+00:00","updated_at":"2024-08-14T17:39:53+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_6c15864887e14d7ea40dfba30433b8fd","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' @@ -47,33 +46,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.86385 - namelookup_time: 0.001354 - connect_time: 0.065241 - pretransfer_time: 0.132387 + total_time: 0.766334 + namelookup_time: 0.002401 + connect_time: 0.035899 + pretransfer_time: 0.072365 size_upload: 477.0 - size_download: 6229.0 - speed_download: 7210.0 - speed_upload: 552.0 - download_content_length: 6229.0 + size_download: 4984.0 + speed_download: 6503.0 + speed_upload: 622.0 + download_content_length: 4984.0 upload_content_length: 477.0 - starttransfer_time: 0.858151 + starttransfer_time: 0.766256 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53429 + local_ip: 192.168.1.75 + local_port: 52695 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 132322 - connect_time_us: 65241 - namelookup_time_us: 1354 - pretransfer_time_us: 132387 + scheme: https + appconnect_time_us: 72288 + connect_time_us: 35899 + namelookup_time_us: 2401 + pretransfer_time_us: 72365 redirect_time_us: 0 - starttransfer_time_us: 858151 - total_time_us: 863850 + starttransfer_time_us: 766256 + total_time_us: 766334 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/shipments/createTaxIdentifiers.yml b/test/cassettes/shipments/createTaxIdentifiers.yml index dc9b77a4..68d0dbce 100644 --- a/test/cassettes/shipments/createTaxIdentifiers.yml +++ b/test/cassettes/shipments/createTaxIdentifiers.yml @@ -14,8 +14,7 @@ body: '{"shipment":{"from_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"to_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"tax_identifiers":[{"entity":"SENDER","tax_id_type":"IOSS","tax_id":"12345","issuing_country":"GB"}]}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911c655e64cae78858dd001fa0ee + x-ep-request-uuid: e181587666bcebe9e2b8fc1c0086e68f cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_4f9380601acf4ac38724fb5c5a901cb6 + location: /api/v2/shipments/shp_7cb9d1325ac64ce0b1ecc28cd30806b4 content-type: 'application/json; charset=utf-8' - content-length: '6331' - x-runtime: '0.730145' - x-node: bigweb34nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '5086' + x-runtime: '0.720735' + x-node: bigweb33nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:02Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","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":"2023-11-22T20:30:03Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_e9ef70f6897511ee83123cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:02+00:00","updated_at":"2023-11-22T20:30:02+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_0977038703df499bada55c6c778e4507","object":"Parcel","created_at":"2023-11-22T20:30:02Z","updated_at":"2023-11-22T20:30:02Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_7bffba617f39419f9023eaf3c9bdaf6a","object":"Rate","created_at":"2023-11-22T20:30:02Z","updated_at":"2023-11-22T20:30:02Z","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_4f9380601acf4ac38724fb5c5a901cb6","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_996979471a5d42f9aabe474d69b32e71","object":"Rate","created_at":"2023-11-22T20:30:03Z","updated_at":"2023-11-22T20:30:03Z","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_4f9380601acf4ac38724fb5c5a901cb6","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_cade4d80bced4ee88eb8a5a646e50af6","object":"Rate","created_at":"2023-11-22T20:30:03Z","updated_at":"2023-11-22T20:30:03Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_4f9380601acf4ac38724fb5c5a901cb6","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_ca69664827124bc78fe21bf61be84fd4","object":"Rate","created_at":"2023-11-22T20:30:03Z","updated_at":"2023-11-22T20:30:03Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_4f9380601acf4ac38724fb5c5a901cb6","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_d25efe5514e74998890ec1f9a9c59bdf","object":"Rate","created_at":"2023-11-22T20:30:03Z","updated_at":"2023-11-22T20:30:03Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_4f9380601acf4ac38724fb5c5a901cb6","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_e9eca609897511eeb3ecac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:02+00:00","updated_at":"2023-11-22T20:30:02+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_e9ef70f6897511ee83123cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:02+00:00","updated_at":"2023-11-22T20:30:02+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":[]},"buyer_address":{"id":"adr_e9eca609897511eeb3ecac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:02+00:00","updated_at":"2023-11-22T20:30:02+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_4f9380601acf4ac38724fb5c5a901cb6","object":"Shipment","tax_identifiers":[{"entity":"SENDER","tax_id":"HIDDEN","tax_id_type":"IOSS","issuing_country":"GB"}]}' + body: '{"created_at":"2024-08-14T17:39:53Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:39:54Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_371bbbdf5a6411efa37dac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:53+00:00","updated_at":"2024-08-14T17:39:53+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_21901e55bd274ce3aff064c0864e9df8","object":"Parcel","created_at":"2024-08-14T17:39:53Z","updated_at":"2024-08-14T17:39:53Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_b3403f77c4a6491e99a692abea2e5543","object":"Rate","created_at":"2024-08-14T17:39:54Z","updated_at":"2024-08-14T17:39:54Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_7cb9d1325ac64ce0b1ecc28cd30806b4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_cac3085f038c4890b49b2bdd865a30ad","object":"Rate","created_at":"2024-08-14T17:39:54Z","updated_at":"2024-08-14T17:39:54Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_7cb9d1325ac64ce0b1ecc28cd30806b4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_09246e7a88db47c79fc282693d60eb3c","object":"Rate","created_at":"2024-08-14T17:39:54Z","updated_at":"2024-08-14T17:39:54Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7cb9d1325ac64ce0b1ecc28cd30806b4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_3718725d5a6411ef83893cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:53+00:00","updated_at":"2024-08-14T17:39:53+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_371bbbdf5a6411efa37dac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:53+00:00","updated_at":"2024-08-14T17:39:53+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":[]},"buyer_address":{"id":"adr_3718725d5a6411ef83893cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:53+00:00","updated_at":"2024-08-14T17:39:53+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_7cb9d1325ac64ce0b1ecc28cd30806b4","object":"Shipment","tax_identifiers":[{"entity":"SENDER","tax_id":"HIDDEN","tax_id_type":"IOSS","issuing_country":"GB"}]}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' @@ -47,33 +46,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.966929 - namelookup_time: 0.001383 - connect_time: 0.07217 - pretransfer_time: 0.160309 + total_time: 0.822255 + namelookup_time: 0.002991 + connect_time: 0.032277 + pretransfer_time: 0.065659 size_upload: 560.0 - size_download: 6331.0 - speed_download: 6547.0 - speed_upload: 579.0 - download_content_length: 6331.0 + size_download: 5086.0 + speed_download: 6185.0 + speed_upload: 681.0 + download_content_length: 5086.0 upload_content_length: 560.0 - starttransfer_time: 0.966633 + starttransfer_time: 0.822121 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53413 + local_ip: 192.168.1.75 + local_port: 52696 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 160246 - connect_time_us: 72170 - namelookup_time_us: 1383 - pretransfer_time_us: 160309 + scheme: https + appconnect_time_us: 65551 + connect_time_us: 32277 + namelookup_time_us: 2991 + pretransfer_time_us: 65659 redirect_time_us: 0 - starttransfer_time_us: 966633 - total_time_us: 966929 + starttransfer_time_us: 822121 + total_time_us: 822255 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/shipments/createWithIds.yml b/test/cassettes/shipments/createWithIds.yml index 658a28c6..6fa94f98 100644 --- a/test/cassettes/shipments/createWithIds.yml +++ b/test/cassettes/shipments/createWithIds.yml @@ -14,8 +14,7 @@ body: '{"address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911f655e64dbe7885920001fb634 + x-ep-request-uuid: e181587866bcebdde2b8fbb70086db05 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/addresses/adr_f3e80627897511ee8a79ac1f6bc53342 + location: /api/v2/addresses/adr_2fc1f2ad5a6411efb0d5ac1f6bc53342 content-type: 'application/json; charset=utf-8' content-length: '461' - x-runtime: '0.033917' - x-node: bigweb40nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.037366' + x-node: bigweb36nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"adr_f3e80627897511ee8a79ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:19+00:00","updated_at":"2023-11-22T20:30:19+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":[]}' + body: '{"id":"adr_2fc1f2ad5a6411efb0d5ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:41+00:00","updated_at":"2024-08-14T17:39:41+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":[]}' curl_info: url: 'https://api.easypost.com/v2/addresses' content_type: 'application/json; charset=utf-8' @@ -47,35 +46,38 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.226545 - namelookup_time: 0.001601 - connect_time: 0.065517 - pretransfer_time: 0.128938 + total_time: 0.143396 + namelookup_time: 0.001906 + connect_time: 0.034745 + pretransfer_time: 0.069966 size_upload: 195.0 size_download: 461.0 - speed_download: 2034.0 - speed_upload: 860.0 + speed_download: 3214.0 + speed_upload: 1359.0 download_content_length: 461.0 upload_content_length: 195.0 - starttransfer_time: 0.226529 + starttransfer_time: 0.143372 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53434 + local_ip: 192.168.1.75 + local_port: 52664 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 128911 - connect_time_us: 65517 - namelookup_time_us: 1601 - pretransfer_time_us: 128938 + scheme: https + appconnect_time_us: 69923 + connect_time_us: 34745 + namelookup_time_us: 1906 + pretransfer_time_us: 69966 redirect_time_us: 0 - starttransfer_time_us: 226529 - total_time_us: 226545 + starttransfer_time_us: 143372 + total_time_us: 143396 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: @@ -92,8 +94,7 @@ body: '{"address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -102,20 +103,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911f655e64dbe7885921001fb684 + x-ep-request-uuid: e181587866bcebdde2b8fbb80086db21 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/addresses/adr_f40c4e95897511ee898d3cecef1b359e + location: /api/v2/addresses/adr_2fd924b85a6411efbfd4ac1f6bc539ae content-type: 'application/json; charset=utf-8' content-length: '461' - x-runtime: '0.034933' - x-node: bigweb35nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.032811' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"adr_f40c4e95897511ee898d3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:19+00:00","updated_at":"2023-11-22T20:30:19+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":[]}' + body: '{"id":"adr_2fd924b85a6411efbfd4ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:41+00:00","updated_at":"2024-08-14T17:39:41+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":[]}' curl_info: url: 'https://api.easypost.com/v2/addresses' content_type: 'application/json; charset=utf-8' @@ -125,35 +126,38 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.234748 - namelookup_time: 0.001129 - connect_time: 0.06484 - pretransfer_time: 0.13421 + total_time: 0.137893 + namelookup_time: 0.008784 + connect_time: 0.03838 + pretransfer_time: 0.071911 size_upload: 195.0 size_download: 461.0 - speed_download: 1963.0 - speed_upload: 830.0 + speed_download: 3343.0 + speed_upload: 1414.0 download_content_length: 461.0 upload_content_length: 195.0 - starttransfer_time: 0.234691 + starttransfer_time: 0.137831 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53435 + local_ip: 192.168.1.75 + local_port: 52665 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 134119 - connect_time_us: 64840 - namelookup_time_us: 1129 - pretransfer_time_us: 134210 + scheme: https + appconnect_time_us: 71852 + connect_time_us: 38380 + namelookup_time_us: 8784 + pretransfer_time_us: 71911 redirect_time_us: 0 - starttransfer_time_us: 234691 - total_time_us: 234748 + starttransfer_time_us: 137831 + total_time_us: 137893 + effective_method: POST + capath: '' + cainfo: '' index: 1 - request: @@ -170,8 +174,7 @@ body: '{"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -180,58 +183,62 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911c655e64dbe7885922001fb6d8 + x-ep-request-uuid: e181587b66bcebdde2b8fbb90086db3f cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/parcels/prcl_fc4ffea653cf4894b248529c9f79dfd8 + location: /api/v2/parcels/prcl_a1ab8cda515c4b25b5e7e4e10ae8d1f5 content-type: 'application/json; charset=utf-8' content-length: '229' - x-runtime: '0.036784' - x-node: bigweb31nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.030334' + x-node: bigweb32nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-canary: direct + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"prcl_fc4ffea653cf4894b248529c9f79dfd8","object":"Parcel","created_at":"2023-11-22T20:30:19Z","updated_at":"2023-11-22T20:30:19Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"}' + body: '{"id":"prcl_a1ab8cda515c4b25b5e7e4e10ae8d1f5","object":"Parcel","created_at":"2024-08-14T17:39:41Z","updated_at":"2024-08-14T17:39:41Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"}' curl_info: url: 'https://api.easypost.com/v2/parcels' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 758 + header_size: 776 request_size: 372 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.239547 - namelookup_time: 0.001242 - connect_time: 0.066117 - pretransfer_time: 0.13374 + total_time: 0.143172 + namelookup_time: 0.005514 + connect_time: 0.038859 + pretransfer_time: 0.076658 size_upload: 67.0 size_download: 229.0 - speed_download: 955.0 - speed_upload: 279.0 + speed_download: 1599.0 + speed_upload: 467.0 download_content_length: 229.0 upload_content_length: 67.0 - starttransfer_time: 0.239514 + starttransfer_time: 0.14312 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53436 + local_ip: 192.168.1.75 + local_port: 52666 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 133660 - connect_time_us: 66117 - namelookup_time_us: 1242 - pretransfer_time_us: 133740 + scheme: https + appconnect_time_us: 76589 + connect_time_us: 38859 + namelookup_time_us: 5514 + pretransfer_time_us: 76658 redirect_time_us: 0 - starttransfer_time_us: 239514 - total_time_us: 239547 + starttransfer_time_us: 143120 + total_time_us: 143172 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: @@ -245,11 +252,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"shipment":{"from_address":{"id":"adr_f3e80627897511ee8a79ac1f6bc53342"},"to_address":{"id":"adr_f40c4e95897511ee898d3cecef1b359e"},"parcel":{"id":"prcl_fc4ffea653cf4894b248529c9f79dfd8"}}}' + body: '{"shipment":{"from_address":{"id":"adr_2fc1f2ad5a6411efb0d5ac1f6bc53342"},"to_address":{"id":"adr_2fd924b85a6411efbfd4ac1f6bc539ae"},"parcel":{"id":"prcl_a1ab8cda515c4b25b5e7e4e10ae8d1f5"}}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -258,20 +264,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911c655e64dbe7885923001fb726 + x-ep-request-uuid: e181587c66bcebdee2b8fbba0086db5b cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_724e7c4fec104bc1bdeef9e6d103f6ca + location: /api/v2/shipments/shp_b7a68c91384544ac9d42c356fadd25ed content-type: 'application/json; charset=utf-8' - content-length: '6232' - x-runtime: '0.662455' - x-node: bigweb38nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '4988' + x-runtime: '0.794366' + x-node: bigweb40nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:19Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","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":"2023-11-22T20:30:20Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_f3e80627897511ee8a79ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:19+00:00","updated_at":"2023-11-22T20:30:19+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_fc4ffea653cf4894b248529c9f79dfd8","object":"Parcel","created_at":"2023-11-22T20:30:19Z","updated_at":"2023-11-22T20:30:19Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_1154a6d86f29405b911c5771b9169905","object":"Rate","created_at":"2023-11-22T20:30:20Z","updated_at":"2023-11-22T20:30:20Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.52","currency":"USD","retail_rate":"7.60","retail_currency":"USD","list_rate":"5.85","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_724e7c4fec104bc1bdeef9e6d103f6ca","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_a0e873326e4042438edd7dadf6d61f47","object":"Rate","created_at":"2023-11-22T20:30:20Z","updated_at":"2023-11-22T20:30:20Z","mode":"test","service":"First","carrier":"USPS","rate":"5.52","currency":"USD","retail_rate":"7.60","retail_currency":"USD","list_rate":"5.85","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_724e7c4fec104bc1bdeef9e6d103f6ca","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_a8f221d5a25a4085b3fd508aa53d5fd8","object":"Rate","created_at":"2023-11-22T20:30:20Z","updated_at":"2023-11-22T20:30:20Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.52","currency":"USD","retail_rate":"7.60","retail_currency":"USD","list_rate":"5.85","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_724e7c4fec104bc1bdeef9e6d103f6ca","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_760b5d7045754c4796547a040463f33f","object":"Rate","created_at":"2023-11-22T20:30:20Z","updated_at":"2023-11-22T20:30:20Z","mode":"test","service":"Express","carrier":"USPS","rate":"25.25","currency":"USD","retail_rate":"29.20","retail_currency":"USD","list_rate":"25.25","list_currency":"USD","billing_type":"easypost","delivery_days":null,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":null,"shipment_id":"shp_724e7c4fec104bc1bdeef9e6d103f6ca","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_80185758b64e4edca6866e459e6cb0a0","object":"Rate","created_at":"2023-11-22T20:30:20Z","updated_at":"2023-11-22T20:30:20Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.73","currency":"USD","retail_rate":"9.35","retail_currency":"USD","list_rate":"7.64","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_724e7c4fec104bc1bdeef9e6d103f6ca","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_f40c4e95897511ee898d3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:19+00:00","updated_at":"2023-11-22T20:30:19+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":[]},"usps_zone":1,"return_address":{"id":"adr_f3e80627897511ee8a79ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:19+00:00","updated_at":"2023-11-22T20:30:19+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":[]},"buyer_address":{"id":"adr_f40c4e95897511ee898d3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:19+00:00","updated_at":"2023-11-22T20:30:19+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":[]},"forms":[],"fees":[],"id":"shp_724e7c4fec104bc1bdeef9e6d103f6ca","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:42Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:39:42Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_2fc1f2ad5a6411efb0d5ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:41+00:00","updated_at":"2024-08-14T17:39:41+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_a1ab8cda515c4b25b5e7e4e10ae8d1f5","object":"Parcel","created_at":"2024-08-14T17:39:41Z","updated_at":"2024-08-14T17:39:41Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_5eac7134dd3d47daa44e54abee353cd8","object":"Rate","created_at":"2024-08-14T17:39:42Z","updated_at":"2024-08-14T17:39:42Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.52","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.17","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_b7a68c91384544ac9d42c356fadd25ed","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_799418b3d8af485a9bd1a698083d388f","object":"Rate","created_at":"2024-08-14T17:39:42Z","updated_at":"2024-08-14T17:39:42Z","mode":"test","service":"Express","carrier":"USPS","rate":"26.75","currency":"USD","retail_rate":"30.95","retail_currency":"USD","list_rate":"26.75","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_b7a68c91384544ac9d42c356fadd25ed","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_1a0776561a8b42739f38476aaf844b45","object":"Rate","created_at":"2024-08-14T17:39:42Z","updated_at":"2024-08-14T17:39:42Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.64","currency":"USD","retail_rate":"9.25","retail_currency":"USD","list_rate":"7.90","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_b7a68c91384544ac9d42c356fadd25ed","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_2fd924b85a6411efbfd4ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:41+00:00","updated_at":"2024-08-14T17:39:41+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":[]},"usps_zone":1,"return_address":{"id":"adr_2fc1f2ad5a6411efb0d5ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:41+00:00","updated_at":"2024-08-14T17:39:41+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":[]},"buyer_address":{"id":"adr_2fd924b85a6411efbfd4ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:41+00:00","updated_at":"2024-08-14T17:39:41+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":[]},"forms":[],"fees":[],"id":"shp_b7a68c91384544ac9d42c356fadd25ed","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' @@ -281,33 +287,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.861202 - namelookup_time: 0.001067 - connect_time: 0.06435 - pretransfer_time: 0.132216 + total_time: 0.909706 + namelookup_time: 0.005263 + connect_time: 0.038823 + pretransfer_time: 0.077991 size_upload: 190.0 - size_download: 6232.0 - speed_download: 7236.0 - speed_upload: 220.0 - download_content_length: 6232.0 + size_download: 4988.0 + speed_download: 5483.0 + speed_upload: 208.0 + download_content_length: 4988.0 upload_content_length: 190.0 - starttransfer_time: 0.861172 + starttransfer_time: 0.909604 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53437 + local_ip: 192.168.1.75 + local_port: 52667 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 132159 - connect_time_us: 64350 - namelookup_time_us: 1067 - pretransfer_time_us: 132216 + scheme: https + appconnect_time_us: 77922 + connect_time_us: 38823 + namelookup_time_us: 5263 + pretransfer_time_us: 77991 redirect_time_us: 0 - starttransfer_time_us: 861172 - total_time_us: 861202 + starttransfer_time_us: 909604 + total_time_us: 909706 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/shipments/generateForm.yml b/test/cassettes/shipments/generateForm.yml index 72659a1b..53f14ccc 100644 --- a/test/cassettes/shipments/generateForm.yml +++ b/test/cassettes/shipments/generateForm.yml @@ -11,11 +11,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"First","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' + body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"GroundAdvantage","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,63 +23,66 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef9120655e64dce7885924001fb833 + x-ep-request-uuid: e181587966bcebd9e2b8fbb30086d82b cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_9886caa01ddc464fa474ec7a3d018f11 + location: /api/v2/shipments/shp_9c8228b2f5d544308aa670301fa69eb6 content-type: 'application/json; charset=utf-8' - content-length: '7619' - x-runtime: '1.150557' - x-node: bigweb38nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '6549' + x-runtime: '1.122176' + x-node: bigweb41nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:20Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105440282035848","updated_at":"2023-11-22T20:30:21Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_f4ea2baf897511ee8b23ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:20+00:00","updated_at":"2023-11-22T20:30:20+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_4d8e24edef0443b5b61110a97f845aa5","object":"Parcel","created_at":"2023-11-22T20:30:20Z","updated_at":"2023-11-22T20:30:20Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_fd31090c72ba4a0ba23536762c267ed7","created_at":"2023-11-22T20:30:21Z","updated_at":"2023-11-22T20:30:21Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:30: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\/20231122\/e8d7899a6421844933ae0a306454a97722.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_108e29c6e919481b89ab17b9e41f528b","object":"Rate","created_at":"2023-11-22T20:30:20Z","updated_at":"2023-11-22T20:30: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_9886caa01ddc464fa474ec7a3d018f11","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_0c9f2dd39be04373a4ce975a39c89ba4","object":"Rate","created_at":"2023-11-22T20:30:20Z","updated_at":"2023-11-22T20:30: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_9886caa01ddc464fa474ec7a3d018f11","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_cc35ca3641f34a5dbd983b3d56c1999c","object":"Rate","created_at":"2023-11-22T20:30:20Z","updated_at":"2023-11-22T20:30:20Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9886caa01ddc464fa474ec7a3d018f11","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_13607069b8a24fe888408edc8ca74f93","object":"Rate","created_at":"2023-11-22T20:30:20Z","updated_at":"2023-11-22T20:30:20Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9886caa01ddc464fa474ec7a3d018f11","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_de6394bad8e44e5f9dc3b03276e189d5","object":"Rate","created_at":"2023-11-22T20:30:20Z","updated_at":"2023-11-22T20:30:20Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9886caa01ddc464fa474ec7a3d018f11","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_13607069b8a24fe888408edc8ca74f93","object":"Rate","created_at":"2023-11-22T20:30:21Z","updated_at":"2023-11-22T20:30:21Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9886caa01ddc464fa474ec7a3d018f11","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_796a874068824117887ee534c794df6d","object":"Tracker","mode":"test","tracking_code":"9400100105440282035848","status":"unknown","status_detail":"unknown","created_at":"2023-11-22T20:30:21Z","updated_at":"2023-11-22T20:30:21Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_9886caa01ddc464fa474ec7a3d018f11","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzc5NmE4NzQwNjg4MjQxMTc4ODdlZTUzNGM3OTRkZjZk"},"to_address":{"id":"adr_f4e58334897511ee8a0c3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:20+00:00","updated_at":"2023-11-22T20:30:21+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_f4ea2baf897511ee8b23ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:20+00:00","updated_at":"2023-11-22T20:30:20+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_f4e58334897511ee8a0c3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:20+00:00","updated_at":"2023-11-22T20:30:21+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_9886caa01ddc464fa474ec7a3d018f11","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:38Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196863","updated_at":"2024-08-14T17:39:38Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_2d999d715a6411efbef8ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:38+00:00","updated_at":"2024-08-14T17:39:38+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_4746f1e0a6a04a50af975bf5d53462f4","object":"Parcel","created_at":"2024-08-14T17:39:38Z","updated_at":"2024-08-14T17:39:38Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_85d085795afb4b1fb24cb74299f8ec29","created_at":"2024-08-14T17:39:38Z","updated_at":"2024-08-14T17:39:38Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e8ced5fc60fd5a49248dffe631663de02d.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_f1e68ea77c524ee68748e130ca7488ca","object":"Rate","created_at":"2024-08-14T17:39:38Z","updated_at":"2024-08-14T17:39:38Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_9c8228b2f5d544308aa670301fa69eb6","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_4dd9f2ef9c144ed591f546cd5fc1b103","object":"Rate","created_at":"2024-08-14T17:39:38Z","updated_at":"2024-08-14T17:39:38Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9c8228b2f5d544308aa670301fa69eb6","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_14d5cfc0008e46d98615319bb7b80267","object":"Rate","created_at":"2024-08-14T17:39:38Z","updated_at":"2024-08-14T17:39:38Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_9c8228b2f5d544308aa670301fa69eb6","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_4dd9f2ef9c144ed591f546cd5fc1b103","object":"Rate","created_at":"2024-08-14T17:39:38Z","updated_at":"2024-08-14T17:39:38Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9c8228b2f5d544308aa670301fa69eb6","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_c4852a4b8ce54c31996f7a8c9baace79","object":"Tracker","mode":"test","tracking_code":"9400100105807075196863","status":"unknown","status_detail":"unknown","created_at":"2024-08-14T17:39:39Z","updated_at":"2024-08-14T17:39:39Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_9c8228b2f5d544308aa670301fa69eb6","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2M0ODUyYTRiOGNlNTRjMzE5OTZmN2E4YzliYWFjZTc5"},"to_address":{"id":"adr_2d971e2e5a6411efaff0ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:37+00:00","updated_at":"2024-08-14T17:39:38+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_2d999d715a6411efbef8ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:38+00:00","updated_at":"2024-08-14T17:39:38+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_2d971e2e5a6411efaff0ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:37+00:00","updated_at":"2024-08-14T17:39:38+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_9c8228b2f5d544308aa670301fa69eb6","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' http_code: 201 header_size: 760 - request_size: 861 + request_size: 871 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.360965 - namelookup_time: 0.002175 - connect_time: 0.066331 - pretransfer_time: 0.143638 - size_upload: 553.0 - size_download: 7619.0 - speed_download: 5598.0 - speed_upload: 406.0 - download_content_length: 7619.0 - upload_content_length: 553.0 - starttransfer_time: 1.360437 + total_time: 1.227669 + namelookup_time: 0.002227 + connect_time: 0.031885 + pretransfer_time: 0.063547 + size_upload: 563.0 + size_download: 6549.0 + speed_download: 5334.0 + speed_upload: 458.0 + download_content_length: 6549.0 + upload_content_length: 563.0 + starttransfer_time: 1.227581 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53438 + local_ip: 192.168.1.75 + local_port: 52660 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 143575 - connect_time_us: 66331 - namelookup_time_us: 2175 - pretransfer_time_us: 143638 + scheme: https + appconnect_time_us: 63501 + connect_time_us: 31885 + namelookup_time_us: 2227 + pretransfer_time_us: 63547 redirect_time_us: 0 - starttransfer_time_us: 1360437 - total_time_us: 1360965 + starttransfer_time_us: 1227581 + total_time_us: 1227669 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: POST - url: 'https://api.easypost.com/v2/shipments/shp_9886caa01ddc464fa474ec7a3d018f11/forms' + url: 'https://api.easypost.com/v2/shipments/shp_9c8228b2f5d544308aa670301fa69eb6/forms' headers: Host: api.easypost.com Expect: '' @@ -92,8 +94,7 @@ body: '{"form":{"barcode":"RMA12345678900","line_items":[{"product":{"title":"Square Reader","barcode":"855658003251"},"units":"8"}],"type":"return_packing_slip"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -102,22 +103,22 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef9120655e64dee7885925001fba18 + x-ep-request-uuid: e181587766bcebdbe2b8fbb40086d927 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_9886caa01ddc464fa474ec7a3d018f11/forms/return_packing_slip + location: /api/v2/shipments/shp_9c8228b2f5d544308aa670301fa69eb6/forms/return_packing_slip content-type: 'application/json; charset=utf-8' - content-length: '9083' - x-runtime: '0.589101' - x-node: bigweb40nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '8013' + x-runtime: '0.568915' + x-node: bigweb35nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:20Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105440282035848","updated_at":"2023-11-22T20:30:21Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_f4ea2baf897511ee8b23ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:20+00:00","updated_at":"2023-11-22T20:30:20+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_4d8e24edef0443b5b61110a97f845aa5","object":"Parcel","created_at":"2023-11-22T20:30:20Z","updated_at":"2023-11-22T20:30:20Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_fd31090c72ba4a0ba23536762c267ed7","created_at":"2023-11-22T20:30:21Z","updated_at":"2023-11-22T20:30:21Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:30: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\/20231122\/e8d7899a6421844933ae0a306454a97722.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_108e29c6e919481b89ab17b9e41f528b","object":"Rate","created_at":"2023-11-22T20:30:20Z","updated_at":"2023-11-22T20:30: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_9886caa01ddc464fa474ec7a3d018f11","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_0c9f2dd39be04373a4ce975a39c89ba4","object":"Rate","created_at":"2023-11-22T20:30:20Z","updated_at":"2023-11-22T20:30: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_9886caa01ddc464fa474ec7a3d018f11","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_cc35ca3641f34a5dbd983b3d56c1999c","object":"Rate","created_at":"2023-11-22T20:30:20Z","updated_at":"2023-11-22T20:30:20Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9886caa01ddc464fa474ec7a3d018f11","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_13607069b8a24fe888408edc8ca74f93","object":"Rate","created_at":"2023-11-22T20:30:20Z","updated_at":"2023-11-22T20:30:20Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9886caa01ddc464fa474ec7a3d018f11","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_de6394bad8e44e5f9dc3b03276e189d5","object":"Rate","created_at":"2023-11-22T20:30:20Z","updated_at":"2023-11-22T20:30:20Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9886caa01ddc464fa474ec7a3d018f11","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_13607069b8a24fe888408edc8ca74f93","object":"Rate","created_at":"2023-11-22T20:30:21Z","updated_at":"2023-11-22T20:30:21Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9886caa01ddc464fa474ec7a3d018f11","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_796a874068824117887ee534c794df6d","object":"Tracker","mode":"test","tracking_code":"9400100105440282035848","status":"pre_transit","status_detail":"status_update","created_at":"2023-11-22T20:30:21Z","updated_at":"2023-11-22T20:30:21Z","signed_by":null,"weight":null,"est_delivery_date":"2023-11-22T20:30:21Z","shipment_id":"shp_9886caa01ddc464fa474ec7a3d018f11","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:30: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-10-23T09:07: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\/djE6dHJrXzc5NmE4NzQwNjg4MjQxMTc4ODdlZTUzNGM3OTRkZjZk"},"to_address":{"id":"adr_f4e58334897511ee8a0c3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:20+00:00","updated_at":"2023-11-22T20:30:21+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_f4ea2baf897511ee8b23ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:20+00:00","updated_at":"2023-11-22T20:30:20+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_f4e58334897511ee8a0c3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:20+00:00","updated_at":"2023-11-22T20:30:21+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[{"object":"Form","id":"form_6a9ddca3daf244bcb5d755ff3dbb9e0e","created_at":"2023-11-22T20:30:22Z","updated_at":"2023-11-22T20:30:22Z","mode":"test","form_type":"return_packing_slip","form_url":"https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/files\/form\/20231122\/c991a3241d3c4fab9fd7da98359b4019.pdf","submitted_electronically":null}],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_9886caa01ddc464fa474ec7a3d018f11","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:38Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196863","updated_at":"2024-08-14T17:39:38Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_2d999d715a6411efbef8ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:38+00:00","updated_at":"2024-08-14T17:39:38+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_4746f1e0a6a04a50af975bf5d53462f4","object":"Parcel","created_at":"2024-08-14T17:39:38Z","updated_at":"2024-08-14T17:39:38Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_85d085795afb4b1fb24cb74299f8ec29","created_at":"2024-08-14T17:39:38Z","updated_at":"2024-08-14T17:39:38Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e8ced5fc60fd5a49248dffe631663de02d.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_f1e68ea77c524ee68748e130ca7488ca","object":"Rate","created_at":"2024-08-14T17:39:38Z","updated_at":"2024-08-14T17:39:38Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_9c8228b2f5d544308aa670301fa69eb6","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_4dd9f2ef9c144ed591f546cd5fc1b103","object":"Rate","created_at":"2024-08-14T17:39:38Z","updated_at":"2024-08-14T17:39:38Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9c8228b2f5d544308aa670301fa69eb6","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_14d5cfc0008e46d98615319bb7b80267","object":"Rate","created_at":"2024-08-14T17:39:38Z","updated_at":"2024-08-14T17:39:38Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_9c8228b2f5d544308aa670301fa69eb6","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_4dd9f2ef9c144ed591f546cd5fc1b103","object":"Rate","created_at":"2024-08-14T17:39:38Z","updated_at":"2024-08-14T17:39:38Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9c8228b2f5d544308aa670301fa69eb6","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_c4852a4b8ce54c31996f7a8c9baace79","object":"Tracker","mode":"test","tracking_code":"9400100105807075196863","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:39Z","updated_at":"2024-08-14T17:39:39Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:39:39Z","shipment_id":"shp_9c8228b2f5d544308aa670301fa69eb6","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:39:39Z","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":"2024-07-15T06:16:39Z","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\/djE6dHJrX2M0ODUyYTRiOGNlNTRjMzE5OTZmN2E4YzliYWFjZTc5"},"to_address":{"id":"adr_2d971e2e5a6411efaff0ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:37+00:00","updated_at":"2024-08-14T17:39:38+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_2d999d715a6411efbef8ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:38+00:00","updated_at":"2024-08-14T17:39:38+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_2d971e2e5a6411efaff0ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:37+00:00","updated_at":"2024-08-14T17:39:38+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[{"object":"Form","id":"form_8308aba2501240df99a2b0d1a67c92ad","created_at":"2024-08-14T17:39:39Z","updated_at":"2024-08-14T17:39:39Z","mode":"test","form_type":"return_packing_slip","form_url":"https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/files\/form\/20240814\/d7a3c293c40e47b2ab2d98e7ae61bb59.pdf","submitted_electronically":null}],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_9c8228b2f5d544308aa670301fa69eb6","object":"Shipment"}' curl_info: - url: 'https://api.easypost.com/v2/shipments/shp_9886caa01ddc464fa474ec7a3d018f11/forms' + url: 'https://api.easypost.com/v2/shipments/shp_9c8228b2f5d544308aa670301fa69eb6/forms' content_type: 'application/json; charset=utf-8' http_code: 201 header_size: 786 @@ -125,33 +126,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.781503 - namelookup_time: 0.001526 - connect_time: 0.06493 - pretransfer_time: 0.128563 + total_time: 0.667974 + namelookup_time: 0.00182 + connect_time: 0.031684 + pretransfer_time: 0.063672 size_upload: 156.0 - size_download: 9083.0 - speed_download: 11622.0 - speed_upload: 199.0 - download_content_length: 9083.0 + size_download: 8013.0 + speed_download: 11995.0 + speed_upload: 233.0 + download_content_length: 8013.0 upload_content_length: 156.0 - starttransfer_time: 0.781463 + starttransfer_time: 0.667828 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53439 + local_ip: 192.168.1.75 + local_port: 52661 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 128537 - connect_time_us: 64930 - namelookup_time_us: 1526 - pretransfer_time_us: 128563 + scheme: https + appconnect_time_us: 63613 + connect_time_us: 31684 + namelookup_time_us: 1820 + pretransfer_time_us: 63672 redirect_time_us: 0 - starttransfer_time_us: 781463 - total_time_us: 781503 + starttransfer_time_us: 667828 + total_time_us: 667974 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/shipments/getNextPage.yml b/test/cassettes/shipments/getNextPage.yml index a76c2abe..8156d0a2 100644 --- a/test/cassettes/shipments/getNextPage.yml +++ b/test/cassettes/shipments/getNextPage.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,19 +21,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 0610ca396564ea7fe787e2010013afb2 + x-ep-request-uuid: e181587866bcebe1e2b8fbfc0086dea8 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '53956' - x-runtime: '0.647008' - x-node: bigweb31nuq - x-version-label: easypost-202311250013-a0f06fbc2c-master + content-length: '38887' + x-runtime: '0.525179' + x-node: bigweb42nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"shipments":[{"created_at":"2023-11-22T21:30:45Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"delivered","tracking_code":"9400100105440282056140","updated_at":"2023-11-22T21:34:57Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_656e3fc6897e11eea5eaac1f6bc53342","object":"Address","created_at":"2023-11-22T21:30:45+00:00","updated_at":"2023-11-22T21:30:45+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_5f9cdc2241514860acb5208a05a3df09","object":"Parcel","created_at":"2023-11-22T21:30:45Z","updated_at":"2023-11-22T21:30:45Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_4ab7d394c725492287823ae963b8d2b8","created_at":"2023-11-22T21:30:46Z","updated_at":"2023-11-22T21:30:46Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T21:30: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\/20231122\/e8ec8b8eaacda9490db6f2eed0420e0b46.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_5fdd18f411024c099b8269a21eb5ee40","object":"Rate","created_at":"2023-11-22T21:30:45Z","updated_at":"2023-11-22T21:30:45Z","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_c890bc7068604393a9379ad28e669ee5","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_5cc1d094c8ac41b8a7dfcc54a3255282","object":"Rate","created_at":"2023-11-22T21:30:45Z","updated_at":"2023-11-22T21:30:45Z","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_c890bc7068604393a9379ad28e669ee5","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_757a95f0ef9445bb9619b6145e8bfbfe","object":"Rate","created_at":"2023-11-22T21:30:45Z","updated_at":"2023-11-22T21:30:45Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c890bc7068604393a9379ad28e669ee5","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_03ea81e32b7740f089151fe60597ab7b","object":"Rate","created_at":"2023-11-22T21:30:45Z","updated_at":"2023-11-22T21:30:45Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c890bc7068604393a9379ad28e669ee5","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_e5216466ba63410aaaf1486038eac358","object":"Rate","created_at":"2023-11-22T21:30:45Z","updated_at":"2023-11-22T21:30:45Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c890bc7068604393a9379ad28e669ee5","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_03ea81e32b7740f089151fe60597ab7b","object":"Rate","created_at":"2023-11-22T21:30:46Z","updated_at":"2023-11-22T21:30:46Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c890bc7068604393a9379ad28e669ee5","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_4c2b46ef848d4a6f8d1b6b62fedeffb2","object":"Tracker","mode":"test","tracking_code":"9400100105440282056140","status":"delivered","status_detail":"arrived_at_destination","created_at":"2023-11-22T21:30:46Z","updated_at":"2023-11-22T21:33:46Z","signed_by":"John Tester","weight":null,"est_delivery_date":"2023-11-22T21:33:46Z","shipment_id":"shp_c890bc7068604393a9379ad28e669ee5","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T21:33:46Z","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-10-23T10:10:46Z","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-10-23T20:15:46Z","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-10-24T21:51:46Z","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-10-25T00:42:46Z","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-10-25T06:22:46Z","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-10-25T06:32:46Z","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-10-25T11:24:46Z","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-10-25T11:24:46Z"},"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzRjMmI0NmVmODQ4ZDRhNmY4ZDFiNmI2MmZlZGVmZmIy"},"to_address":{"id":"adr_656a6a19897e11ee976dac1f6bc539aa","object":"Address","created_at":"2023-11-22T21:30:45+00:00","updated_at":"2023-11-22T21:30:45+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_656e3fc6897e11eea5eaac1f6bc53342","object":"Address","created_at":"2023-11-22T21:30:45+00:00","updated_at":"2023-11-22T21:30:45+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_656a6a19897e11ee976dac1f6bc539aa","object":"Address","created_at":"2023-11-22T21:30:45+00:00","updated_at":"2023-11-22T21:30:45+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_c890bc7068604393a9379ad28e669ee5","object":"Shipment"},{"created_at":"2023-11-22T21:28:19Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"delivered","tracking_code":"9400100105440282055525","updated_at":"2023-11-22T21:33:07Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_0e7e9acc897e11eeb99e3cecef1b359e","object":"Address","created_at":"2023-11-22T21:28:19+00:00","updated_at":"2023-11-22T21:28:19+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_af155cec529f46a78f323dc8fdfd8d85","object":"Parcel","created_at":"2023-11-22T21:28:19Z","updated_at":"2023-11-22T21:28:19Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_6f53448614464191879797ef8f937f89","created_at":"2023-11-22T21:28:20Z","updated_at":"2023-11-22T21:28:20Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T21:28: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\/20231122\/e886f55f7f4787467f89f73af3db126dd7.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_8a05d07269744c50a3bd8569fb503d13","object":"Rate","created_at":"2023-11-22T21:28:19Z","updated_at":"2023-11-22T21:28:19Z","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_d6d87640397c40689d4b497289be70f9","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_2b7f35c46b3e43d4a587c7b1c19b89bc","object":"Rate","created_at":"2023-11-22T21:28:19Z","updated_at":"2023-11-22T21:28:19Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d6d87640397c40689d4b497289be70f9","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_4bd34441888343de9ecf633980b570e0","object":"Rate","created_at":"2023-11-22T21:28:19Z","updated_at":"2023-11-22T21:28:19Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d6d87640397c40689d4b497289be70f9","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_473932046fe94e668cc96b01bddd2b36","object":"Rate","created_at":"2023-11-22T21:28:19Z","updated_at":"2023-11-22T21:28:19Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d6d87640397c40689d4b497289be70f9","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_0b214c15d6cc421293aa34e5d7caf59b","object":"Rate","created_at":"2023-11-22T21:28:19Z","updated_at":"2023-11-22T21:28:19Z","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_d6d87640397c40689d4b497289be70f9","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_4bd34441888343de9ecf633980b570e0","object":"Rate","created_at":"2023-11-22T21:28:20Z","updated_at":"2023-11-22T21:28:20Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d6d87640397c40689d4b497289be70f9","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_ca5b413564c2411b86bb8a190ad3d2ac","object":"Tracker","mode":"test","tracking_code":"9400100105440282055525","status":"delivered","status_detail":"arrived_at_destination","created_at":"2023-11-22T21:28:20Z","updated_at":"2023-11-22T21:31:21Z","signed_by":"John Tester","weight":null,"est_delivery_date":"2023-11-22T21:31:21Z","shipment_id":"shp_d6d87640397c40689d4b497289be70f9","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T21:31: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-10-23T10:08:21Z","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-10-23T20:13:21Z","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-10-24T21:49:21Z","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-10-25T00:40:21Z","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-10-25T06:20:21Z","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-10-25T06:30:21Z","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-10-25T11:22:21Z","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-10-25T11:22:21Z"},"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2NhNWI0MTM1NjRjMjQxMWI4NmJiOGExOTBhZDNkMmFj"},"to_address":{"id":"adr_0e7c4479897e11eeb99d3cecef1b359e","object":"Address","created_at":"2023-11-22T21:28:19+00:00","updated_at":"2023-11-22T21:28:20+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_0e7e9acc897e11eeb99e3cecef1b359e","object":"Address","created_at":"2023-11-22T21:28:19+00:00","updated_at":"2023-11-22T21:28:19+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_0e7c4479897e11eeb99d3cecef1b359e","object":"Address","created_at":"2023-11-22T21:28:19+00:00","updated_at":"2023-11-22T21:28:20+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_d6d87640397c40689d4b497289be70f9","object":"Shipment"},{"created_at":"2023-11-22T20:55:46Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"delivered","tracking_code":"9400100105440282044765","updated_at":"2023-11-22T21:00:31Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_821608bd897911eeb1d8ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:55:46+00:00","updated_at":"2023-11-22T20:55:46+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_ad0373ac0e0940debb148ef63e9fa429","object":"Parcel","created_at":"2023-11-22T20:55:46Z","updated_at":"2023-11-22T20:55:46Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_c9e7e7051544483b9846a7b51517be53","created_at":"2023-11-22T20:55:46Z","updated_at":"2023-11-22T20:55:47Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:55: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\/20231122\/e85137cb78a94a43b2ab6909802c75eb36.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_f0d049f2e6b4421a9d34af9a5be4bd7a","object":"Rate","created_at":"2023-11-22T20:55:46Z","updated_at":"2023-11-22T20:55: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_d2909cf61aa8499b90f99190c5bc9010","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_e4363b0b82dc45439c9a5a95da91d6a0","object":"Rate","created_at":"2023-11-22T20:55:46Z","updated_at":"2023-11-22T20:55:46Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d2909cf61aa8499b90f99190c5bc9010","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_999bec87c9da47f08288b5f652ba4486","object":"Rate","created_at":"2023-11-22T20:55:46Z","updated_at":"2023-11-22T20:55:46Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d2909cf61aa8499b90f99190c5bc9010","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_ee397068acac446aa542dda203c17611","object":"Rate","created_at":"2023-11-22T20:55:46Z","updated_at":"2023-11-22T20:55:46Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d2909cf61aa8499b90f99190c5bc9010","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_d170ff2db5504b45a2e983dec41a40c5","object":"Rate","created_at":"2023-11-22T20:55:46Z","updated_at":"2023-11-22T20:55: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_d2909cf61aa8499b90f99190c5bc9010","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_999bec87c9da47f08288b5f652ba4486","object":"Rate","created_at":"2023-11-22T20:55:46Z","updated_at":"2023-11-22T20:55:46Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d2909cf61aa8499b90f99190c5bc9010","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_fab9e411cdb04ca3a9d245fef085e6ee","object":"Tracker","mode":"test","tracking_code":"9400100105440282044765","status":"delivered","status_detail":"arrived_at_destination","created_at":"2023-11-22T20:55:47Z","updated_at":"2023-11-22T20:58:47Z","signed_by":"John Tester","weight":null,"est_delivery_date":"2023-11-22T20:58:47Z","shipment_id":"shp_d2909cf61aa8499b90f99190c5bc9010","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:58: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-10-23T09:35: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-10-23T19:40: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-10-24T21:16: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-10-25T00:07: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-10-25T05:47: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-10-25T05:57: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-10-25T10:49: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-10-25T10:49:47Z"},"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2ZhYjllNDExY2RiMDRjYTNhOWQyNDVmZWYwODVlNmVl"},"to_address":{"id":"adr_8213993d897911ee9070ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:55:46+00:00","updated_at":"2023-11-22T20:55:46+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_821608bd897911eeb1d8ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:55:46+00:00","updated_at":"2023-11-22T20:55:46+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_8213993d897911ee9070ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:55:46+00:00","updated_at":"2023-11-22T20:55:46+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_d2909cf61aa8499b90f99190c5bc9010","object":"Shipment"},{"created_at":"2023-11-22T20:55:40Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"delivered","tracking_code":"9400100105440282044703","updated_at":"2023-11-22T21:00:05Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_7eb3d855897911ee9f09ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:55:40+00:00","updated_at":"2023-11-22T20:55:40+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_e015bbfcee664f999483682463ce3275","object":"Parcel","created_at":"2023-11-22T20:55:40Z","updated_at":"2023-11-22T20:55:40Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_92311a33d0ed4fa09b2948a6eac80faf","created_at":"2023-11-22T20:55:41Z","updated_at":"2023-11-22T20:55:41Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:55:41Z","label_resolution":300,"label_size":"4x6","label_type":"default","label_file_type":"image\/png","label_url":"https:\/\/easypost-files.s3.us-west-2.amazonaws.com\/files\/postage_label\/20231122\/e89ba3257027be4e7dae93864631c5a3b0.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_46ca39cac9484173b8f9d84f681d3444","object":"Rate","created_at":"2023-11-22T20:55:40Z","updated_at":"2023-11-22T20:55:40Z","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_7a0b7549964545b08822009bf94f9589","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_89359f0d341c4a508871ddac0ed72d83","object":"Rate","created_at":"2023-11-22T20:55:40Z","updated_at":"2023-11-22T20:55:40Z","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_7a0b7549964545b08822009bf94f9589","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_3a4b74544fa14d32a3143c06cb5d17c2","object":"Rate","created_at":"2023-11-22T20:55:40Z","updated_at":"2023-11-22T20:55:40Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7a0b7549964545b08822009bf94f9589","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_ece2d8ef099e45f09384205888567efa","object":"Rate","created_at":"2023-11-22T20:55:40Z","updated_at":"2023-11-22T20:55:40Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7a0b7549964545b08822009bf94f9589","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_1f9e6236372640838cf1b79f6880595f","object":"Rate","created_at":"2023-11-22T20:55:40Z","updated_at":"2023-11-22T20:55:40Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7a0b7549964545b08822009bf94f9589","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_ece2d8ef099e45f09384205888567efa","object":"Rate","created_at":"2023-11-22T20:55:41Z","updated_at":"2023-11-22T20:55:41Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7a0b7549964545b08822009bf94f9589","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_fc4d034ebe91457282f121f575d33a8a","object":"Tracker","mode":"test","tracking_code":"9400100105440282044703","status":"delivered","status_detail":"arrived_at_destination","created_at":"2023-11-22T20:55:41Z","updated_at":"2023-11-22T20:58:41Z","signed_by":"John Tester","weight":null,"est_delivery_date":"2023-11-22T20:58:41Z","shipment_id":"shp_7a0b7549964545b08822009bf94f9589","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:58:41Z","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-10-23T09:35:41Z","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-10-23T19:40:41Z","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-10-24T21:16:41Z","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-10-25T00:07:41Z","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-10-25T05:47:41Z","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-10-25T05:57:41Z","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-10-25T10:49:41Z","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-10-25T10:49:41Z"},"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2ZjNGQwMzRlYmU5MTQ1NzI4MmYxMjFmNTc1ZDMzYThh"},"to_address":{"id":"adr_7eb0c6f7897911ee8e4eac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:55:40+00:00","updated_at":"2023-11-22T20:55:40+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_7eb3d855897911ee9f09ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:55:40+00:00","updated_at":"2023-11-22T20:55:40+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_7eb0c6f7897911ee8e4eac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:55:40+00:00","updated_at":"2023-11-22T20:55:40+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_7a0b7549964545b08822009bf94f9589","object":"Shipment"},{"created_at":"2023-11-22T20:42:56Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"delivered","tracking_code":"9400100105440282039129","updated_at":"2023-11-22T20:47:41Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_b75650fd897711eea605ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:42:56+00:00","updated_at":"2023-11-22T20:42:56+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_ce926888e60a4dfbb0b21bb56cd111cf","object":"Parcel","created_at":"2023-11-22T20:42:56Z","updated_at":"2023-11-22T20:42:56Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_bbd7758342684a65a77754eaef5c5218","created_at":"2023-11-22T20:42:57Z","updated_at":"2023-11-22T20:42:57Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:42: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\/20231122\/e865f1ada1d68140588c2cb40bf9d15716.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_874425b9071241e6aa7d366577cf928e","object":"Rate","created_at":"2023-11-22T20:42:56Z","updated_at":"2023-11-22T20:42: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_aaccf5851734473085f89bb9a271b458","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_8e375ec7577d4db290ee9d61489fc136","object":"Rate","created_at":"2023-11-22T20:42:56Z","updated_at":"2023-11-22T20:42:56Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_aaccf5851734473085f89bb9a271b458","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_0541b4c9b7374fddba1976055027c65e","object":"Rate","created_at":"2023-11-22T20:42:56Z","updated_at":"2023-11-22T20:42:56Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_aaccf5851734473085f89bb9a271b458","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_0bdbd3ab9ed94a0db6972a0718cd0cac","object":"Rate","created_at":"2023-11-22T20:42:56Z","updated_at":"2023-11-22T20:42:56Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_aaccf5851734473085f89bb9a271b458","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_7f2b0a27d3384e698bdb5098b9b6bc45","object":"Rate","created_at":"2023-11-22T20:42:56Z","updated_at":"2023-11-22T20:42: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_aaccf5851734473085f89bb9a271b458","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_0541b4c9b7374fddba1976055027c65e","object":"Rate","created_at":"2023-11-22T20:42:57Z","updated_at":"2023-11-22T20:42:57Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_aaccf5851734473085f89bb9a271b458","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_df9e068cf2bc4e668f29354d6c927d1c","object":"Tracker","mode":"test","tracking_code":"9400100105440282039129","status":"delivered","status_detail":"arrived_at_destination","created_at":"2023-11-22T20:42:57Z","updated_at":"2023-11-22T20:45:57Z","signed_by":"John Tester","weight":null,"est_delivery_date":"2023-11-22T20:45:57Z","shipment_id":"shp_aaccf5851734473085f89bb9a271b458","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:45: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-10-23T09:22:57Z","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-10-23T19:27:57Z","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-10-24T21:03:57Z","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-10-24T23:54:57Z","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-10-25T05:34:57Z","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-10-25T05:44:57Z","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-10-25T10:36:57Z","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-10-25T10:36:57Z"},"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2RmOWUwNjhjZjJiYzRlNjY4ZjI5MzU0ZDZjOTI3ZDFj"},"to_address":{"id":"adr_b75401d2897711ee876bac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:42:56+00:00","updated_at":"2023-11-22T20:42:56+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_b75650fd897711eea605ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:42:56+00:00","updated_at":"2023-11-22T20:42:56+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_b75401d2897711ee876bac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:42:56+00:00","updated_at":"2023-11-22T20:42:56+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_aaccf5851734473085f89bb9a271b458","object":"Shipment"}],"has_more":true}' + body: '{"shipments":[{"created_at":"2024-08-14T17:39:40Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196894","updated_at":"2024-08-14T17:39:41Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_2ec7614f5a6411efb070ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:39+00:00","updated_at":"2024-08-14T17:39:39+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_0991974aaedb4732a5070b3d7c262466","object":"Parcel","created_at":"2024-08-14T17:39:39Z","updated_at":"2024-08-14T17:39:39Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_6442ce331db64b85b1f83a2ddbeff800","created_at":"2024-08-14T17:39:40Z","updated_at":"2024-08-14T17:39:40Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e87acf86fe54db4eabadc28792a6915722.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_35e79bb1a71649fa93c885299b27cbe9","object":"Rate","created_at":"2024-08-14T17:39:40Z","updated_at":"2024-08-14T17:39:40Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_d0f55c8ba25a4bbe947d3a1641ed11e4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_7815271b51f94a20bdbaed1c73f913b0","object":"Rate","created_at":"2024-08-14T17:39:40Z","updated_at":"2024-08-14T17:39:40Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d0f55c8ba25a4bbe947d3a1641ed11e4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_9ebf9933dd094eacbf8732af210bffb0","object":"Rate","created_at":"2024-08-14T17:39:40Z","updated_at":"2024-08-14T17:39:40Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_d0f55c8ba25a4bbe947d3a1641ed11e4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":"submitted","scan_form":null,"selected_rate":{"id":"rate_7815271b51f94a20bdbaed1c73f913b0","object":"Rate","created_at":"2024-08-14T17:39:40Z","updated_at":"2024-08-14T17:39:40Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d0f55c8ba25a4bbe947d3a1641ed11e4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_7008e55ff72542b287b7c8bab10034ff","object":"Tracker","mode":"test","tracking_code":"9400100105807075196894","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:41Z","updated_at":"2024-08-14T17:39:41Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:39:41Z","shipment_id":"shp_d0f55c8ba25a4bbe947d3a1641ed11e4","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:39:41Z","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":"2024-07-15T06:16:41Z","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\/djE6dHJrXzcwMDhlNTVmZjcyNTQyYjI4N2I3YzhiYWIxMDAzNGZm"},"to_address":{"id":"adr_2ec4f4695a6411efb06eac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:39+00:00","updated_at":"2024-08-14T17:39:40+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_2ec7614f5a6411efb070ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:39+00:00","updated_at":"2024-08-14T17:39:39+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_2ec4f4695a6411efb06eac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:39+00:00","updated_at":"2024-08-14T17:39:40+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_d0f55c8ba25a4bbe947d3a1641ed11e4","object":"Shipment"},{"created_at":"2024-08-14T17:39:38Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196863","updated_at":"2024-08-14T17:39:38Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_2d999d715a6411efbef8ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:38+00:00","updated_at":"2024-08-14T17:39:38+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_4746f1e0a6a04a50af975bf5d53462f4","object":"Parcel","created_at":"2024-08-14T17:39:38Z","updated_at":"2024-08-14T17:39:38Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_85d085795afb4b1fb24cb74299f8ec29","created_at":"2024-08-14T17:39:38Z","updated_at":"2024-08-14T17:39:38Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e8ced5fc60fd5a49248dffe631663de02d.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_f1e68ea77c524ee68748e130ca7488ca","object":"Rate","created_at":"2024-08-14T17:39:38Z","updated_at":"2024-08-14T17:39:38Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_9c8228b2f5d544308aa670301fa69eb6","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_4dd9f2ef9c144ed591f546cd5fc1b103","object":"Rate","created_at":"2024-08-14T17:39:38Z","updated_at":"2024-08-14T17:39:38Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9c8228b2f5d544308aa670301fa69eb6","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_14d5cfc0008e46d98615319bb7b80267","object":"Rate","created_at":"2024-08-14T17:39:38Z","updated_at":"2024-08-14T17:39:38Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_9c8228b2f5d544308aa670301fa69eb6","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_4dd9f2ef9c144ed591f546cd5fc1b103","object":"Rate","created_at":"2024-08-14T17:39:38Z","updated_at":"2024-08-14T17:39:38Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_9c8228b2f5d544308aa670301fa69eb6","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_c4852a4b8ce54c31996f7a8c9baace79","object":"Tracker","mode":"test","tracking_code":"9400100105807075196863","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:39Z","updated_at":"2024-08-14T17:39:39Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:39:39Z","shipment_id":"shp_9c8228b2f5d544308aa670301fa69eb6","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:39:39Z","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":"2024-07-15T06:16:39Z","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\/djE6dHJrX2M0ODUyYTRiOGNlNTRjMzE5OTZmN2E4YzliYWFjZTc5"},"to_address":{"id":"adr_2d971e2e5a6411efaff0ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:37+00:00","updated_at":"2024-08-14T17:39:38+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_2d999d715a6411efbef8ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:38+00:00","updated_at":"2024-08-14T17:39:38+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_2d971e2e5a6411efaff0ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:37+00:00","updated_at":"2024-08-14T17:39:38+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[{"object":"Form","id":"form_8308aba2501240df99a2b0d1a67c92ad","created_at":"2024-08-14T17:39:39Z","updated_at":"2024-08-14T17:39:39Z","mode":"test","form_type":"return_packing_slip","form_url":"https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/files\/form\/20240814\/d7a3c293c40e47b2ab2d98e7ae61bb59.pdf","submitted_electronically":null}],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_9c8228b2f5d544308aa670301fa69eb6","object":"Shipment"},{"created_at":"2024-08-14T17:39:36Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196832","updated_at":"2024-08-14T17:39:37Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_2c8f47175a6411ef9cd1ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:36+00:00","updated_at":"2024-08-14T17:39:36+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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_ffa7ef6d0090413ea04295b0e63f6fc6","object":"Parcel","created_at":"2024-08-14T17:39:36Z","updated_at":"2024-08-14T17:39:36Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_125bff1c6a0a49a5ab170ade47bad9ab","created_at":"2024-08-14T17:39:36Z","updated_at":"2024-08-14T17:39:37Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e8f2cd447483db497ea9e713def9be9872.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_ff81b8e6ff3c44908efd769c6ced1550","object":"Rate","created_at":"2024-08-14T17:39:36Z","updated_at":"2024-08-14T17:39:36Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_ad4513abccbd4df491b6b09d86ed0a0a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_8efbdd57429e410da75488647e4bf71d","object":"Rate","created_at":"2024-08-14T17:39:36Z","updated_at":"2024-08-14T17:39:36Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_ad4513abccbd4df491b6b09d86ed0a0a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_1857afe819314fe49452083a6a8a14cf","object":"Rate","created_at":"2024-08-14T17:39:36Z","updated_at":"2024-08-14T17:39:36Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_ad4513abccbd4df491b6b09d86ed0a0a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_8efbdd57429e410da75488647e4bf71d","object":"Rate","created_at":"2024-08-14T17:39:36Z","updated_at":"2024-08-14T17:39:36Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_ad4513abccbd4df491b6b09d86ed0a0a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_da65710ff1074295b1739949745b4437","object":"Tracker","mode":"test","tracking_code":"9400100105807075196832","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:37Z","updated_at":"2024-08-14T17:39:37Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:39:37Z","shipment_id":"shp_ad4513abccbd4df491b6b09d86ed0a0a","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:39: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":"2024-07-15T06:16: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\/djE6dHJrX2RhNjU3MTBmZjEwNzQyOTViMTczOTk0OTc0NWI0NDM3"},"to_address":{"id":"adr_2c8ca37a5a6411efaf7cac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:36+00:00","updated_at":"2024-08-14T17:39:36+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_2c8f47175a6411ef9cd1ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:36+00:00","updated_at":"2024-08-14T17:39:36+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_2c8ca37a5a6411efaf7cac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:36+00:00","updated_at":"2024-08-14T17:39:36+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_ad4513abccbd4df491b6b09d86ed0a0a","object":"Shipment"},{"created_at":"2024-08-14T17:39:34Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196801","updated_at":"2024-08-14T17:39:35Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_2ba121625a6411efaf23ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:34+00:00","updated_at":"2024-08-14T17:39:34+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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_8fda771a7c3241ec8c9d9e7d8fced321","object":"Parcel","created_at":"2024-08-14T17:39:34Z","updated_at":"2024-08-14T17:39:34Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_1f5d04f308e0443ea56e40fd3423ec53","created_at":"2024-08-14T17:39:35Z","updated_at":"2024-08-14T17:39:35Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39:35Z","label_resolution":300,"label_size":"4x6","label_type":"default","label_file_type":"image\/png","label_url":"https:\/\/easypost-files.s3.us-west-2.amazonaws.com\/files\/postage_label\/20240814\/e818d8a21023df45a68863b3e4eacdba9e.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_82371fb50acd4b6a9e23873ad4c61920","object":"Rate","created_at":"2024-08-14T17:39:34Z","updated_at":"2024-08-14T17:39:34Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_75f36d03b846491ab887bffa037e3173","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_6b3533d9b2c74de887d8841e05052adc","object":"Rate","created_at":"2024-08-14T17:39:34Z","updated_at":"2024-08-14T17:39:34Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_75f36d03b846491ab887bffa037e3173","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_930e9471f0d9419c9cbf374255e7fa55","object":"Rate","created_at":"2024-08-14T17:39:34Z","updated_at":"2024-08-14T17:39:34Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_75f36d03b846491ab887bffa037e3173","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_930e9471f0d9419c9cbf374255e7fa55","object":"Rate","created_at":"2024-08-14T17:39:35Z","updated_at":"2024-08-14T17:39:35Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_75f36d03b846491ab887bffa037e3173","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_f759177d8e254a839e400d6f68ab8efd","object":"Tracker","mode":"test","tracking_code":"9400100105807075196801","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:35Z","updated_at":"2024-08-14T17:39:35Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:39:35Z","shipment_id":"shp_75f36d03b846491ab887bffa037e3173","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:39: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":"2024-07-15T06:16:35Z","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\/djE6dHJrX2Y3NTkxNzdkOGUyNTRhODM5ZTQwMGQ2ZjY4YWI4ZWZk"},"to_address":{"id":"adr_2b9e691b5a6411ef9c75ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:34+00:00","updated_at":"2024-08-14T17:39:34+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_2ba121625a6411efaf23ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:34+00:00","updated_at":"2024-08-14T17:39:34+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_2b9e691b5a6411ef9c75ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:34+00:00","updated_at":"2024-08-14T17:39:34+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_75f36d03b846491ab887bffa037e3173","object":"Shipment"},{"created_at":"2024-08-14T17:39:31Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196771","updated_at":"2024-08-14T17:39:32Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_29d2ec8b5a6411efbd30ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:31+00:00","updated_at":"2024-08-14T17:39:31+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_ca42f2ca4e8a4d0db8ecdd836785f057","object":"Parcel","created_at":"2024-08-14T17:39:31Z","updated_at":"2024-08-14T17:39:31Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_9ce45e68bca046479d3eee2826058299","created_at":"2024-08-14T17:39:32Z","updated_at":"2024-08-14T17:39:34Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e8f5d48f6f72154970a580b07a53420564.png","label_pdf_url":null,"label_zpl_url":"https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/files\/postage_label\/20240814\/124c3ff609cd418ba7255bcae762a1d9.zpl","label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_09a20798e45842dcbaf1ea9c408ee248","object":"Rate","created_at":"2024-08-14T17:39:31Z","updated_at":"2024-08-14T17:39:31Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_23808cc1f36c411d8bc1558ba9a65c33","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_f2273476bb85478983fb735841591997","object":"Rate","created_at":"2024-08-14T17:39:31Z","updated_at":"2024-08-14T17:39:31Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_23808cc1f36c411d8bc1558ba9a65c33","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_b39177d129d249b88b23de26eacf25b7","object":"Rate","created_at":"2024-08-14T17:39:31Z","updated_at":"2024-08-14T17:39:31Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_23808cc1f36c411d8bc1558ba9a65c33","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_b39177d129d249b88b23de26eacf25b7","object":"Rate","created_at":"2024-08-14T17:39:32Z","updated_at":"2024-08-14T17:39:32Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_23808cc1f36c411d8bc1558ba9a65c33","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_fa63f8a9c6b546b293ff850e5693e6f6","object":"Tracker","mode":"test","tracking_code":"9400100105807075196771","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:32Z","updated_at":"2024-08-14T17:39:32Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:39:32Z","shipment_id":"shp_23808cc1f36c411d8bc1558ba9a65c33","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:39: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":"2024-07-15T06:16:32Z","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\/djE6dHJrX2ZhNjNmOGE5YzZiNTQ2YjI5M2ZmODUwZTU2OTNlNmY2"},"to_address":{"id":"adr_29d057d75a6411efbb8f3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:31+00:00","updated_at":"2024-08-14T17:39:31+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_29d2ec8b5a6411efbd30ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:31+00:00","updated_at":"2024-08-14T17:39:31+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_29d057d75a6411efbb8f3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:31+00:00","updated_at":"2024-08-14T17:39:31+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_23808cc1f36c411d8bc1558ba9a65c33","object":"Shipment"}],"has_more":true}' curl_info: url: 'https://api.easypost.com/v2/shipments?page_size=5' content_type: 'application/json; charset=utf-8' @@ -44,40 +43,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.968369 - namelookup_time: 0.00277 - connect_time: 0.06595 - pretransfer_time: 0.130049 + total_time: 0.664949 + namelookup_time: 0.001936 + connect_time: 0.034714 + pretransfer_time: 0.070176 size_upload: 0.0 - size_download: 53956.0 - speed_download: 55718.0 + size_download: 38887.0 + speed_download: 58481.0 speed_upload: 0.0 - download_content_length: 53956.0 + download_content_length: 38887.0 upload_content_length: 0.0 - starttransfer_time: 0.841436 + starttransfer_time: 0.631663 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.31 - local_port: 52931 + local_ip: 192.168.1.75 + local_port: 52687 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 130003 - connect_time_us: 65950 - namelookup_time_us: 2770 - pretransfer_time_us: 130049 + scheme: https + appconnect_time_us: 70136 + connect_time_us: 34714 + namelookup_time_us: 1936 + pretransfer_time_us: 70176 redirect_time_us: 0 - starttransfer_time_us: 841436 - total_time_us: 968369 + starttransfer_time_us: 631663 + total_time_us: 664949 + effective_method: GET + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/shipments?page_size=5&before_id=shp_aaccf5851734473085f89bb9a271b458' + url: 'https://api.easypost.com/v2/shipments?page_size=5&before_id=shp_23808cc1f36c411d8bc1558ba9a65c33' headers: Host: api.easypost.com Accept-Encoding: '' @@ -87,8 +89,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -97,55 +98,59 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 0610ca3d6564ea98e787e2040013d1f5 + x-ep-request-uuid: e181587866bcebe3e2b8fbfd0086dfe1 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '54211' - x-runtime: '0.668248' - x-node: bigweb42nuq - x-version-label: easypost-202311250013-a0f06fbc2c-master + content-length: '40455' + x-runtime: '0.572680' + x-node: bigweb43nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-canary: direct + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"shipments":[{"created_at":"2023-11-22T20:39:20Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"delivered","tracking_code":"9400100105440282038214","updated_at":"2023-11-22T20:44:04Z","batch_id":"batch_8cc82917671348a08858767147fd51cf","batch_status":"postage_purchased","batch_message":null,"customs_info":null,"from_address":{"id":"adr_36694dd9897711eeb5a2ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:39:20+00:00","updated_at":"2023-11-22T20:39:20+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_58ce1dd9ad5f4cff9bb731ff1b9bf09a","object":"Parcel","created_at":"2023-11-22T20:39:20Z","updated_at":"2023-11-22T20:39:20Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_0f1b78e1e86a4be497880651c239ce67","created_at":"2023-11-22T20:39:20Z","updated_at":"2023-11-22T20:39:20Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:39: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\/20231122\/e80a8126087ee5484fbef00690afd1fc64.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_0452c77a317f471ea0741e58caa342db","object":"Rate","created_at":"2023-11-22T20:39:20Z","updated_at":"2023-11-22T20:39: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_8777c7f1a02042b1ab0986ed4858bca1","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_683925f8c2be4f51b0ba147faa4874ef","object":"Rate","created_at":"2023-11-22T20:39:20Z","updated_at":"2023-11-22T20:39: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_8777c7f1a02042b1ab0986ed4858bca1","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_cefbee93f71d408e969f0c8a2eeea7a6","object":"Rate","created_at":"2023-11-22T20:39:20Z","updated_at":"2023-11-22T20:39:20Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_8777c7f1a02042b1ab0986ed4858bca1","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_66d2ff8a5a5040bd80208952f6d4cc09","object":"Rate","created_at":"2023-11-22T20:39:20Z","updated_at":"2023-11-22T20:39:20Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_8777c7f1a02042b1ab0986ed4858bca1","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_e255ad2f3187411a983527569de3cab2","object":"Rate","created_at":"2023-11-22T20:39:20Z","updated_at":"2023-11-22T20:39:20Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_8777c7f1a02042b1ab0986ed4858bca1","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_66d2ff8a5a5040bd80208952f6d4cc09","object":"Rate","created_at":"2023-11-22T20:39:20Z","updated_at":"2023-11-22T20:39:20Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_8777c7f1a02042b1ab0986ed4858bca1","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_cb67f88ef39b4e1ebf77bf6e113e336a","object":"Tracker","mode":"test","tracking_code":"9400100105440282038214","status":"delivered","status_detail":"arrived_at_destination","created_at":"2023-11-22T20:39:21Z","updated_at":"2023-11-22T20:42:21Z","signed_by":"John Tester","weight":null,"est_delivery_date":"2023-11-22T20:42:21Z","shipment_id":"shp_8777c7f1a02042b1ab0986ed4858bca1","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:42: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-10-23T09:19:21Z","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-10-23T19:24:21Z","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-10-24T21:00:21Z","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-10-24T23:51:21Z","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-10-25T05:31:21Z","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-10-25T05:41:21Z","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-10-25T10:33:21Z","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-10-25T10:33:21Z"},"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2NiNjdmODhlZjM5YjRlMWViZjc3YmY2ZTExM2UzMzZh"},"to_address":{"id":"adr_36669513897711eea422ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:39:20+00:00","updated_at":"2023-11-22T20:39:20+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_36694dd9897711eeb5a2ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:39:20+00:00","updated_at":"2023-11-22T20:39:20+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_36669513897711eea422ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:39:20+00:00","updated_at":"2023-11-22T20:39:20+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_8777c7f1a02042b1ab0986ed4858bca1","object":"Shipment"},{"created_at":"2023-11-22T20:39:15Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"delivered","tracking_code":"9400100105440282038184","updated_at":"2023-11-22T20:44:01Z","batch_id":"batch_6dbee16c240c462d8846985369d98c51","batch_status":"postage_purchased","batch_message":null,"customs_info":null,"from_address":{"id":"adr_33af3df4897711eea0a63cecef1b359e","object":"Address","created_at":"2023-11-22T20:39:15+00:00","updated_at":"2023-11-22T20:39:15+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_83129bf8e0a8474db036adfd02052bbe","object":"Parcel","created_at":"2023-11-22T20:39:15Z","updated_at":"2023-11-22T20:39:15Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_d032c117b01d47efbe8e6226e4e6b1ed","created_at":"2023-11-22T20:39:16Z","updated_at":"2023-11-22T20:39:16Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:39: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\/20231122\/e89ef413c643104fcba3dd67a281c809d6.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_9479dd84b3164bfea125d6fa29c0a4ad","object":"Rate","created_at":"2023-11-22T20:39:15Z","updated_at":"2023-11-22T20:39:15Z","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_34ed05a77b58499e887639021f7c437e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_a78a77f8c5cd4631bbb6d522347821a7","object":"Rate","created_at":"2023-11-22T20:39:15Z","updated_at":"2023-11-22T20:39:15Z","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_34ed05a77b58499e887639021f7c437e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_9781115a280344d494e10cfc36fe9041","object":"Rate","created_at":"2023-11-22T20:39:15Z","updated_at":"2023-11-22T20:39:15Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_34ed05a77b58499e887639021f7c437e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_e3ea19f589b3408eb5b33315e1062a47","object":"Rate","created_at":"2023-11-22T20:39:15Z","updated_at":"2023-11-22T20:39:15Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_34ed05a77b58499e887639021f7c437e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_a2f1beb896364a78a9d49bbc38c273e7","object":"Rate","created_at":"2023-11-22T20:39:15Z","updated_at":"2023-11-22T20:39:15Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_34ed05a77b58499e887639021f7c437e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_e3ea19f589b3408eb5b33315e1062a47","object":"Rate","created_at":"2023-11-22T20:39:16Z","updated_at":"2023-11-22T20:39:16Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_34ed05a77b58499e887639021f7c437e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_f5ea380a67594b47ade67d23597284e3","object":"Tracker","mode":"test","tracking_code":"9400100105440282038184","status":"delivered","status_detail":"arrived_at_destination","created_at":"2023-11-22T20:39:16Z","updated_at":"2023-11-22T20:42:17Z","signed_by":"John Tester","weight":null,"est_delivery_date":"2023-11-22T20:42:16Z","shipment_id":"shp_34ed05a77b58499e887639021f7c437e","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20: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-10-23T09:19:16Z","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-10-23T19:24:16Z","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-10-24T21:00:16Z","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-10-24T23:51:16Z","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-10-25T05:31:16Z","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-10-25T05:41:16Z","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-10-25T10:33:16Z","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-10-25T10:33:16Z"},"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2Y1ZWEzODBhNjc1OTRiNDdhZGU2N2QyMzU5NzI4NGUz"},"to_address":{"id":"adr_33ad002b897711eeb3f3ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:39:15+00:00","updated_at":"2023-11-22T20:39:15+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_33af3df4897711eea0a63cecef1b359e","object":"Address","created_at":"2023-11-22T20:39:15+00:00","updated_at":"2023-11-22T20:39:15+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_33ad002b897711eeb3f3ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:39:15+00:00","updated_at":"2023-11-22T20:39:15+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_34ed05a77b58499e887639021f7c437e","object":"Shipment"},{"created_at":"2023-11-22T20:39:11Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"delivered","tracking_code":"9400100105440282038153","updated_at":"2023-11-22T20:44:40Z","batch_id":"batch_6184cb898a864230a7ddada4e36f1c6e","batch_status":"postage_purchased","batch_message":null,"customs_info":null,"from_address":{"id":"adr_31402509897711ee90f7ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:39:11+00:00","updated_at":"2023-11-22T20:39:11+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_3cf2a299698e4c34bb38afedaf7f3e7b","object":"Parcel","created_at":"2023-11-22T20:39:11Z","updated_at":"2023-11-22T20:39:11Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_135964fd2fc34a3aaf2265175238525f","created_at":"2023-11-22T20:39:12Z","updated_at":"2023-11-22T20:39:12Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:39: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\/20231122\/e8268c3592d79a40a482b0a08467ce27aa.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_46ec341566c348dd83723b2097fa521d","object":"Rate","created_at":"2023-11-22T20:39:11Z","updated_at":"2023-11-22T20:39: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_c5daf141c2b34799af3077bf9de5d9dd","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_c6e2859da232460d8bdafe9f256d5f2e","object":"Rate","created_at":"2023-11-22T20:39:11Z","updated_at":"2023-11-22T20:39: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_c5daf141c2b34799af3077bf9de5d9dd","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_70ff3eceb1ae4ce199536d53bde036a0","object":"Rate","created_at":"2023-11-22T20:39:11Z","updated_at":"2023-11-22T20:39:11Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c5daf141c2b34799af3077bf9de5d9dd","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_0613f66cba9544fc8add1e23cb015f8a","object":"Rate","created_at":"2023-11-22T20:39:11Z","updated_at":"2023-11-22T20:39:11Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c5daf141c2b34799af3077bf9de5d9dd","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_e1c694ea811240f599e93a44b143520f","object":"Rate","created_at":"2023-11-22T20:39:11Z","updated_at":"2023-11-22T20:39:11Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c5daf141c2b34799af3077bf9de5d9dd","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_0613f66cba9544fc8add1e23cb015f8a","object":"Rate","created_at":"2023-11-22T20:39:12Z","updated_at":"2023-11-22T20:39:12Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c5daf141c2b34799af3077bf9de5d9dd","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_9be55c49ae064544844e8370ae302dad","object":"Tracker","mode":"test","tracking_code":"9400100105440282038153","status":"delivered","status_detail":"arrived_at_destination","created_at":"2023-11-22T20:39:12Z","updated_at":"2023-11-22T20:42:12Z","signed_by":"John Tester","weight":null,"est_delivery_date":"2023-11-22T20:42:12Z","shipment_id":"shp_c5daf141c2b34799af3077bf9de5d9dd","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:42:12Z","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-10-23T09:19:12Z","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-10-23T19:24:12Z","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-10-24T21:00:12Z","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-10-24T23:51:12Z","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-10-25T05:31:12Z","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-10-25T05:41:12Z","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-10-25T10:33:12Z","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-10-25T10:33:12Z"},"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzliZTU1YzQ5YWUwNjQ1NDQ4NDRlODM3MGFlMzAyZGFk"},"to_address":{"id":"adr_313c850b897711eea13cac1f6bc53342","object":"Address","created_at":"2023-11-22T20:39:11+00:00","updated_at":"2023-11-22T20:39:11+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_31402509897711ee90f7ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:39:11+00:00","updated_at":"2023-11-22T20:39:11+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_313c850b897711eea13cac1f6bc53342","object":"Address","created_at":"2023-11-22T20:39:11+00:00","updated_at":"2023-11-22T20:39:11+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_c5daf141c2b34799af3077bf9de5d9dd","object":"Shipment"},{"created_at":"2023-11-22T20:39:08Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"delivered","tracking_code":"9400100105440282038122","updated_at":"2023-11-22T20:43:51Z","batch_id":"batch_5d4c29a704e6441a82517cada7292e15","batch_status":"postage_purchased","batch_message":null,"customs_info":null,"from_address":{"id":"adr_2faa5924897711eeb1b5ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:39:08+00:00","updated_at":"2023-11-22T20:39:08+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_26d9df3d269c49e2ae24ffb83cf6ba39","object":"Parcel","created_at":"2023-11-22T20:39:08Z","updated_at":"2023-11-22T20:39:08Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_0dcaa81fbd8243eeac283f0a98944b17","created_at":"2023-11-22T20:39:09Z","updated_at":"2023-11-22T20:39:09Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:39: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\/20231122\/e80c7a8695b0bd4518833fe046905cc329.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_bca2931e7546477bb949448580aecb77","object":"Rate","created_at":"2023-11-22T20:39:09Z","updated_at":"2023-11-22T20:39: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_2901fcf6b8b04b018713d037cfee5e10","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_27a8426642c948578b632e2650484a0e","object":"Rate","created_at":"2023-11-22T20:39:09Z","updated_at":"2023-11-22T20:39:09Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_2901fcf6b8b04b018713d037cfee5e10","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_06d6864906184e50b912929f13eeec89","object":"Rate","created_at":"2023-11-22T20:39:09Z","updated_at":"2023-11-22T20:39:09Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_2901fcf6b8b04b018713d037cfee5e10","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_a455f0b0f8ab4640b298825c08af563d","object":"Rate","created_at":"2023-11-22T20:39:09Z","updated_at":"2023-11-22T20:39:09Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_2901fcf6b8b04b018713d037cfee5e10","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_1987a09b1fad4eb2a948e266c382d4c2","object":"Rate","created_at":"2023-11-22T20:39:09Z","updated_at":"2023-11-22T20:39: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_2901fcf6b8b04b018713d037cfee5e10","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_06d6864906184e50b912929f13eeec89","object":"Rate","created_at":"2023-11-22T20:39:09Z","updated_at":"2023-11-22T20:39:09Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_2901fcf6b8b04b018713d037cfee5e10","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_93166a0905744d2ea5af34aa97d5f5d1","object":"Tracker","mode":"test","tracking_code":"9400100105440282038122","status":"delivered","status_detail":"arrived_at_destination","created_at":"2023-11-22T20:39:10Z","updated_at":"2023-11-22T20:42:10Z","signed_by":"John Tester","weight":null,"est_delivery_date":"2023-11-22T20:42:10Z","shipment_id":"shp_2901fcf6b8b04b018713d037cfee5e10","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:42:10Z","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-10-23T09:19:10Z","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-10-23T19:24:10Z","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-10-24T21:00:10Z","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-10-24T23:51:10Z","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-10-25T05:31:10Z","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-10-25T05:41:10Z","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-10-25T10:33:10Z","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-10-25T10:33:10Z"},"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzkzMTY2YTA5MDU3NDRkMmVhNWFmMzRhYTk3ZDVmNWQx"},"to_address":{"id":"adr_2fa7ef2b897711eea056ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:39:08+00:00","updated_at":"2023-11-22T20:39:09+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_2faa5924897711eeb1b5ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:39:08+00:00","updated_at":"2023-11-22T20:39:08+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_2fa7ef2b897711eea056ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:39:08+00:00","updated_at":"2023-11-22T20:39:09+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_2901fcf6b8b04b018713d037cfee5e10","object":"Shipment"},{"created_at":"2023-11-22T20:39:05Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"delivered","tracking_code":"9400100105440282038092","updated_at":"2023-11-22T20:43:36Z","batch_id":"batch_8f5417ba0807491f836a2790060c2d1f","batch_status":"postage_purchased","batch_message":null,"customs_info":null,"from_address":{"id":"adr_2db01ee6897711ee9d743cecef1b359e","object":"Address","created_at":"2023-11-22T20:39:05+00:00","updated_at":"2023-11-22T20:39:05+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_b00c346e64f249ccb011b893d62743dd","object":"Parcel","created_at":"2023-11-22T20:39:05Z","updated_at":"2023-11-22T20:39:05Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_83775be7bc554b5a94dfd6530035053d","created_at":"2023-11-22T20:39:06Z","updated_at":"2023-11-22T20:39:06Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:39: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\/20231122\/e87a9d8b16e6cc48d2b87b1c71903f30d8.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_3b7f2f1296634803a0f64ae1f78d50d9","object":"Rate","created_at":"2023-11-22T20:39:05Z","updated_at":"2023-11-22T20:39:05Z","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_c21fd0b837a34c0a88ffb4da5c8baf99","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_ac7555aa0e4b482fbb3b2e0b5115b0bb","object":"Rate","created_at":"2023-11-22T20:39:05Z","updated_at":"2023-11-22T20:39:05Z","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_c21fd0b837a34c0a88ffb4da5c8baf99","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_bd469e1cfe3c455ea4187f3ba9b3bc95","object":"Rate","created_at":"2023-11-22T20:39:05Z","updated_at":"2023-11-22T20:39:05Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c21fd0b837a34c0a88ffb4da5c8baf99","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_b2bfca87831e46ef804d22c970c3ea29","object":"Rate","created_at":"2023-11-22T20:39:05Z","updated_at":"2023-11-22T20:39:05Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c21fd0b837a34c0a88ffb4da5c8baf99","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_0ad434708e734c55863df07570f75258","object":"Rate","created_at":"2023-11-22T20:39:05Z","updated_at":"2023-11-22T20:39:05Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c21fd0b837a34c0a88ffb4da5c8baf99","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_b2bfca87831e46ef804d22c970c3ea29","object":"Rate","created_at":"2023-11-22T20:39:06Z","updated_at":"2023-11-22T20:39:06Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c21fd0b837a34c0a88ffb4da5c8baf99","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_844adc5b6b0e45688b7dfec56fdd9e12","object":"Tracker","mode":"test","tracking_code":"9400100105440282038092","status":"delivered","status_detail":"arrived_at_destination","created_at":"2023-11-22T20:39:06Z","updated_at":"2023-11-22T20:42:06Z","signed_by":"John Tester","weight":null,"est_delivery_date":"2023-11-22T20:42:06Z","shipment_id":"shp_c21fd0b837a34c0a88ffb4da5c8baf99","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:42: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-10-23T09:19:06Z","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-10-23T19:24:06Z","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-10-24T21:00:06Z","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-10-24T23:51:06Z","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-10-25T05:31:06Z","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-10-25T05:41:06Z","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-10-25T10:33:06Z","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-10-25T10:33:06Z"},"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzg0NGFkYzViNmIwZTQ1Njg4YjdkZmVjNTZmZGQ5ZTEy"},"to_address":{"id":"adr_2dadf8ca897711ee9d723cecef1b359e","object":"Address","created_at":"2023-11-22T20:39:05+00:00","updated_at":"2023-11-22T20:39:05+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_2db01ee6897711ee9d743cecef1b359e","object":"Address","created_at":"2023-11-22T20:39:05+00:00","updated_at":"2023-11-22T20:39:05+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_2dadf8ca897711ee9d723cecef1b359e","object":"Address","created_at":"2023-11-22T20:39:05+00:00","updated_at":"2023-11-22T20:39:05+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_c21fd0b837a34c0a88ffb4da5c8baf99","object":"Shipment"}],"has_more":true}' + body: '{"shipments":[{"created_at":"2024-08-14T17:39:28Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196740","updated_at":"2024-08-14T17:39:29Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_2828613c5a6411efba4d3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:28+00:00","updated_at":"2024-08-14T17:39:28+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_4fb0e8a6ba5c43a8abd333d36adb99ff","object":"Parcel","created_at":"2024-08-14T17:39:28Z","updated_at":"2024-08-14T17:39:28Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_c7f657c454d7460b99a6f9218da17503","created_at":"2024-08-14T17:39:29Z","updated_at":"2024-08-14T17:39:31Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39:29Z","label_resolution":300,"label_size":"4x6","label_type":"default","label_file_type":"image\/png","label_url":"https:\/\/easypost-files.s3.us-west-2.amazonaws.com\/files\/postage_label\/20240814\/e8bbc692c1ad734a53b34f3515e549ce0d.png","label_pdf_url":null,"label_zpl_url":"https:\/\/easypost-files.s3-us-west-2.amazonaws.com\/files\/postage_label\/20240814\/6f5558f42a214797a3e92bbd19f41bad.zpl","label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_ff38eb8717764b51883d7a6931e1fda1","object":"Rate","created_at":"2024-08-14T17:39:29Z","updated_at":"2024-08-14T17:39:29Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_a96dbe235d9c47398d9b7981c128a6d3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_f2ab6e3e536841008c203768d107fee9","object":"Rate","created_at":"2024-08-14T17:39:29Z","updated_at":"2024-08-14T17:39:29Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_a96dbe235d9c47398d9b7981c128a6d3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_690314791d5d4523aa5be5b79cb72b6d","object":"Rate","created_at":"2024-08-14T17:39:29Z","updated_at":"2024-08-14T17:39:29Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_a96dbe235d9c47398d9b7981c128a6d3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_f2ab6e3e536841008c203768d107fee9","object":"Rate","created_at":"2024-08-14T17:39:29Z","updated_at":"2024-08-14T17:39:29Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_a96dbe235d9c47398d9b7981c128a6d3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_3b321dfe2efa4539958695667175d318","object":"Tracker","mode":"test","tracking_code":"9400100105807075196740","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:29Z","updated_at":"2024-08-14T17:39:29Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:39:29Z","shipment_id":"shp_a96dbe235d9c47398d9b7981c128a6d3","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:39: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":"2024-07-15T06:16:29Z","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\/djE6dHJrXzNiMzIxZGZlMmVmYTQ1Mzk5NTg2OTU2NjcxNzVkMzE4"},"to_address":{"id":"adr_28234a815a6411efba4a3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:28+00:00","updated_at":"2024-08-14T17:39:29+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_2828613c5a6411efba4d3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:28+00:00","updated_at":"2024-08-14T17:39:28+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_28234a815a6411efba4a3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:28+00:00","updated_at":"2024-08-14T17:39:29+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_a96dbe235d9c47398d9b7981c128a6d3","object":"Shipment"},{"created_at":"2024-08-14T17:39:27Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196726","updated_at":"2024-08-14T17:39:28Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_273a41095a6411efb99f3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:27+00:00","updated_at":"2024-08-14T17:39:27+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_021c9070824c49ada117da4dff109ee8","object":"Parcel","created_at":"2024-08-14T17:39:27Z","updated_at":"2024-08-14T17:39:27Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_e88366428fa04e929c6ee9114117eb27","created_at":"2024-08-14T17:39:27Z","updated_at":"2024-08-14T17:39:28Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e83bc533c07baf4b6cbbcae28530d22f36.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_2e33ee3ebedb4e79bc8d38a9519c3fae","object":"Rate","created_at":"2024-08-14T17:39:28Z","updated_at":"2024-08-14T17:39:28Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_6c3ab9bd75f94e5c86d17833df41e1d2","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_ea42e7adafee422c8eef16338534793b","object":"Rate","created_at":"2024-08-14T17:39:28Z","updated_at":"2024-08-14T17:39:28Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_6c3ab9bd75f94e5c86d17833df41e1d2","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_5dbcc3f8d3f448ed846c418a812588de","object":"Rate","created_at":"2024-08-14T17:39:28Z","updated_at":"2024-08-14T17:39:28Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_6c3ab9bd75f94e5c86d17833df41e1d2","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_d38d65f859ae4093b4083024e8a201ff","object":"Rate","created_at":"2024-08-14T17:39:27Z","updated_at":"2024-08-14T17:39:27Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_6c3ab9bd75f94e5c86d17833df41e1d2","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_4f18bdbc47c34b9a82b233a22c6bb351","object":"Tracker","mode":"test","tracking_code":"9400100105807075196726","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:28Z","updated_at":"2024-08-14T17:39:28Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:39:28Z","shipment_id":"shp_6c3ab9bd75f94e5c86d17833df41e1d2","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:39:28Z","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":"2024-07-15T06:16:28Z","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\/djE6dHJrXzRmMThiZGJjNDdjMzRiOWE4MmIyMzNhMjJjNmJiMzUx"},"to_address":{"id":"adr_2738731b5a6411efbb2fac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:27+00:00","updated_at":"2024-08-14T17:39:27+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_273a41095a6411efb99f3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:27+00:00","updated_at":"2024-08-14T17:39:27+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_2738731b5a6411efbb2fac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:27+00:00","updated_at":"2024-08-14T17:39:27+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_6c3ab9bd75f94e5c86d17833df41e1d2","object":"Shipment"},{"created_at":"2024-08-14T17:39:25Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196672","updated_at":"2024-08-14T17:39:26Z","batch_id":"batch_d2dfdee2ef50488482917d23d61bca87","batch_status":"postage_purchased","batch_message":null,"customs_info":null,"from_address":{"id":"adr_25e712115a6411ef98b7ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:25+00:00","updated_at":"2024-08-14T17:39:25+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_f61e041b5c374850a6317ce08a89ad05","object":"Parcel","created_at":"2024-08-14T17:39:25Z","updated_at":"2024-08-14T17:39:25Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_b1ac0053c57c433d8f0828b8b4033486","created_at":"2024-08-14T17:39:25Z","updated_at":"2024-08-14T17:39:25Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e86d4c4f45e6a1474d9abaa806a1d0252c.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_8842e661a6ad46d386ed5cf20816ee0a","object":"Rate","created_at":"2024-08-14T17:39:25Z","updated_at":"2024-08-14T17:39:25Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_483b06b4b996466d9b12d487b2d7124c","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_5ec91ca506d943a784ba69c4aadd4ca7","object":"Rate","created_at":"2024-08-14T17:39:25Z","updated_at":"2024-08-14T17:39:25Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_483b06b4b996466d9b12d487b2d7124c","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_7ba96654986347d09b162ae6a10e250c","object":"Rate","created_at":"2024-08-14T17:39:25Z","updated_at":"2024-08-14T17:39:25Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_483b06b4b996466d9b12d487b2d7124c","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":{"id":"sf_193361dbe3604ec78da5c88343f14f89","object":"ScanForm","created_at":"2024-08-14T17:39:26Z","updated_at":"2024-08-14T17:39:26Z","tracking_codes":["9400100105807075196672"],"address":{"id":"adr_25e712115a6411ef98b7ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:25+00:00","updated_at":"2024-08-14T17:39:25+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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\/20240814\/e852b4b91e3ab1459a9909fcad952c5588.pdf","form_file_type":null,"batch_id":"batch_d2dfdee2ef50488482917d23d61bca87","confirmation":null},"selected_rate":{"id":"rate_5ec91ca506d943a784ba69c4aadd4ca7","object":"Rate","created_at":"2024-08-14T17:39:25Z","updated_at":"2024-08-14T17:39:25Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_483b06b4b996466d9b12d487b2d7124c","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_50513a7bbd0640e5ad1db89098d2f862","object":"Tracker","mode":"test","tracking_code":"9400100105807075196672","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:26Z","updated_at":"2024-08-14T17:39:26Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:39:26Z","shipment_id":"shp_483b06b4b996466d9b12d487b2d7124c","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:39:26Z","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":"2024-07-15T06:16:26Z","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\/djE6dHJrXzUwNTEzYTdiYmQwNjQwZTVhZDFkYjg5MDk4ZDJmODYy"},"to_address":{"id":"adr_25e40aa65a6411efb8d73cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:25+00:00","updated_at":"2024-08-14T17:39:25+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_25e712115a6411ef98b7ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:25+00:00","updated_at":"2024-08-14T17:39:25+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_25e40aa65a6411efb8d73cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:25+00:00","updated_at":"2024-08-14T17:39:25+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_483b06b4b996466d9b12d487b2d7124c","object":"Shipment"},{"created_at":"2024-08-14T17:39:23Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196641","updated_at":"2024-08-14T17:39:24Z","batch_id":"batch_27eefa02ea334c7d90665ad0cdf29410","batch_status":"postage_purchased","batch_message":null,"customs_info":null,"from_address":{"id":"adr_24cc7c495a6411ef981fac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:23+00:00","updated_at":"2024-08-14T17:39:23+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_bee7e21f564743aabb8dbde22d8923fe","object":"Parcel","created_at":"2024-08-14T17:39:23Z","updated_at":"2024-08-14T17:39:23Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_09a1d889e7cc4502bc4c31f0c0287e18","created_at":"2024-08-14T17:39:23Z","updated_at":"2024-08-14T17:39:24Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e8be779184fbdd40f0bfbb9bcb09cc172c.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_48570cb46c5d413aa1c1e1eea2e8299b","object":"Rate","created_at":"2024-08-14T17:39:23Z","updated_at":"2024-08-14T17:39:23Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_af6b85af44a34a318f62843db97f8f8e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_179050177eeb4fa2848d9c87d073eab3","object":"Rate","created_at":"2024-08-14T17:39:23Z","updated_at":"2024-08-14T17:39:23Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_af6b85af44a34a318f62843db97f8f8e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_287998183e544643b5f623c2e7729d2a","object":"Rate","created_at":"2024-08-14T17:39:23Z","updated_at":"2024-08-14T17:39:23Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_af6b85af44a34a318f62843db97f8f8e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":{"id":"sf_8c3b3e24d7d44f36a9c5a511049ecb2f","object":"ScanForm","created_at":"2024-08-14T17:39:24Z","updated_at":"2024-08-14T17:39:24Z","tracking_codes":["9400100105807075196641"],"address":{"id":"adr_24cc7c495a6411ef981fac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:23+00:00","updated_at":"2024-08-14T17:39:23+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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\/20240814\/e8adb9cd78fc8a42d9b67f23ab711165c6.pdf","form_file_type":null,"batch_id":"batch_27eefa02ea334c7d90665ad0cdf29410","confirmation":null},"selected_rate":{"id":"rate_287998183e544643b5f623c2e7729d2a","object":"Rate","created_at":"2024-08-14T17:39:24Z","updated_at":"2024-08-14T17:39:24Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_af6b85af44a34a318f62843db97f8f8e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_7b3903cbc44d4fe2af0d3a13711966f5","object":"Tracker","mode":"test","tracking_code":"9400100105807075196641","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:24Z","updated_at":"2024-08-14T17:39:24Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:39:24Z","shipment_id":"shp_af6b85af44a34a318f62843db97f8f8e","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:39: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":"2024-07-15T06:16: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\/djE6dHJrXzdiMzkwM2NiYzQ0ZDRmZTJhZjBkM2ExMzcxMTk2NmY1"},"to_address":{"id":"adr_24ca1b915a6411efaadeac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:23+00:00","updated_at":"2024-08-14T17:39:23+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_24cc7c495a6411ef981fac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:23+00:00","updated_at":"2024-08-14T17:39:23+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_24ca1b915a6411efaadeac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:23+00:00","updated_at":"2024-08-14T17:39:23+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_af6b85af44a34a318f62843db97f8f8e","object":"Shipment"},{"created_at":"2024-08-14T17:39:21Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196603","updated_at":"2024-08-14T17:39:22Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_2376e09c5a6411efb7a23cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:20+00:00","updated_at":"2024-08-14T17:39:20+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_6590bfc884a3414aa2cf33d6d018f058","object":"Parcel","created_at":"2024-08-14T17:39:21Z","updated_at":"2024-08-14T17:39:21Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_c371b9a83d2e40828f977234bff49444","created_at":"2024-08-14T17:39:21Z","updated_at":"2024-08-14T17:39:21Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e84524d20967dd4c589363e13df3322730.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_42d52c8debaa407aa90dda98e42f9aba","object":"Rate","created_at":"2024-08-14T17:39:21Z","updated_at":"2024-08-14T17:39:21Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c1bfabbf012845fca34e61aa50ad0d19","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_5bb7787808c24d1eafda6bf31e477564","object":"Rate","created_at":"2024-08-14T17:39:21Z","updated_at":"2024-08-14T17:39:21Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_c1bfabbf012845fca34e61aa50ad0d19","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_b77ef8611454491ca817c5633216d5a9","object":"Rate","created_at":"2024-08-14T17:39:21Z","updated_at":"2024-08-14T17:39:21Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_c1bfabbf012845fca34e61aa50ad0d19","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":"submitted","scan_form":null,"selected_rate":{"id":"rate_42d52c8debaa407aa90dda98e42f9aba","object":"Rate","created_at":"2024-08-14T17:39:21Z","updated_at":"2024-08-14T17:39:21Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c1bfabbf012845fca34e61aa50ad0d19","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_a432feb8a7374b5badb573ae10e3af75","object":"Tracker","mode":"test","tracking_code":"9400100105807075196603","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:22Z","updated_at":"2024-08-14T17:39:22Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:39:22Z","shipment_id":"shp_c1bfabbf012845fca34e61aa50ad0d19","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:39: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":"2024-07-15T06:16:22Z","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\/djE6dHJrX2E0MzJmZWI4YTczNzRiNWJhZGI1NzNhZTEwZTNhZjc1"},"to_address":{"id":"adr_2373157f5a6411efb79f3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:20+00:00","updated_at":"2024-08-14T17:39:21+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_2376e09c5a6411efb7a23cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:20+00:00","updated_at":"2024-08-14T17:39:20+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_2373157f5a6411efb79f3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:20+00:00","updated_at":"2024-08-14T17:39:21+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_c1bfabbf012845fca34e61aa50ad0d19","object":"Shipment"}],"has_more":true}' curl_info: - url: 'https://api.easypost.com/v2/shipments?page_size=5&before_id=shp_aaccf5851734473085f89bb9a271b458' + url: 'https://api.easypost.com/v2/shipments?page_size=5&before_id=shp_23808cc1f36c411d8bc1558ba9a65c33' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 690 + header_size: 708 request_size: 345 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.986511 - namelookup_time: 0.001787 - connect_time: 0.064017 - pretransfer_time: 0.127585 + total_time: 0.698108 + namelookup_time: 0.002135 + connect_time: 0.031018 + pretransfer_time: 0.06291 size_upload: 0.0 - size_download: 54211.0 - speed_download: 54952.0 + size_download: 40455.0 + speed_download: 57949.0 speed_upload: 0.0 - download_content_length: 54211.0 + download_content_length: 40455.0 upload_content_length: 0.0 - starttransfer_time: 0.859868 + starttransfer_time: 0.668274 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.31 - local_port: 52934 + local_ip: 192.168.1.75 + local_port: 52688 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 127559 - connect_time_us: 64017 - namelookup_time_us: 1787 - pretransfer_time_us: 127585 + scheme: https + appconnect_time_us: 62865 + connect_time_us: 31018 + namelookup_time_us: 2135 + pretransfer_time_us: 62910 redirect_time_us: 0 - starttransfer_time_us: 859868 - total_time_us: 986511 + starttransfer_time_us: 668274 + total_time_us: 698108 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/shipments/insure.yml b/test/cassettes/shipments/insure.yml index 54ffc481..98b961b6 100644 --- a/test/cassettes/shipments/insure.yml +++ b/test/cassettes/shipments/insure.yml @@ -11,11 +11,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"First","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS","insurance":"0"}}' + body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"GroundAdvantage","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS","insurance":"0"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,64 +23,66 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911a655e64d2e7885900001fabfa + x-ep-request-uuid: e181587966bcebd6e2b8fb980086d5c0 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_cbe02bd6777348fa8876f2687ef89c59 + location: /api/v2/shipments/shp_75f36d03b846491ab887bffa037e3173 content-type: 'application/json; charset=utf-8' - content-length: '7526' - x-runtime: '0.935257' - x-node: bigweb43nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '6456' + x-runtime: '0.958658' + x-node: bigweb38nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:10Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105440282035787","updated_at":"2023-11-22T20:30:11Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_ef07e58f897511ee862a3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:10+00:00","updated_at":"2023-11-22T20:30:10+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_ca1dac24ad3c4e9ba92811b3749797c5","object":"Parcel","created_at":"2023-11-22T20:30:10Z","updated_at":"2023-11-22T20:30:10Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_2f0ed85deaa941ca8ddd2fb362a17d01","created_at":"2023-11-22T20:30:11Z","updated_at":"2023-11-22T20:30:11Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:30: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\/20231122\/e87948d71a5d0f4673b36eb51ed907b083.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_b1d5f24228954242bc7ddb61c9c2dcaf","object":"Rate","created_at":"2023-11-22T20:30:11Z","updated_at":"2023-11-22T20:30: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_cbe02bd6777348fa8876f2687ef89c59","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_e7eb53a732844045b1659ef8852d3d7c","object":"Rate","created_at":"2023-11-22T20:30:11Z","updated_at":"2023-11-22T20:30: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_cbe02bd6777348fa8876f2687ef89c59","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_399e29f8a94d433985635ec94b849e4c","object":"Rate","created_at":"2023-11-22T20:30:11Z","updated_at":"2023-11-22T20:30:11Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_cbe02bd6777348fa8876f2687ef89c59","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_3e9b62226ca9471c9af3676bad437fbd","object":"Rate","created_at":"2023-11-22T20:30:11Z","updated_at":"2023-11-22T20:30:11Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_cbe02bd6777348fa8876f2687ef89c59","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_71a711f06b3d49cebc4f763865faca0a","object":"Rate","created_at":"2023-11-22T20:30:11Z","updated_at":"2023-11-22T20:30:11Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_cbe02bd6777348fa8876f2687ef89c59","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_3e9b62226ca9471c9af3676bad437fbd","object":"Rate","created_at":"2023-11-22T20:30:11Z","updated_at":"2023-11-22T20:30:11Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_cbe02bd6777348fa8876f2687ef89c59","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_12d07550d2924a1fa9049f7d7d39ec2d","object":"Tracker","mode":"test","tracking_code":"9400100105440282035787","status":"unknown","status_detail":"unknown","created_at":"2023-11-22T20:30:11Z","updated_at":"2023-11-22T20:30:11Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_cbe02bd6777348fa8876f2687ef89c59","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzEyZDA3NTUwZDI5MjRhMWZhOTA0OWY3ZDdkMzllYzJk"},"to_address":{"id":"adr_ef05e8a9897511eeb70fac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:10+00:00","updated_at":"2023-11-22T20:30:11+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_ef07e58f897511ee862a3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:10+00:00","updated_at":"2023-11-22T20:30:10+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_ef05e8a9897511eeb70fac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:10+00:00","updated_at":"2023-11-22T20:30:11+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false}],"id":"shp_cbe02bd6777348fa8876f2687ef89c59","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:34Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196801","updated_at":"2024-08-14T17:39:35Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_2ba121625a6411efaf23ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:34+00:00","updated_at":"2024-08-14T17:39:34+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_8fda771a7c3241ec8c9d9e7d8fced321","object":"Parcel","created_at":"2024-08-14T17:39:34Z","updated_at":"2024-08-14T17:39:34Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_1f5d04f308e0443ea56e40fd3423ec53","created_at":"2024-08-14T17:39:35Z","updated_at":"2024-08-14T17:39:35Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39:35Z","label_resolution":300,"label_size":"4x6","label_type":"default","label_file_type":"image\/png","label_url":"https:\/\/easypost-files.s3.us-west-2.amazonaws.com\/files\/postage_label\/20240814\/e818d8a21023df45a68863b3e4eacdba9e.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_82371fb50acd4b6a9e23873ad4c61920","object":"Rate","created_at":"2024-08-14T17:39:34Z","updated_at":"2024-08-14T17:39:34Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_75f36d03b846491ab887bffa037e3173","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_6b3533d9b2c74de887d8841e05052adc","object":"Rate","created_at":"2024-08-14T17:39:34Z","updated_at":"2024-08-14T17:39:34Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_75f36d03b846491ab887bffa037e3173","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_930e9471f0d9419c9cbf374255e7fa55","object":"Rate","created_at":"2024-08-14T17:39:34Z","updated_at":"2024-08-14T17:39:34Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_75f36d03b846491ab887bffa037e3173","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_930e9471f0d9419c9cbf374255e7fa55","object":"Rate","created_at":"2024-08-14T17:39:35Z","updated_at":"2024-08-14T17:39:35Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_75f36d03b846491ab887bffa037e3173","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_f759177d8e254a839e400d6f68ab8efd","object":"Tracker","mode":"test","tracking_code":"9400100105807075196801","status":"unknown","status_detail":"unknown","created_at":"2024-08-14T17:39:35Z","updated_at":"2024-08-14T17:39:35Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_75f36d03b846491ab887bffa037e3173","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2Y3NTkxNzdkOGUyNTRhODM5ZTQwMGQ2ZjY4YWI4ZWZk"},"to_address":{"id":"adr_2b9e691b5a6411ef9c75ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:34+00:00","updated_at":"2024-08-14T17:39:34+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_2ba121625a6411efaf23ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:34+00:00","updated_at":"2024-08-14T17:39:34+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_2b9e691b5a6411ef9c75ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:34+00:00","updated_at":"2024-08-14T17:39:34+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false}],"id":"shp_75f36d03b846491ab887bffa037e3173","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 778 - request_size: 877 + header_size: 760 + request_size: 887 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.13384 - namelookup_time: 0.001223 - connect_time: 0.069802 - pretransfer_time: 0.133482 - size_upload: 569.0 - size_download: 7526.0 - speed_download: 6637.0 - speed_upload: 501.0 - download_content_length: 7526.0 - upload_content_length: 569.0 - starttransfer_time: 1.133555 + total_time: 1.069864 + namelookup_time: 0.002402 + connect_time: 0.035565 + pretransfer_time: 0.070787 + size_upload: 579.0 + size_download: 6456.0 + speed_download: 6034.0 + speed_upload: 541.0 + download_content_length: 6456.0 + upload_content_length: 579.0 + starttransfer_time: 1.069792 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53425 + local_ip: 192.168.1.75 + local_port: 52656 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 133448 - connect_time_us: 69802 - namelookup_time_us: 1223 - pretransfer_time_us: 133482 + scheme: https + appconnect_time_us: 70721 + connect_time_us: 35565 + namelookup_time_us: 2402 + pretransfer_time_us: 70787 redirect_time_us: 0 - starttransfer_time_us: 1133555 - total_time_us: 1133840 + starttransfer_time_us: 1069792 + total_time_us: 1069864 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: POST - url: 'https://api.easypost.com/v2/shipments/shp_cbe02bd6777348fa8876f2687ef89c59/insure' + url: 'https://api.easypost.com/v2/shipments/shp_75f36d03b846491ab887bffa037e3173/insure' headers: Host: api.easypost.com Expect: '' @@ -93,8 +94,7 @@ body: '{"amount":"100"}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -103,56 +103,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911b655e64d4e7885901001fad9f + x-ep-request-uuid: e181587666bcebd7e2b8fb990086d691 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '8750' - x-runtime: '0.215457' - x-node: bigweb32nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '7680' + x-runtime: '0.333495' + x-node: bigweb34nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:10Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105440282035787","updated_at":"2023-11-22T20:30:11Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_ef07e58f897511ee862a3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:10+00:00","updated_at":"2023-11-22T20:30:10+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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_ca1dac24ad3c4e9ba92811b3749797c5","object":"Parcel","created_at":"2023-11-22T20:30:10Z","updated_at":"2023-11-22T20:30:10Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_2f0ed85deaa941ca8ddd2fb362a17d01","created_at":"2023-11-22T20:30:11Z","updated_at":"2023-11-22T20:30:11Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:30: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\/20231122\/e87948d71a5d0f4673b36eb51ed907b083.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_b1d5f24228954242bc7ddb61c9c2dcaf","object":"Rate","created_at":"2023-11-22T20:30:11Z","updated_at":"2023-11-22T20:30: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_cbe02bd6777348fa8876f2687ef89c59","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_e7eb53a732844045b1659ef8852d3d7c","object":"Rate","created_at":"2023-11-22T20:30:11Z","updated_at":"2023-11-22T20:30: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_cbe02bd6777348fa8876f2687ef89c59","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_399e29f8a94d433985635ec94b849e4c","object":"Rate","created_at":"2023-11-22T20:30:11Z","updated_at":"2023-11-22T20:30:11Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_cbe02bd6777348fa8876f2687ef89c59","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_3e9b62226ca9471c9af3676bad437fbd","object":"Rate","created_at":"2023-11-22T20:30:11Z","updated_at":"2023-11-22T20:30:11Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_cbe02bd6777348fa8876f2687ef89c59","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_71a711f06b3d49cebc4f763865faca0a","object":"Rate","created_at":"2023-11-22T20:30:11Z","updated_at":"2023-11-22T20:30:11Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_cbe02bd6777348fa8876f2687ef89c59","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_3e9b62226ca9471c9af3676bad437fbd","object":"Rate","created_at":"2023-11-22T20:30:11Z","updated_at":"2023-11-22T20:30:11Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_cbe02bd6777348fa8876f2687ef89c59","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_12d07550d2924a1fa9049f7d7d39ec2d","object":"Tracker","mode":"test","tracking_code":"9400100105440282035787","status":"pre_transit","status_detail":"status_update","created_at":"2023-11-22T20:30:11Z","updated_at":"2023-11-22T20:30:11Z","signed_by":null,"weight":null,"est_delivery_date":"2023-11-22T20:30:11Z","shipment_id":"shp_cbe02bd6777348fa8876f2687ef89c59","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:30: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-10-23T09:07: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\/djE6dHJrXzEyZDA3NTUwZDI5MjRhMWZhOTA0OWY3ZDdkMzllYzJk"},"to_address":{"id":"adr_ef05e8a9897511eeb70fac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:10+00:00","updated_at":"2023-11-22T20:30:11+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_ef07e58f897511ee862a3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:10+00:00","updated_at":"2023-11-22T20:30:10+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_ef05e8a9897511eeb70fac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:10+00:00","updated_at":"2023-11-22T20:30:11+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_cbe02bd6777348fa8876f2687ef89c59","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:34Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196801","updated_at":"2024-08-14T17:39:35Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_2ba121625a6411efaf23ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:34+00:00","updated_at":"2024-08-14T17:39:34+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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_8fda771a7c3241ec8c9d9e7d8fced321","object":"Parcel","created_at":"2024-08-14T17:39:34Z","updated_at":"2024-08-14T17:39:34Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_1f5d04f308e0443ea56e40fd3423ec53","created_at":"2024-08-14T17:39:35Z","updated_at":"2024-08-14T17:39:35Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39:35Z","label_resolution":300,"label_size":"4x6","label_type":"default","label_file_type":"image\/png","label_url":"https:\/\/easypost-files.s3.us-west-2.amazonaws.com\/files\/postage_label\/20240814\/e818d8a21023df45a68863b3e4eacdba9e.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_82371fb50acd4b6a9e23873ad4c61920","object":"Rate","created_at":"2024-08-14T17:39:34Z","updated_at":"2024-08-14T17:39:34Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_75f36d03b846491ab887bffa037e3173","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_6b3533d9b2c74de887d8841e05052adc","object":"Rate","created_at":"2024-08-14T17:39:34Z","updated_at":"2024-08-14T17:39:34Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_75f36d03b846491ab887bffa037e3173","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_930e9471f0d9419c9cbf374255e7fa55","object":"Rate","created_at":"2024-08-14T17:39:34Z","updated_at":"2024-08-14T17:39:34Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_75f36d03b846491ab887bffa037e3173","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_930e9471f0d9419c9cbf374255e7fa55","object":"Rate","created_at":"2024-08-14T17:39:35Z","updated_at":"2024-08-14T17:39:35Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_75f36d03b846491ab887bffa037e3173","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_f759177d8e254a839e400d6f68ab8efd","object":"Tracker","mode":"test","tracking_code":"9400100105807075196801","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:35Z","updated_at":"2024-08-14T17:39:35Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:39:35Z","shipment_id":"shp_75f36d03b846491ab887bffa037e3173","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:39: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":"2024-07-15T06:16:35Z","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\/djE6dHJrX2Y3NTkxNzdkOGUyNTRhODM5ZTQwMGQ2ZjY4YWI4ZWZk"},"to_address":{"id":"adr_2b9e691b5a6411ef9c75ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:34+00:00","updated_at":"2024-08-14T17:39:34+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_2ba121625a6411efaf23ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:34+00:00","updated_at":"2024-08-14T17:39:34+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_2b9e691b5a6411ef9c75ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:34+00:00","updated_at":"2024-08-14T17:39:34+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_75f36d03b846491ab887bffa037e3173","object":"Shipment"}' curl_info: - url: 'https://api.easypost.com/v2/shipments/shp_cbe02bd6777348fa8876f2687ef89c59/insure' + url: 'https://api.easypost.com/v2/shipments/shp_75f36d03b846491ab887bffa037e3173/insure' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 707 + header_size: 689 request_size: 367 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.411619 - namelookup_time: 0.001561 - connect_time: 0.066066 - pretransfer_time: 0.131112 + total_time: 0.434367 + namelookup_time: 0.002473 + connect_time: 0.032094 + pretransfer_time: 0.063868 size_upload: 16.0 - size_download: 8750.0 - speed_download: 21257.0 - speed_upload: 38.0 - download_content_length: 8750.0 + size_download: 7680.0 + speed_download: 17680.0 + speed_upload: 36.0 + download_content_length: 7680.0 upload_content_length: 16.0 - starttransfer_time: 0.411555 + starttransfer_time: 0.434329 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53426 + local_ip: 192.168.1.75 + local_port: 52657 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 131085 - connect_time_us: 66066 - namelookup_time_us: 1561 - pretransfer_time_us: 131112 + scheme: https + appconnect_time_us: 63814 + connect_time_us: 32094 + namelookup_time_us: 2473 + pretransfer_time_us: 63868 redirect_time_us: 0 - starttransfer_time_us: 411555 - total_time_us: 411619 + starttransfer_time_us: 434329 + total_time_us: 434367 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/shipments/insureUnwrappedParam.yml b/test/cassettes/shipments/insureUnwrappedParam.yml index 82ee2095..4d4b8ce5 100644 --- a/test/cassettes/shipments/insureUnwrappedParam.yml +++ b/test/cassettes/shipments/insureUnwrappedParam.yml @@ -11,11 +11,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"First","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS","insurance":"0"}}' + body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"GroundAdvantage","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS","insurance":"0"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,63 +23,67 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef9121655e64d1e78858fd001fa9cd + x-ep-request-uuid: e181587666bcebd8e2b8fb9a0086d6e8 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_7a808fa35ace4ddcb7e1e34d297fdf93 + location: /api/v2/shipments/shp_ad4513abccbd4df491b6b09d86ed0a0a content-type: 'application/json; charset=utf-8' - content-length: '7526' - x-runtime: '0.941136' - x-node: bigweb40nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '6456' + x-runtime: '1.013585' + x-node: bigweb32nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-canary: direct + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:09Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105440282035770","updated_at":"2023-11-22T20:30:10Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_ee0119cb897511eeb660ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:09+00:00","updated_at":"2023-11-22T20:30:09+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_4f2d3baf2e0c458ab484fdb452a297ec","object":"Parcel","created_at":"2023-11-22T20:30:09Z","updated_at":"2023-11-22T20:30:09Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_5828e00558d34e5b81491fe46acad171","created_at":"2023-11-22T20:30:09Z","updated_at":"2023-11-22T20:30:09Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:30: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\/20231122\/e8ba7b49b005fe49d7b34f524d74bb148f.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_fc420528f69c4f4ea4f180ec4a5f5b5e","object":"Rate","created_at":"2023-11-22T20:30:09Z","updated_at":"2023-11-22T20:30: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_7a808fa35ace4ddcb7e1e34d297fdf93","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_05f717701760452f8da1c99002ea1d51","object":"Rate","created_at":"2023-11-22T20:30:09Z","updated_at":"2023-11-22T20:30: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_7a808fa35ace4ddcb7e1e34d297fdf93","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_7b6fe4047c79409d87b952c914911211","object":"Rate","created_at":"2023-11-22T20:30:09Z","updated_at":"2023-11-22T20:30:09Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7a808fa35ace4ddcb7e1e34d297fdf93","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_88046dd04a3a4bc39e0d086fb68c15bb","object":"Rate","created_at":"2023-11-22T20:30:09Z","updated_at":"2023-11-22T20:30:09Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7a808fa35ace4ddcb7e1e34d297fdf93","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_b7e84a8e705e460a9013a27c0f912d0d","object":"Rate","created_at":"2023-11-22T20:30:09Z","updated_at":"2023-11-22T20:30:09Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7a808fa35ace4ddcb7e1e34d297fdf93","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_88046dd04a3a4bc39e0d086fb68c15bb","object":"Rate","created_at":"2023-11-22T20:30:09Z","updated_at":"2023-11-22T20:30:09Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7a808fa35ace4ddcb7e1e34d297fdf93","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_c66ddab22c614a5b9df073cbd9571580","object":"Tracker","mode":"test","tracking_code":"9400100105440282035770","status":"unknown","status_detail":"unknown","created_at":"2023-11-22T20:30:10Z","updated_at":"2023-11-22T20:30:10Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_7a808fa35ace4ddcb7e1e34d297fdf93","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2M2NmRkYWIyMmM2MTRhNWI5ZGYwNzNjYmQ5NTcxNTgw"},"to_address":{"id":"adr_edfea077897511eeb65eac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:09+00:00","updated_at":"2023-11-22T20:30:09+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_ee0119cb897511eeb660ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:09+00:00","updated_at":"2023-11-22T20:30:09+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_edfea077897511eeb65eac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:09+00:00","updated_at":"2023-11-22T20:30:09+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false}],"id":"shp_7a808fa35ace4ddcb7e1e34d297fdf93","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:36Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196832","updated_at":"2024-08-14T17:39:37Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_2c8f47175a6411ef9cd1ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:36+00:00","updated_at":"2024-08-14T17:39:36+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_ffa7ef6d0090413ea04295b0e63f6fc6","object":"Parcel","created_at":"2024-08-14T17:39:36Z","updated_at":"2024-08-14T17:39:36Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_125bff1c6a0a49a5ab170ade47bad9ab","created_at":"2024-08-14T17:39:36Z","updated_at":"2024-08-14T17:39:37Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e8f2cd447483db497ea9e713def9be9872.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_ff81b8e6ff3c44908efd769c6ced1550","object":"Rate","created_at":"2024-08-14T17:39:36Z","updated_at":"2024-08-14T17:39:36Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_ad4513abccbd4df491b6b09d86ed0a0a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_8efbdd57429e410da75488647e4bf71d","object":"Rate","created_at":"2024-08-14T17:39:36Z","updated_at":"2024-08-14T17:39:36Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_ad4513abccbd4df491b6b09d86ed0a0a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_1857afe819314fe49452083a6a8a14cf","object":"Rate","created_at":"2024-08-14T17:39:36Z","updated_at":"2024-08-14T17:39:36Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_ad4513abccbd4df491b6b09d86ed0a0a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_8efbdd57429e410da75488647e4bf71d","object":"Rate","created_at":"2024-08-14T17:39:36Z","updated_at":"2024-08-14T17:39:36Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_ad4513abccbd4df491b6b09d86ed0a0a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_da65710ff1074295b1739949745b4437","object":"Tracker","mode":"test","tracking_code":"9400100105807075196832","status":"unknown","status_detail":"unknown","created_at":"2024-08-14T17:39:37Z","updated_at":"2024-08-14T17:39:37Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_ad4513abccbd4df491b6b09d86ed0a0a","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2RhNjU3MTBmZjEwNzQyOTViMTczOTk0OTc0NWI0NDM3"},"to_address":{"id":"adr_2c8ca37a5a6411efaf7cac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:36+00:00","updated_at":"2024-08-14T17:39:36+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_2c8f47175a6411ef9cd1ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:36+00:00","updated_at":"2024-08-14T17:39:36+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_2c8ca37a5a6411efaf7cac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:36+00:00","updated_at":"2024-08-14T17:39:36+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false}],"id":"shp_ad4513abccbd4df491b6b09d86ed0a0a","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 760 - request_size: 877 + header_size: 778 + request_size: 887 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.141145 - namelookup_time: 0.001479 - connect_time: 0.068198 - pretransfer_time: 0.134815 - size_upload: 569.0 - size_download: 7526.0 - speed_download: 6595.0 - speed_upload: 498.0 - download_content_length: 7526.0 - upload_content_length: 569.0 - starttransfer_time: 1.140909 + total_time: 1.120037 + namelookup_time: 0.002083 + connect_time: 0.035179 + pretransfer_time: 0.070111 + size_upload: 579.0 + size_download: 6456.0 + speed_download: 5764.0 + speed_upload: 516.0 + download_content_length: 6456.0 + upload_content_length: 579.0 + starttransfer_time: 1.119996 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53422 + local_ip: 192.168.1.75 + local_port: 52658 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 134786 - connect_time_us: 68198 - namelookup_time_us: 1479 - pretransfer_time_us: 134815 + scheme: https + appconnect_time_us: 70068 + connect_time_us: 35179 + namelookup_time_us: 2083 + pretransfer_time_us: 70111 redirect_time_us: 0 - starttransfer_time_us: 1140909 - total_time_us: 1141145 + starttransfer_time_us: 1119996 + total_time_us: 1120037 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: POST - url: 'https://api.easypost.com/v2/shipments/shp_7a808fa35ace4ddcb7e1e34d297fdf93/insure' + url: 'https://api.easypost.com/v2/shipments/shp_ad4513abccbd4df491b6b09d86ed0a0a/insure' headers: Host: api.easypost.com Expect: '' @@ -92,8 +95,7 @@ body: '{"amount":"100"}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -102,55 +104,59 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911a655e64d2e78858ff001fab68 + x-ep-request-uuid: e181587b66bcebd9e2b8fb9b0086d7b6 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '8750' - x-runtime: '0.187822' - x-node: bigweb31nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '7680' + x-runtime: '0.440329' + x-node: bigweb43nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-canary: direct + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:09Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105440282035770","updated_at":"2023-11-22T20:30:10Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_ee0119cb897511eeb660ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:09+00:00","updated_at":"2023-11-22T20:30:09+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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_4f2d3baf2e0c458ab484fdb452a297ec","object":"Parcel","created_at":"2023-11-22T20:30:09Z","updated_at":"2023-11-22T20:30:09Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_5828e00558d34e5b81491fe46acad171","created_at":"2023-11-22T20:30:09Z","updated_at":"2023-11-22T20:30:09Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:30: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\/20231122\/e8ba7b49b005fe49d7b34f524d74bb148f.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_fc420528f69c4f4ea4f180ec4a5f5b5e","object":"Rate","created_at":"2023-11-22T20:30:09Z","updated_at":"2023-11-22T20:30: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_7a808fa35ace4ddcb7e1e34d297fdf93","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_05f717701760452f8da1c99002ea1d51","object":"Rate","created_at":"2023-11-22T20:30:09Z","updated_at":"2023-11-22T20:30: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_7a808fa35ace4ddcb7e1e34d297fdf93","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_7b6fe4047c79409d87b952c914911211","object":"Rate","created_at":"2023-11-22T20:30:09Z","updated_at":"2023-11-22T20:30:09Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7a808fa35ace4ddcb7e1e34d297fdf93","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_88046dd04a3a4bc39e0d086fb68c15bb","object":"Rate","created_at":"2023-11-22T20:30:09Z","updated_at":"2023-11-22T20:30:09Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7a808fa35ace4ddcb7e1e34d297fdf93","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_b7e84a8e705e460a9013a27c0f912d0d","object":"Rate","created_at":"2023-11-22T20:30:09Z","updated_at":"2023-11-22T20:30:09Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7a808fa35ace4ddcb7e1e34d297fdf93","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_88046dd04a3a4bc39e0d086fb68c15bb","object":"Rate","created_at":"2023-11-22T20:30:09Z","updated_at":"2023-11-22T20:30:09Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7a808fa35ace4ddcb7e1e34d297fdf93","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_c66ddab22c614a5b9df073cbd9571580","object":"Tracker","mode":"test","tracking_code":"9400100105440282035770","status":"pre_transit","status_detail":"status_update","created_at":"2023-11-22T20:30:10Z","updated_at":"2023-11-22T20:30:10Z","signed_by":null,"weight":null,"est_delivery_date":"2023-11-22T20:30:10Z","shipment_id":"shp_7a808fa35ace4ddcb7e1e34d297fdf93","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:30:10Z","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-10-23T09:07:10Z","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\/djE6dHJrX2M2NmRkYWIyMmM2MTRhNWI5ZGYwNzNjYmQ5NTcxNTgw"},"to_address":{"id":"adr_edfea077897511eeb65eac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:09+00:00","updated_at":"2023-11-22T20:30:09+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_ee0119cb897511eeb660ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:09+00:00","updated_at":"2023-11-22T20:30:09+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_edfea077897511eeb65eac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:09+00:00","updated_at":"2023-11-22T20:30:09+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_7a808fa35ace4ddcb7e1e34d297fdf93","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:36Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196832","updated_at":"2024-08-14T17:39:37Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_2c8f47175a6411ef9cd1ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:36+00:00","updated_at":"2024-08-14T17:39:36+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","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_ffa7ef6d0090413ea04295b0e63f6fc6","object":"Parcel","created_at":"2024-08-14T17:39:36Z","updated_at":"2024-08-14T17:39:36Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_125bff1c6a0a49a5ab170ade47bad9ab","created_at":"2024-08-14T17:39:36Z","updated_at":"2024-08-14T17:39:37Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e8f2cd447483db497ea9e713def9be9872.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_ff81b8e6ff3c44908efd769c6ced1550","object":"Rate","created_at":"2024-08-14T17:39:36Z","updated_at":"2024-08-14T17:39:36Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_ad4513abccbd4df491b6b09d86ed0a0a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_8efbdd57429e410da75488647e4bf71d","object":"Rate","created_at":"2024-08-14T17:39:36Z","updated_at":"2024-08-14T17:39:36Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_ad4513abccbd4df491b6b09d86ed0a0a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_1857afe819314fe49452083a6a8a14cf","object":"Rate","created_at":"2024-08-14T17:39:36Z","updated_at":"2024-08-14T17:39:36Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_ad4513abccbd4df491b6b09d86ed0a0a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_8efbdd57429e410da75488647e4bf71d","object":"Rate","created_at":"2024-08-14T17:39:36Z","updated_at":"2024-08-14T17:39:36Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_ad4513abccbd4df491b6b09d86ed0a0a","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_da65710ff1074295b1739949745b4437","object":"Tracker","mode":"test","tracking_code":"9400100105807075196832","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:37Z","updated_at":"2024-08-14T17:39:37Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:39:37Z","shipment_id":"shp_ad4513abccbd4df491b6b09d86ed0a0a","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:39: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":"2024-07-15T06:16: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\/djE6dHJrX2RhNjU3MTBmZjEwNzQyOTViMTczOTk0OTc0NWI0NDM3"},"to_address":{"id":"adr_2c8ca37a5a6411efaf7cac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:36+00:00","updated_at":"2024-08-14T17:39:36+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_2c8f47175a6411ef9cd1ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:36+00:00","updated_at":"2024-08-14T17:39:36+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_2c8ca37a5a6411efaf7cac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:36+00:00","updated_at":"2024-08-14T17:39:36+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_ad4513abccbd4df491b6b09d86ed0a0a","object":"Shipment"}' curl_info: - url: 'https://api.easypost.com/v2/shipments/shp_7a808fa35ace4ddcb7e1e34d297fdf93/insure' + url: 'https://api.easypost.com/v2/shipments/shp_ad4513abccbd4df491b6b09d86ed0a0a/insure' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 689 + header_size: 707 request_size: 367 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.37967 - namelookup_time: 0.001402 - connect_time: 0.064112 - pretransfer_time: 0.127937 + total_time: 0.548485 + namelookup_time: 0.002625 + connect_time: 0.035533 + pretransfer_time: 0.071407 size_upload: 16.0 - size_download: 8750.0 - speed_download: 23046.0 - speed_upload: 42.0 - download_content_length: 8750.0 + size_download: 7680.0 + speed_download: 14002.0 + speed_upload: 29.0 + download_content_length: 7680.0 upload_content_length: 16.0 - starttransfer_time: 0.379632 + starttransfer_time: 0.548454 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53424 + local_ip: 192.168.1.75 + local_port: 52659 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 127910 - connect_time_us: 64112 - namelookup_time_us: 1402 - pretransfer_time_us: 127937 + scheme: https + appconnect_time_us: 71346 + connect_time_us: 35533 + namelookup_time_us: 2625 + pretransfer_time_us: 71407 redirect_time_us: 0 - starttransfer_time_us: 379632 - total_time_us: 379670 + starttransfer_time_us: 548454 + total_time_us: 548485 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/shipments/lowestRate.yml b/test/cassettes/shipments/lowestRate.yml index 6fb49b3c..a96ab7b8 100644 --- a/test/cassettes/shipments/lowestRate.yml +++ b/test/cassettes/shipments/lowestRate.yml @@ -14,8 +14,7 @@ body: '{"shipment":{"from_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"to_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"customs_info":{"eel_pfc":"NOEEI 30.37(a)","customs_certify":"true","customs_signer":"Steve Brule","contents_type":"merchandise","restriction_type":"none","non_delivery_option":"return","customs_items":[{"description":"Sweet shirts","quantity":"2","weight":"11","value":"23.25","hs_tariff_number":"654321","origin_country":"US"}]},"options":{"label_format":"PNG","invoice_number":"123"},"reference":"123"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911b655e64e8e7885945001fc7f3 + x-ep-request-uuid: e181587866bcebeae2b8fc1d0086e737 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_4ac0445266cd4539bf98375900ca7f13 + location: /api/v2/shipments/shp_ba8a303b53c74084835d495d150f89a3 content-type: 'application/json; charset=utf-8' - content-length: '7096' - x-runtime: '0.431538' - x-node: bigweb34nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '6016' + x-runtime: '0.469887' + x-node: bigweb42nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:32Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":null,"updated_at":"2023-11-22T20:30:32Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_e2aa28ca49fa4035bd13a49981984c4f","object":"CustomsInfo","created_at":"2023-11-22T20:30:32Z","updated_at":"2023-11-22T20:30:32Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_6945427f549d4f358858f01b85e40d20","object":"CustomsItem","created_at":"2023-11-22T20:30:32Z","updated_at":"2023-11-22T20:30:32Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_fbe124c5897511eebfecac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:32+00:00","updated_at":"2023-11-22T20:30: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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_4fa61a16d9cc4d02b1641b24fb504db7","object":"Parcel","created_at":"2023-11-22T20:30:32Z","updated_at":"2023-11-22T20:30:32Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_b2a691cdfea24aeea0e9e629b6c1862f","object":"Rate","created_at":"2023-11-22T20:30:32Z","updated_at":"2023-11-22T20:30:32Z","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_4ac0445266cd4539bf98375900ca7f13","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_94b353bd5d4d4ffeae83191b4ea0c2c1","object":"Rate","created_at":"2023-11-22T20:30:32Z","updated_at":"2023-11-22T20:30:32Z","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_4ac0445266cd4539bf98375900ca7f13","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_2d0b183fdfbb42859b79c1469363589e","object":"Rate","created_at":"2023-11-22T20:30:32Z","updated_at":"2023-11-22T20:30:32Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_4ac0445266cd4539bf98375900ca7f13","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_31289e64d476486d97368aa0b51543f7","object":"Rate","created_at":"2023-11-22T20:30:32Z","updated_at":"2023-11-22T20:30:32Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_4ac0445266cd4539bf98375900ca7f13","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_60c4ec6637f745ae82cd7c566488629f","object":"Rate","created_at":"2023-11-22T20:30:32Z","updated_at":"2023-11-22T20:30:32Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_4ac0445266cd4539bf98375900ca7f13","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_fbdbfba1897511ee9023ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:32+00:00","updated_at":"2023-11-22T20:30:32+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_fbe124c5897511eebfecac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:32+00:00","updated_at":"2023-11-22T20:30: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":[]},"buyer_address":{"id":"adr_fbdbfba1897511ee9023ac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:32+00:00","updated_at":"2023-11-22T20:30:32+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_4ac0445266cd4539bf98375900ca7f13","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:54Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:39:55Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_c873e0b8ed4d485aa45102ad40f68bae","object":"CustomsInfo","created_at":"2024-08-14T17:39:54Z","updated_at":"2024-08-14T17:39:54Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_d6eb38e5be2541cc9d5cf6c14e0a2ee8","object":"CustomsItem","created_at":"2024-08-14T17:39:54Z","updated_at":"2024-08-14T17:39:54Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_379c9fe85a6411ef83e03cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:54+00:00","updated_at":"2024-08-14T17:39:54+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_807b36e448d543c88829f1a0230d8df6","object":"Parcel","created_at":"2024-08-14T17:39:54Z","updated_at":"2024-08-14T17:39:54Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_eee022dcf5d54a33b889fc38ab4a79aa","object":"Rate","created_at":"2024-08-14T17:39:55Z","updated_at":"2024-08-14T17:39:55Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_ba8a303b53c74084835d495d150f89a3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_a8324fe388f84d0682c02e37c212c411","object":"Rate","created_at":"2024-08-14T17:39:55Z","updated_at":"2024-08-14T17:39:55Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_ba8a303b53c74084835d495d150f89a3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_a2ac52ff758547018ab3b42232788114","object":"Rate","created_at":"2024-08-14T17:39:55Z","updated_at":"2024-08-14T17:39:55Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_ba8a303b53c74084835d495d150f89a3","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_3797687c5a6411efa3bfac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:54+00:00","updated_at":"2024-08-14T17:39:54+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_379c9fe85a6411ef83e03cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:54+00:00","updated_at":"2024-08-14T17:39:54+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":[]},"buyer_address":{"id":"adr_3797687c5a6411efa3bfac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:54+00:00","updated_at":"2024-08-14T17:39:54+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_ba8a303b53c74084835d495d150f89a3","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' @@ -47,33 +46,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.636226 - namelookup_time: 0.001036 - connect_time: 0.064289 - pretransfer_time: 0.138651 + total_time: 0.567725 + namelookup_time: 0.002632 + connect_time: 0.032279 + pretransfer_time: 0.064537 size_upload: 864.0 - size_download: 7096.0 - speed_download: 11153.0 - speed_upload: 1358.0 - download_content_length: 7096.0 + size_download: 6016.0 + speed_download: 10596.0 + speed_upload: 1521.0 + download_content_length: 6016.0 upload_content_length: 864.0 - starttransfer_time: 0.636107 + starttransfer_time: 0.567596 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53448 + local_ip: 192.168.1.75 + local_port: 52697 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 138490 - connect_time_us: 64289 - namelookup_time_us: 1036 - pretransfer_time_us: 138651 + scheme: https + appconnect_time_us: 64478 + connect_time_us: 32279 + namelookup_time_us: 2632 + pretransfer_time_us: 64537 redirect_time_us: 0 - starttransfer_time_us: 636107 - total_time_us: 636226 + starttransfer_time_us: 567596 + total_time_us: 567725 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/shipments/lowestRateExclusions.yml b/test/cassettes/shipments/lowestRateExclusions.yml index 26834f6a..df6fc6d5 100644 --- a/test/cassettes/shipments/lowestRateExclusions.yml +++ b/test/cassettes/shipments/lowestRateExclusions.yml @@ -14,8 +14,7 @@ body: '{"shipment":{"from_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"to_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"customs_info":{"eel_pfc":"NOEEI 30.37(a)","customs_certify":"true","customs_signer":"Steve Brule","contents_type":"merchandise","restriction_type":"none","non_delivery_option":"return","customs_items":[{"description":"Sweet shirts","quantity":"2","weight":"11","value":"23.25","hs_tariff_number":"654321","origin_country":"US"}]},"options":{"label_format":"PNG","invoice_number":"123"},"reference":"123"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911d655e64e7e7885944001fc72c + x-ep-request-uuid: e181587c66bcebebe2b8fc1e0086e7c4 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_e25bb73a404f48c5b82ce7bb99e7f114 + location: /api/v2/shipments/shp_7b6505ea23ce44aab844fd2ef4b15a31 content-type: 'application/json; charset=utf-8' - content-length: '7096' - x-runtime: '0.450034' - x-node: bigweb38nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '6016' + x-runtime: '0.643546' + x-node: bigweb40nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:31Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":null,"updated_at":"2023-11-22T20:30:32Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_ac8d3e7186da45578784c64512feb727","object":"CustomsInfo","created_at":"2023-11-22T20:30:31Z","updated_at":"2023-11-22T20:30:31Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_3b9e2b72b3814def8917013190b930ff","object":"CustomsItem","created_at":"2023-11-22T20:30:31Z","updated_at":"2023-11-22T20:30:31Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_fb74d941897511eebf9eac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:31+00:00","updated_at":"2023-11-22T20:30:31+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_874af0f6bbde48ad9d0cab5ab4e1ef39","object":"Parcel","created_at":"2023-11-22T20:30:31Z","updated_at":"2023-11-22T20:30:31Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_5075e5bf5c914b1f853e1749eb08bbbb","object":"Rate","created_at":"2023-11-22T20:30:32Z","updated_at":"2023-11-22T20:30:32Z","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_e25bb73a404f48c5b82ce7bb99e7f114","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_6ba872727fed4405af45dfc78256d37b","object":"Rate","created_at":"2023-11-22T20:30:32Z","updated_at":"2023-11-22T20:30:32Z","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_e25bb73a404f48c5b82ce7bb99e7f114","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_23657bc4185a4b27b70da22179278489","object":"Rate","created_at":"2023-11-22T20:30:32Z","updated_at":"2023-11-22T20:30:32Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_e25bb73a404f48c5b82ce7bb99e7f114","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_60d02d7e49a441ca8195f6d9afdb27fa","object":"Rate","created_at":"2023-11-22T20:30:32Z","updated_at":"2023-11-22T20:30:32Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_e25bb73a404f48c5b82ce7bb99e7f114","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_df584429a4f14111987b24d3d0c9f127","object":"Rate","created_at":"2023-11-22T20:30:32Z","updated_at":"2023-11-22T20:30:32Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_e25bb73a404f48c5b82ce7bb99e7f114","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_fb71fae5897511eea0c9ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:30:31+00:00","updated_at":"2023-11-22T20:30:31+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_fb74d941897511eebf9eac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:31+00:00","updated_at":"2023-11-22T20:30:31+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":[]},"buyer_address":{"id":"adr_fb71fae5897511eea0c9ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:30:31+00:00","updated_at":"2023-11-22T20:30:31+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_e25bb73a404f48c5b82ce7bb99e7f114","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:55Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:39:55Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_37e7472942be47b78871b18ebab401c1","object":"CustomsInfo","created_at":"2024-08-14T17:39:55Z","updated_at":"2024-08-14T17:39:55Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_31cd63162be84194a6e167ea460d9df0","object":"CustomsItem","created_at":"2024-08-14T17:39:55Z","updated_at":"2024-08-14T17:39:55Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_380d0dc75a6411ef85d9ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:55+00:00","updated_at":"2024-08-14T17:39:55+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_42d97678d62842ab994fd3ff25830a7d","object":"Parcel","created_at":"2024-08-14T17:39:55Z","updated_at":"2024-08-14T17:39:55Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_a389ee7b1e864ea283749b2703ac6062","object":"Rate","created_at":"2024-08-14T17:39:55Z","updated_at":"2024-08-14T17:39:55Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_7b6505ea23ce44aab844fd2ef4b15a31","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_252f43640e7540a889371b6febe20459","object":"Rate","created_at":"2024-08-14T17:39:55Z","updated_at":"2024-08-14T17:39:55Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_7b6505ea23ce44aab844fd2ef4b15a31","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_ee26ff828d7d48e3a436b82f26dd32a1","object":"Rate","created_at":"2024-08-14T17:39:55Z","updated_at":"2024-08-14T17:39:55Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_7b6505ea23ce44aab844fd2ef4b15a31","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_380a43a85a6411efb71dac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:55+00:00","updated_at":"2024-08-14T17:39:55+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_380d0dc75a6411ef85d9ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:55+00:00","updated_at":"2024-08-14T17:39:55+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":[]},"buyer_address":{"id":"adr_380a43a85a6411efb71dac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:55+00:00","updated_at":"2024-08-14T17:39:55+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_7b6505ea23ce44aab844fd2ef4b15a31","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' @@ -47,33 +46,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.641725 - namelookup_time: 0.001935 - connect_time: 0.064412 - pretransfer_time: 0.127546 + total_time: 0.754274 + namelookup_time: 0.002223 + connect_time: 0.035451 + pretransfer_time: 0.072575 size_upload: 864.0 - size_download: 7096.0 - speed_download: 11057.0 - speed_upload: 1346.0 - download_content_length: 7096.0 + size_download: 6016.0 + speed_download: 7975.0 + speed_upload: 1145.0 + download_content_length: 6016.0 upload_content_length: 864.0 - starttransfer_time: 0.641648 + starttransfer_time: 0.754131 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53447 + local_ip: 192.168.1.75 + local_port: 52698 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 127518 - connect_time_us: 64412 - namelookup_time_us: 1935 - pretransfer_time_us: 127546 + scheme: https + appconnect_time_us: 72499 + connect_time_us: 35451 + namelookup_time_us: 2223 + pretransfer_time_us: 72575 redirect_time_us: 0 - starttransfer_time_us: 641648 - total_time_us: 641725 + starttransfer_time_us: 754131 + total_time_us: 754274 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/shipments/lowestSmartRateVariations.yml b/test/cassettes/shipments/lowestSmartRateVariations.yml index c6dfc6a0..5f44ae15 100644 --- a/test/cassettes/shipments/lowestSmartRateVariations.yml +++ b/test/cassettes/shipments/lowestSmartRateVariations.yml @@ -14,8 +14,7 @@ body: '{"shipment":{"from_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"to_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"customs_info":{"eel_pfc":"NOEEI 30.37(a)","customs_certify":"true","customs_signer":"Steve Brule","contents_type":"merchandise","restriction_type":"none","non_delivery_option":"return","customs_items":[{"description":"Sweet shirts","quantity":"2","weight":"11","value":"23.25","hs_tariff_number":"654321","origin_country":"US"}]},"options":{"label_format":"PNG","invoice_number":"123"},"reference":"123"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911f655e6713e78861e90021df77 + x-ep-request-uuid: e181587d66bcebece2b8fc1f0086e889 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_b9f1a0138e284797a38cbd129b4ee423 + location: /api/v2/shipments/shp_a71465c1ff5b4b769e895a1bf251b27e content-type: 'application/json; charset=utf-8' - content-length: '7096' - x-runtime: '0.592543' - x-node: bigweb31nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '6016' + x-runtime: '0.415428' + x-node: bigweb35nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:39:47Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":null,"updated_at":"2023-11-22T20:39:48Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_c264a319684a49a39b3545541e3512cd","object":"CustomsInfo","created_at":"2023-11-22T20:39:47Z","updated_at":"2023-11-22T20:39:47Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_57826c7cfe3b4fe09b8632800f45c798","object":"CustomsItem","created_at":"2023-11-22T20:39:47Z","updated_at":"2023-11-22T20:39:47Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_46ee95cc897711ee9cfbac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:39:47+00:00","updated_at":"2023-11-22T20:39:47+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_83247ac9dcad4b63a35edf70aa9bf8b5","object":"Parcel","created_at":"2023-11-22T20:39:47Z","updated_at":"2023-11-22T20:39:47Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_65265319f94641d3b2c925d547edea9c","object":"Rate","created_at":"2023-11-22T20:39:48Z","updated_at":"2023-11-22T20:39:48Z","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_b9f1a0138e284797a38cbd129b4ee423","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_bfe3152864b241d7b09825722d575507","object":"Rate","created_at":"2023-11-22T20:39:48Z","updated_at":"2023-11-22T20:39:48Z","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_b9f1a0138e284797a38cbd129b4ee423","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_37c4f8287dcc436da49099e2ab10eb89","object":"Rate","created_at":"2023-11-22T20:39:48Z","updated_at":"2023-11-22T20:39:48Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_b9f1a0138e284797a38cbd129b4ee423","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_ce592c89aab347e6b398d1bdb0554f88","object":"Rate","created_at":"2023-11-22T20:39:48Z","updated_at":"2023-11-22T20:39:48Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_b9f1a0138e284797a38cbd129b4ee423","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_0a22430a9bb14f8682cc1d8f1bc95be9","object":"Rate","created_at":"2023-11-22T20:39:48Z","updated_at":"2023-11-22T20:39:48Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_b9f1a0138e284797a38cbd129b4ee423","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_46ebe9c3897711eebed6ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:39:47+00:00","updated_at":"2023-11-22T20:39:47+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_46ee95cc897711ee9cfbac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:39:47+00:00","updated_at":"2023-11-22T20:39:47+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":[]},"buyer_address":{"id":"adr_46ebe9c3897711eebed6ac1f6bc539ae","object":"Address","created_at":"2023-11-22T20:39:47+00:00","updated_at":"2023-11-22T20:39:47+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_b9f1a0138e284797a38cbd129b4ee423","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:56Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:39:56Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_baff74bd20ff4f3980f217bd5794fd72","object":"CustomsInfo","created_at":"2024-08-14T17:39:56Z","updated_at":"2024-08-14T17:39:56Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_f8935674eb3b43e58ecc52e220235c64","object":"CustomsItem","created_at":"2024-08-14T17:39:56Z","updated_at":"2024-08-14T17:39:56Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_3865c2d75a6411ef84563cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:56+00:00","updated_at":"2024-08-14T17:39:56+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_c4784b989be64fdca81ecc5e7908464e","object":"Parcel","created_at":"2024-08-14T17:39:56Z","updated_at":"2024-08-14T17:39:56Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_9e5c1742f2654e04b95813e0f8f8f7cb","object":"Rate","created_at":"2024-08-14T17:39:56Z","updated_at":"2024-08-14T17:39:56Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_a71465c1ff5b4b769e895a1bf251b27e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_bf79e2b5930348b2bf504a64b0c2be0c","object":"Rate","created_at":"2024-08-14T17:39:56Z","updated_at":"2024-08-14T17:39:56Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_a71465c1ff5b4b769e895a1bf251b27e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_95713936a8f24da4b955cc07971e4a55","object":"Rate","created_at":"2024-08-14T17:39:56Z","updated_at":"2024-08-14T17:39:56Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_a71465c1ff5b4b769e895a1bf251b27e","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_386337f25a6411efb743ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:56+00:00","updated_at":"2024-08-14T17:39:56+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_3865c2d75a6411ef84563cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:56+00:00","updated_at":"2024-08-14T17:39:56+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":[]},"buyer_address":{"id":"adr_386337f25a6411efb743ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:56+00:00","updated_at":"2024-08-14T17:39:56+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_a71465c1ff5b4b769e895a1bf251b27e","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' @@ -47,40 +46,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.791762 - namelookup_time: 0.003045 - connect_time: 0.065821 - pretransfer_time: 0.134156 + total_time: 0.511257 + namelookup_time: 0.001508 + connect_time: 0.031142 + pretransfer_time: 0.06294 size_upload: 864.0 - size_download: 7096.0 - speed_download: 8962.0 - speed_upload: 1091.0 - download_content_length: 7096.0 + size_download: 6016.0 + speed_download: 11767.0 + speed_upload: 1689.0 + download_content_length: 6016.0 upload_content_length: 864.0 - starttransfer_time: 0.791721 + starttransfer_time: 0.511064 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53659 + local_ip: 192.168.1.75 + local_port: 52699 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 134123 - connect_time_us: 65821 - namelookup_time_us: 3045 - pretransfer_time_us: 134156 + scheme: https + appconnect_time_us: 62889 + connect_time_us: 31142 + namelookup_time_us: 1508 + pretransfer_time_us: 62940 redirect_time_us: 0 - starttransfer_time_us: 791721 - total_time_us: 791762 + starttransfer_time_us: 511064 + total_time_us: 511257 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/shipments/shp_b9f1a0138e284797a38cbd129b4ee423/smartrate' + url: 'https://api.easypost.com/v2/shipments/shp_a71465c1ff5b4b769e895a1bf251b27e/smartrate' headers: Host: api.easypost.com Accept-Encoding: '' @@ -90,8 +92,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -100,21 +101,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef9120655e6714e78862010021e02f + x-ep-request-uuid: e181587966bcebece2b8ff2e0086e8fd cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '3277' - x-runtime: '0.105862' - x-node: bigweb35nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '1965' + x-runtime: '0.237074' + x-node: bigweb40nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"result":[{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2023-11-22T20:39:48Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":null,"est_delivery_days":null,"id":"rate_65265319f94641d3b2c925d547edea9c","list_currency":"USD","list_rate":31.25,"mode":"test","object":"Rate","rate":31.25,"retail_currency":"USD","retail_rate":35.8,"service":"Express","shipment_id":"shp_b9f1a0138e284797a38cbd129b4ee423","time_in_transit":{"percentile_50":2,"percentile_75":2,"percentile_85":3,"percentile_90":3,"percentile_95":3,"percentile_97":4,"percentile_99":5},"updated_at":"2023-11-22T20:39:48Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2023-11-22T20:39:48Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":2,"est_delivery_days":2,"id":"rate_bfe3152864b241d7b09825722d575507","list_currency":"USD","list_rate":8.24,"mode":"test","object":"Rate","rate":6.95,"retail_currency":"USD","retail_rate":10.2,"service":"Priority","shipment_id":"shp_b9f1a0138e284797a38cbd129b4ee423","time_in_transit":{"percentile_50":2,"percentile_75":2,"percentile_85":3,"percentile_90":3,"percentile_95":3,"percentile_97":4,"percentile_99":5},"updated_at":"2023-11-22T20:39:48Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2023-11-22T20:39:48Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":3,"est_delivery_days":3,"id":"rate_37c4f8287dcc436da49099e2ab10eb89","list_currency":"USD","list_rate":6.07,"mode":"test","object":"Rate","rate":5.93,"retail_currency":"USD","retail_rate":8,"service":"GroundAdvantage","shipment_id":"shp_b9f1a0138e284797a38cbd129b4ee423","time_in_transit":{"percentile_50":1,"percentile_75":2,"percentile_85":3,"percentile_90":3,"percentile_95":5,"percentile_97":6,"percentile_99":10},"updated_at":"2023-11-22T20:39:48Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2023-11-22T20:39:48Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":3,"est_delivery_days":3,"id":"rate_ce592c89aab347e6b398d1bdb0554f88","list_currency":"USD","list_rate":6.07,"mode":"test","object":"Rate","rate":5.93,"retail_currency":"USD","retail_rate":8,"service":"First","shipment_id":"shp_b9f1a0138e284797a38cbd129b4ee423","time_in_transit":{"percentile_50":1,"percentile_75":2,"percentile_85":3,"percentile_90":3,"percentile_95":5,"percentile_97":6,"percentile_99":10},"updated_at":"2023-11-22T20:39:48Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2023-11-22T20:39:48Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":3,"est_delivery_days":3,"id":"rate_0a22430a9bb14f8682cc1d8f1bc95be9","list_currency":"USD","list_rate":6.07,"mode":"test","object":"Rate","rate":5.93,"retail_currency":"USD","retail_rate":8,"service":"ParcelSelect","shipment_id":"shp_b9f1a0138e284797a38cbd129b4ee423","time_in_transit":{"percentile_50":1,"percentile_75":2,"percentile_85":3,"percentile_90":3,"percentile_95":5,"percentile_97":6,"percentile_99":10},"updated_at":"2023-11-22T20:39:48Z"}]}' + body: '{"result":[{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2024-08-14T17:39:56Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":2,"est_delivery_days":2,"id":"rate_9e5c1742f2654e04b95813e0f8f8f7cb","list_currency":"USD","list_rate":8.25,"mode":"test","object":"Rate","rate":6.9,"retail_currency":"USD","retail_rate":9.8,"service":"Priority","shipment_id":"shp_a71465c1ff5b4b769e895a1bf251b27e","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-08-14T17:39:56Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2024-08-14T17:39:56Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":3,"est_delivery_days":3,"id":"rate_bf79e2b5930348b2bf504a64b0c2be0c","list_currency":"USD","list_rate":6.4,"mode":"test","object":"Rate","rate":5.93,"retail_currency":"USD","retail_rate":8.45,"service":"GroundAdvantage","shipment_id":"shp_a71465c1ff5b4b769e895a1bf251b27e","time_in_transit":{"percentile_50":1,"percentile_75":2,"percentile_85":2,"percentile_90":2,"percentile_95":2,"percentile_97":3,"percentile_99":3},"updated_at":"2024-08-14T17:39:56Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2024-08-14T17:39:56Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":1,"est_delivery_days":1,"id":"rate_95713936a8f24da4b955cc07971e4a55","list_currency":"USD","list_rate":33.1,"mode":"test","object":"Rate","rate":33.1,"retail_currency":"USD","retail_rate":37.9,"service":"Express","shipment_id":"shp_a71465c1ff5b4b769e895a1bf251b27e","time_in_transit":{"percentile_50":1,"percentile_75":2,"percentile_85":2,"percentile_90":3,"percentile_95":3,"percentile_97":4,"percentile_99":7},"updated_at":"2024-08-14T17:39:56Z"}]}' curl_info: - url: 'https://api.easypost.com/v2/shipments/shp_b9f1a0138e284797a38cbd129b4ee423/smartrate' + url: 'https://api.easypost.com/v2/shipments/shp_a71465c1ff5b4b769e895a1bf251b27e/smartrate' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 689 @@ -122,40 +123,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.316013 - namelookup_time: 0.001805 - connect_time: 0.067263 - pretransfer_time: 0.140382 + total_time: 0.334696 + namelookup_time: 0.001432 + connect_time: 0.030691 + pretransfer_time: 0.06414 size_upload: 0.0 - size_download: 3277.0 - speed_download: 10369.0 + size_download: 1965.0 + speed_download: 5870.0 speed_upload: 0.0 - download_content_length: 3277.0 + download_content_length: 1965.0 upload_content_length: 0.0 - starttransfer_time: 0.315979 + starttransfer_time: 0.334634 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53660 + local_ip: 192.168.1.75 + local_port: 52700 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 140193 - connect_time_us: 67263 - namelookup_time_us: 1805 - pretransfer_time_us: 140382 + scheme: https + appconnect_time_us: 64096 + connect_time_us: 30691 + namelookup_time_us: 1432 + pretransfer_time_us: 64140 redirect_time_us: 0 - starttransfer_time_us: 315979 - total_time_us: 316013 + starttransfer_time_us: 334634 + total_time_us: 334696 + effective_method: GET + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/shipments/shp_b9f1a0138e284797a38cbd129b4ee423/smartrate' + url: 'https://api.easypost.com/v2/shipments/shp_a71465c1ff5b4b769e895a1bf251b27e/smartrate' headers: Host: api.easypost.com Accept-Encoding: '' @@ -165,8 +169,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -175,21 +178,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911c655e6715e78862020021e078 + x-ep-request-uuid: e181587a66bcebece2b8ff2f0086e961 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '3277' - x-runtime: '0.109105' - x-node: bigweb39nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '1965' + x-runtime: '0.093050' + x-node: bigweb36nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"result":[{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2023-11-22T20:39:48Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":null,"est_delivery_days":null,"id":"rate_65265319f94641d3b2c925d547edea9c","list_currency":"USD","list_rate":31.25,"mode":"test","object":"Rate","rate":31.25,"retail_currency":"USD","retail_rate":35.8,"service":"Express","shipment_id":"shp_b9f1a0138e284797a38cbd129b4ee423","time_in_transit":{"percentile_50":2,"percentile_75":2,"percentile_85":3,"percentile_90":3,"percentile_95":3,"percentile_97":4,"percentile_99":5},"updated_at":"2023-11-22T20:39:48Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2023-11-22T20:39:48Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":2,"est_delivery_days":2,"id":"rate_bfe3152864b241d7b09825722d575507","list_currency":"USD","list_rate":8.24,"mode":"test","object":"Rate","rate":6.95,"retail_currency":"USD","retail_rate":10.2,"service":"Priority","shipment_id":"shp_b9f1a0138e284797a38cbd129b4ee423","time_in_transit":{"percentile_50":2,"percentile_75":2,"percentile_85":3,"percentile_90":3,"percentile_95":3,"percentile_97":4,"percentile_99":5},"updated_at":"2023-11-22T20:39:48Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2023-11-22T20:39:48Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":3,"est_delivery_days":3,"id":"rate_37c4f8287dcc436da49099e2ab10eb89","list_currency":"USD","list_rate":6.07,"mode":"test","object":"Rate","rate":5.93,"retail_currency":"USD","retail_rate":8,"service":"GroundAdvantage","shipment_id":"shp_b9f1a0138e284797a38cbd129b4ee423","time_in_transit":{"percentile_50":1,"percentile_75":2,"percentile_85":3,"percentile_90":3,"percentile_95":5,"percentile_97":6,"percentile_99":10},"updated_at":"2023-11-22T20:39:48Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2023-11-22T20:39:48Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":3,"est_delivery_days":3,"id":"rate_ce592c89aab347e6b398d1bdb0554f88","list_currency":"USD","list_rate":6.07,"mode":"test","object":"Rate","rate":5.93,"retail_currency":"USD","retail_rate":8,"service":"First","shipment_id":"shp_b9f1a0138e284797a38cbd129b4ee423","time_in_transit":{"percentile_50":1,"percentile_75":2,"percentile_85":3,"percentile_90":3,"percentile_95":5,"percentile_97":6,"percentile_99":10},"updated_at":"2023-11-22T20:39:48Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2023-11-22T20:39:48Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":3,"est_delivery_days":3,"id":"rate_0a22430a9bb14f8682cc1d8f1bc95be9","list_currency":"USD","list_rate":6.07,"mode":"test","object":"Rate","rate":5.93,"retail_currency":"USD","retail_rate":8,"service":"ParcelSelect","shipment_id":"shp_b9f1a0138e284797a38cbd129b4ee423","time_in_transit":{"percentile_50":1,"percentile_75":2,"percentile_85":3,"percentile_90":3,"percentile_95":5,"percentile_97":6,"percentile_99":10},"updated_at":"2023-11-22T20:39:48Z"}]}' + body: '{"result":[{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2024-08-14T17:39:56Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":2,"est_delivery_days":2,"id":"rate_9e5c1742f2654e04b95813e0f8f8f7cb","list_currency":"USD","list_rate":8.25,"mode":"test","object":"Rate","rate":6.9,"retail_currency":"USD","retail_rate":9.8,"service":"Priority","shipment_id":"shp_a71465c1ff5b4b769e895a1bf251b27e","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-08-14T17:39:56Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2024-08-14T17:39:56Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":3,"est_delivery_days":3,"id":"rate_bf79e2b5930348b2bf504a64b0c2be0c","list_currency":"USD","list_rate":6.4,"mode":"test","object":"Rate","rate":5.93,"retail_currency":"USD","retail_rate":8.45,"service":"GroundAdvantage","shipment_id":"shp_a71465c1ff5b4b769e895a1bf251b27e","time_in_transit":{"percentile_50":1,"percentile_75":2,"percentile_85":2,"percentile_90":2,"percentile_95":2,"percentile_97":3,"percentile_99":3},"updated_at":"2024-08-14T17:39:56Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2024-08-14T17:39:56Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":1,"est_delivery_days":1,"id":"rate_95713936a8f24da4b955cc07971e4a55","list_currency":"USD","list_rate":33.1,"mode":"test","object":"Rate","rate":33.1,"retail_currency":"USD","retail_rate":37.9,"service":"Express","shipment_id":"shp_a71465c1ff5b4b769e895a1bf251b27e","time_in_transit":{"percentile_50":1,"percentile_75":2,"percentile_85":2,"percentile_90":3,"percentile_95":3,"percentile_97":4,"percentile_99":7},"updated_at":"2024-08-14T17:39:56Z"}]}' curl_info: - url: 'https://api.easypost.com/v2/shipments/shp_b9f1a0138e284797a38cbd129b4ee423/smartrate' + url: 'https://api.easypost.com/v2/shipments/shp_a71465c1ff5b4b769e895a1bf251b27e/smartrate' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 689 @@ -197,40 +200,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.308388 - namelookup_time: 0.001694 - connect_time: 0.069273 - pretransfer_time: 0.134614 + total_time: 0.203159 + namelookup_time: 0.002681 + connect_time: 0.036138 + pretransfer_time: 0.073538 size_upload: 0.0 - size_download: 3277.0 - speed_download: 10626.0 + size_download: 1965.0 + speed_download: 9672.0 speed_upload: 0.0 - download_content_length: 3277.0 + download_content_length: 1965.0 upload_content_length: 0.0 - starttransfer_time: 0.308358 + starttransfer_time: 0.203077 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53661 + local_ip: 192.168.1.75 + local_port: 52701 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 134583 - connect_time_us: 69273 - namelookup_time_us: 1694 - pretransfer_time_us: 134614 + scheme: https + appconnect_time_us: 73483 + connect_time_us: 36138 + namelookup_time_us: 2681 + pretransfer_time_us: 73538 redirect_time_us: 0 - starttransfer_time_us: 308358 - total_time_us: 308388 + starttransfer_time_us: 203077 + total_time_us: 203159 + effective_method: GET + capath: '' + cainfo: '' index: 1 - request: method: GET - url: 'https://api.easypost.com/v2/shipments/shp_b9f1a0138e284797a38cbd129b4ee423/smartrate' + url: 'https://api.easypost.com/v2/shipments/shp_a71465c1ff5b4b769e895a1bf251b27e/smartrate' headers: Host: api.easypost.com Accept-Encoding: '' @@ -240,8 +246,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -250,57 +255,61 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911a655e6715e78862030021e0b4 + x-ep-request-uuid: e181587c66bcebede2b8ff300086e991 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '3277' - x-runtime: '0.107060' - x-node: bigweb41nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '1965' + x-runtime: '0.112546' + x-node: bigweb43nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-canary: direct + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"result":[{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2023-11-22T20:39:48Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":null,"est_delivery_days":null,"id":"rate_65265319f94641d3b2c925d547edea9c","list_currency":"USD","list_rate":31.25,"mode":"test","object":"Rate","rate":31.25,"retail_currency":"USD","retail_rate":35.8,"service":"Express","shipment_id":"shp_b9f1a0138e284797a38cbd129b4ee423","time_in_transit":{"percentile_50":2,"percentile_75":2,"percentile_85":3,"percentile_90":3,"percentile_95":3,"percentile_97":4,"percentile_99":5},"updated_at":"2023-11-22T20:39:48Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2023-11-22T20:39:48Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":2,"est_delivery_days":2,"id":"rate_bfe3152864b241d7b09825722d575507","list_currency":"USD","list_rate":8.24,"mode":"test","object":"Rate","rate":6.95,"retail_currency":"USD","retail_rate":10.2,"service":"Priority","shipment_id":"shp_b9f1a0138e284797a38cbd129b4ee423","time_in_transit":{"percentile_50":2,"percentile_75":2,"percentile_85":3,"percentile_90":3,"percentile_95":3,"percentile_97":4,"percentile_99":5},"updated_at":"2023-11-22T20:39:48Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2023-11-22T20:39:48Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":3,"est_delivery_days":3,"id":"rate_37c4f8287dcc436da49099e2ab10eb89","list_currency":"USD","list_rate":6.07,"mode":"test","object":"Rate","rate":5.93,"retail_currency":"USD","retail_rate":8,"service":"GroundAdvantage","shipment_id":"shp_b9f1a0138e284797a38cbd129b4ee423","time_in_transit":{"percentile_50":1,"percentile_75":2,"percentile_85":3,"percentile_90":3,"percentile_95":5,"percentile_97":6,"percentile_99":10},"updated_at":"2023-11-22T20:39:48Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2023-11-22T20:39:48Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":3,"est_delivery_days":3,"id":"rate_ce592c89aab347e6b398d1bdb0554f88","list_currency":"USD","list_rate":6.07,"mode":"test","object":"Rate","rate":5.93,"retail_currency":"USD","retail_rate":8,"service":"First","shipment_id":"shp_b9f1a0138e284797a38cbd129b4ee423","time_in_transit":{"percentile_50":1,"percentile_75":2,"percentile_85":3,"percentile_90":3,"percentile_95":5,"percentile_97":6,"percentile_99":10},"updated_at":"2023-11-22T20:39:48Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2023-11-22T20:39:48Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":3,"est_delivery_days":3,"id":"rate_0a22430a9bb14f8682cc1d8f1bc95be9","list_currency":"USD","list_rate":6.07,"mode":"test","object":"Rate","rate":5.93,"retail_currency":"USD","retail_rate":8,"service":"ParcelSelect","shipment_id":"shp_b9f1a0138e284797a38cbd129b4ee423","time_in_transit":{"percentile_50":1,"percentile_75":2,"percentile_85":3,"percentile_90":3,"percentile_95":5,"percentile_97":6,"percentile_99":10},"updated_at":"2023-11-22T20:39:48Z"}]}' + body: '{"result":[{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2024-08-14T17:39:56Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":2,"est_delivery_days":2,"id":"rate_9e5c1742f2654e04b95813e0f8f8f7cb","list_currency":"USD","list_rate":8.25,"mode":"test","object":"Rate","rate":6.9,"retail_currency":"USD","retail_rate":9.8,"service":"Priority","shipment_id":"shp_a71465c1ff5b4b769e895a1bf251b27e","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-08-14T17:39:56Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2024-08-14T17:39:56Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":3,"est_delivery_days":3,"id":"rate_bf79e2b5930348b2bf504a64b0c2be0c","list_currency":"USD","list_rate":6.4,"mode":"test","object":"Rate","rate":5.93,"retail_currency":"USD","retail_rate":8.45,"service":"GroundAdvantage","shipment_id":"shp_a71465c1ff5b4b769e895a1bf251b27e","time_in_transit":{"percentile_50":1,"percentile_75":2,"percentile_85":2,"percentile_90":2,"percentile_95":2,"percentile_97":3,"percentile_99":3},"updated_at":"2024-08-14T17:39:56Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2024-08-14T17:39:56Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":1,"est_delivery_days":1,"id":"rate_95713936a8f24da4b955cc07971e4a55","list_currency":"USD","list_rate":33.1,"mode":"test","object":"Rate","rate":33.1,"retail_currency":"USD","retail_rate":37.9,"service":"Express","shipment_id":"shp_a71465c1ff5b4b769e895a1bf251b27e","time_in_transit":{"percentile_50":1,"percentile_75":2,"percentile_85":2,"percentile_90":3,"percentile_95":3,"percentile_97":4,"percentile_99":7},"updated_at":"2024-08-14T17:39:56Z"}]}' curl_info: - url: 'https://api.easypost.com/v2/shipments/shp_b9f1a0138e284797a38cbd129b4ee423/smartrate' + url: 'https://api.easypost.com/v2/shipments/shp_a71465c1ff5b4b769e895a1bf251b27e/smartrate' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 689 + header_size: 707 request_size: 333 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.303495 - namelookup_time: 0.001528 - connect_time: 0.065106 - pretransfer_time: 0.131363 + total_time: 0.222517 + namelookup_time: 0.00262 + connect_time: 0.035905 + pretransfer_time: 0.072675 size_upload: 0.0 - size_download: 3277.0 - speed_download: 10797.0 + size_download: 1965.0 + speed_download: 8830.0 speed_upload: 0.0 - download_content_length: 3277.0 + download_content_length: 1965.0 upload_content_length: 0.0 - starttransfer_time: 0.30348 + starttransfer_time: 0.222441 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53662 + local_ip: 192.168.1.75 + local_port: 52702 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 131301 - connect_time_us: 65106 - namelookup_time_us: 1528 - pretransfer_time_us: 131363 + scheme: https + appconnect_time_us: 72605 + connect_time_us: 35905 + namelookup_time_us: 2620 + pretransfer_time_us: 72675 redirect_time_us: 0 - starttransfer_time_us: 303480 - total_time_us: 303495 + starttransfer_time_us: 222441 + total_time_us: 222517 + effective_method: GET + capath: '' + cainfo: '' index: 2 - request: @@ -317,8 +326,7 @@ body: '{"shipment":{"from_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"to_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"}}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -327,63 +335,67 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911d655e6715e78862040021e0fd + x-ep-request-uuid: e181587a66bcebede2b8ff310086e9d8 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_34a2216119104635b1b9b7efff6d2961 + location: /api/v2/shipments/shp_58616d954c844e44b4e8f2cea01312c5 content-type: 'application/json; charset=utf-8' - content-length: '6229' - x-runtime: '0.707904' - x-node: bigweb31nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '4984' + x-runtime: '0.821241' + x-node: bigweb32nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-canary: direct + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:39:49Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","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":"2023-11-22T20:39:50Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_48004579897711eeac5f3cecef1b359e","object":"Address","created_at":"2023-11-22T20:39:49+00:00","updated_at":"2023-11-22T20:39:49+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_a59b5af5a8e942809d17e4a61ad2970c","object":"Parcel","created_at":"2023-11-22T20:39:49Z","updated_at":"2023-11-22T20:39:49Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_c0f436a2c53142d594e7ef94d1206106","object":"Rate","created_at":"2023-11-22T20:39:50Z","updated_at":"2023-11-22T20:39:50Z","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_34a2216119104635b1b9b7efff6d2961","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_6ba70f556b0c4e5fa2490054bd79c0e1","object":"Rate","created_at":"2023-11-22T20:39:50Z","updated_at":"2023-11-22T20:39:50Z","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_34a2216119104635b1b9b7efff6d2961","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_68200769df6a4b0288bb513181821401","object":"Rate","created_at":"2023-11-22T20:39:50Z","updated_at":"2023-11-22T20:39:50Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_34a2216119104635b1b9b7efff6d2961","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_92c347ed9351472a9135e04451a9325b","object":"Rate","created_at":"2023-11-22T20:39:50Z","updated_at":"2023-11-22T20:39:50Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_34a2216119104635b1b9b7efff6d2961","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_ca20e1941b4947bd80410baa0df964db","object":"Rate","created_at":"2023-11-22T20:39:50Z","updated_at":"2023-11-22T20:39:50Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_34a2216119104635b1b9b7efff6d2961","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_47fdfeae897711eeac5d3cecef1b359e","object":"Address","created_at":"2023-11-22T20:39:49+00:00","updated_at":"2023-11-22T20:39:49+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_48004579897711eeac5f3cecef1b359e","object":"Address","created_at":"2023-11-22T20:39:49+00:00","updated_at":"2023-11-22T20:39:49+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":[]},"buyer_address":{"id":"adr_47fdfeae897711eeac5d3cecef1b359e","object":"Address","created_at":"2023-11-22T20:39:49+00:00","updated_at":"2023-11-22T20:39:49+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_34a2216119104635b1b9b7efff6d2961","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:57Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:39:58Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_3931c2fa5a6411ef84d03cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:57+00:00","updated_at":"2024-08-14T17:39:57+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_9a54799dc23144b7b07724cb96d97e05","object":"Parcel","created_at":"2024-08-14T17:39:57Z","updated_at":"2024-08-14T17:39:57Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_bb66a435607a4594966503da82f1d8b1","object":"Rate","created_at":"2024-08-14T17:39:58Z","updated_at":"2024-08-14T17:39:58Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_58616d954c844e44b4e8f2cea01312c5","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_7aa00e3246294981b75f19e30a2c1f6b","object":"Rate","created_at":"2024-08-14T17:39:58Z","updated_at":"2024-08-14T17:39:58Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_58616d954c844e44b4e8f2cea01312c5","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_59fbee820e0b45ac8977e641544ca318","object":"Rate","created_at":"2024-08-14T17:39:58Z","updated_at":"2024-08-14T17:39:58Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_58616d954c844e44b4e8f2cea01312c5","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_392f21a15a6411efb7c7ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:57+00:00","updated_at":"2024-08-14T17:39:57+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_3931c2fa5a6411ef84d03cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:57+00:00","updated_at":"2024-08-14T17:39:57+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":[]},"buyer_address":{"id":"adr_392f21a15a6411efb7c7ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:57+00:00","updated_at":"2024-08-14T17:39:57+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_58616d954c844e44b4e8f2cea01312c5","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 760 + header_size: 778 request_size: 767 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.90184 - namelookup_time: 0.001157 - connect_time: 0.064366 - pretransfer_time: 0.129888 + total_time: 0.930348 + namelookup_time: 0.002489 + connect_time: 0.035644 + pretransfer_time: 0.072029 size_upload: 459.0 - size_download: 6229.0 - speed_download: 6906.0 - speed_upload: 508.0 - download_content_length: 6229.0 + size_download: 4984.0 + speed_download: 5357.0 + speed_upload: 493.0 + download_content_length: 4984.0 upload_content_length: 459.0 - starttransfer_time: 0.901782 + starttransfer_time: 0.930282 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53663 + local_ip: 192.168.1.75 + local_port: 52703 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 129760 - connect_time_us: 64366 - namelookup_time_us: 1157 - pretransfer_time_us: 129888 + scheme: https + appconnect_time_us: 71976 + connect_time_us: 35644 + namelookup_time_us: 2489 + pretransfer_time_us: 72029 redirect_time_us: 0 - starttransfer_time_us: 901782 - total_time_us: 901840 + starttransfer_time_us: 930282 + total_time_us: 930348 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/shipments/shp_34a2216119104635b1b9b7efff6d2961/smartrate' + url: 'https://api.easypost.com/v2/shipments/shp_58616d954c844e44b4e8f2cea01312c5/smartrate' headers: Host: api.easypost.com Accept-Encoding: '' @@ -393,8 +405,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -403,56 +414,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911c655e6716e78862050021e1c1 + x-ep-request-uuid: e181587a66bcebeee2b8ff320086eabe cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '3277' - x-runtime: '0.087799' - x-node: bigweb32nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '1965' + x-runtime: '0.085325' + x-node: bigweb36nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"result":[{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2023-11-22T20:39:50Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":null,"est_delivery_days":null,"id":"rate_c0f436a2c53142d594e7ef94d1206106","list_currency":"USD","list_rate":31.25,"mode":"test","object":"Rate","rate":31.25,"retail_currency":"USD","retail_rate":35.8,"service":"Express","shipment_id":"shp_34a2216119104635b1b9b7efff6d2961","time_in_transit":{"percentile_50":2,"percentile_75":2,"percentile_85":3,"percentile_90":3,"percentile_95":3,"percentile_97":4,"percentile_99":5},"updated_at":"2023-11-22T20:39:50Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2023-11-22T20:39:50Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":2,"est_delivery_days":2,"id":"rate_6ba70f556b0c4e5fa2490054bd79c0e1","list_currency":"USD","list_rate":8.24,"mode":"test","object":"Rate","rate":6.95,"retail_currency":"USD","retail_rate":10.2,"service":"Priority","shipment_id":"shp_34a2216119104635b1b9b7efff6d2961","time_in_transit":{"percentile_50":2,"percentile_75":2,"percentile_85":3,"percentile_90":3,"percentile_95":3,"percentile_97":4,"percentile_99":5},"updated_at":"2023-11-22T20:39:50Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2023-11-22T20:39:50Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":3,"est_delivery_days":3,"id":"rate_68200769df6a4b0288bb513181821401","list_currency":"USD","list_rate":6.07,"mode":"test","object":"Rate","rate":5.93,"retail_currency":"USD","retail_rate":8,"service":"GroundAdvantage","shipment_id":"shp_34a2216119104635b1b9b7efff6d2961","time_in_transit":{"percentile_50":1,"percentile_75":2,"percentile_85":3,"percentile_90":3,"percentile_95":5,"percentile_97":6,"percentile_99":10},"updated_at":"2023-11-22T20:39:50Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2023-11-22T20:39:50Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":3,"est_delivery_days":3,"id":"rate_92c347ed9351472a9135e04451a9325b","list_currency":"USD","list_rate":6.07,"mode":"test","object":"Rate","rate":5.93,"retail_currency":"USD","retail_rate":8,"service":"First","shipment_id":"shp_34a2216119104635b1b9b7efff6d2961","time_in_transit":{"percentile_50":1,"percentile_75":2,"percentile_85":3,"percentile_90":3,"percentile_95":5,"percentile_97":6,"percentile_99":10},"updated_at":"2023-11-22T20:39:50Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2023-11-22T20:39:50Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":3,"est_delivery_days":3,"id":"rate_ca20e1941b4947bd80410baa0df964db","list_currency":"USD","list_rate":6.07,"mode":"test","object":"Rate","rate":5.93,"retail_currency":"USD","retail_rate":8,"service":"ParcelSelect","shipment_id":"shp_34a2216119104635b1b9b7efff6d2961","time_in_transit":{"percentile_50":1,"percentile_75":2,"percentile_85":3,"percentile_90":3,"percentile_95":5,"percentile_97":6,"percentile_99":10},"updated_at":"2023-11-22T20:39:50Z"}]}' + body: '{"result":[{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2024-08-14T17:39:58Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":1,"est_delivery_days":1,"id":"rate_bb66a435607a4594966503da82f1d8b1","list_currency":"USD","list_rate":33.1,"mode":"test","object":"Rate","rate":33.1,"retail_currency":"USD","retail_rate":37.9,"service":"Express","shipment_id":"shp_58616d954c844e44b4e8f2cea01312c5","time_in_transit":{"percentile_50":1,"percentile_75":2,"percentile_85":2,"percentile_90":3,"percentile_95":3,"percentile_97":4,"percentile_99":7},"updated_at":"2024-08-14T17:39:58Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2024-08-14T17:39:58Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":2,"est_delivery_days":2,"id":"rate_7aa00e3246294981b75f19e30a2c1f6b","list_currency":"USD","list_rate":8.25,"mode":"test","object":"Rate","rate":6.9,"retail_currency":"USD","retail_rate":9.8,"service":"Priority","shipment_id":"shp_58616d954c844e44b4e8f2cea01312c5","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-08-14T17:39:58Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2024-08-14T17:39:58Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":3,"est_delivery_days":3,"id":"rate_59fbee820e0b45ac8977e641544ca318","list_currency":"USD","list_rate":6.4,"mode":"test","object":"Rate","rate":5.93,"retail_currency":"USD","retail_rate":8.45,"service":"GroundAdvantage","shipment_id":"shp_58616d954c844e44b4e8f2cea01312c5","time_in_transit":{"percentile_50":1,"percentile_75":2,"percentile_85":2,"percentile_90":2,"percentile_95":2,"percentile_97":3,"percentile_99":3},"updated_at":"2024-08-14T17:39:58Z"}]}' curl_info: - url: 'https://api.easypost.com/v2/shipments/shp_34a2216119104635b1b9b7efff6d2961/smartrate' + url: 'https://api.easypost.com/v2/shipments/shp_58616d954c844e44b4e8f2cea01312c5/smartrate' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 707 + header_size: 689 request_size: 333 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.28986 - namelookup_time: 0.001234 - connect_time: 0.06995 - pretransfer_time: 0.135163 + total_time: 0.195201 + namelookup_time: 0.002756 + connect_time: 0.035942 + pretransfer_time: 0.072954 size_upload: 0.0 - size_download: 3277.0 - speed_download: 11305.0 + size_download: 1965.0 + speed_download: 10066.0 speed_upload: 0.0 - download_content_length: 3277.0 + download_content_length: 1965.0 upload_content_length: 0.0 - starttransfer_time: 0.289734 + starttransfer_time: 0.195181 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53664 + local_ip: 192.168.1.75 + local_port: 52704 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 135135 - connect_time_us: 69950 - namelookup_time_us: 1234 - pretransfer_time_us: 135163 + scheme: https + appconnect_time_us: 72894 + connect_time_us: 35942 + namelookup_time_us: 2756 + pretransfer_time_us: 72954 redirect_time_us: 0 - starttransfer_time_us: 289734 - total_time_us: 289860 + starttransfer_time_us: 195181 + total_time_us: 195201 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/shipments/recommendShipDate.yml b/test/cassettes/shipments/recommendShipDate.yml index afc73de9..d20130ce 100644 --- a/test/cassettes/shipments/recommendShipDate.yml +++ b/test/cassettes/shipments/recommendShipDate.yml @@ -23,59 +23,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: b8e53c20669041f6e798cd230027aa64 + x-ep-request-uuid: e181587c66bcebf1e2b8ff4f0086ed95 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_449052bb390640bea509210fef92eb0a + location: /api/v2/shipments/shp_65a814dd723941ce94ce9f03dd0f8502 content-type: 'application/json; charset=utf-8' - content-length: '6335' - x-runtime: '0.768374' - x-node: bigweb32nuq - x-version-label: easypost-202407111940-3cb16a3462-master + content-length: '4984' + x-runtime: '0.704155' + x-node: bigweb36nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb3nuq fa152d4755', 'extlb2nuq fa152d4755'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2024-07-11T20:35:02Z","is_return":false,"messages":[{"carrier":"UPS","carrier_account_id":"ca_533ac39596fc45809cf6685bbe55523a","type":"rate_error","message":"Invalid Access License number"},{"carrier":"UPS","carrier_account_id":"ca_d05aecc4f5c9412283e2fdc65d117692","type":"rate_error","message":"Invalid Access License number"},{"carrier":"DhlEcs","carrier_account_id":"ca_b3781a40f76d4b94a70d2258e6d318c2","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91ae96a5fc1f4cf4aa4b69067df5686b","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_c02da7bfb4264ea3bcb85c0f760d4a6e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_b437adf5f4c64f3d8823d5ffa776a158","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_e94e4fa45aba4058809c9246a48712b3","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-07-11T20:35:03Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_0cb085bd3fc511ef9f4dac1f6bc539aa","object":"Address","created_at":"2024-07-11T20:35:02+00:00","updated_at":"2024-07-11T20:35:02+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_80c59c7121cf452d89e202b242dea88b","object":"Parcel","created_at":"2024-07-11T20:35:02Z","updated_at":"2024-07-11T20:35:02Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_1c86295b13b644e5a0ecb14312c545e1","object":"Rate","created_at":"2024-07-11T20:35:03Z","updated_at":"2024-07-11T20:35:03Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_449052bb390640bea509210fef92eb0a","carrier_account_id":"ca_716f33fd9fd348238b85c2922237f98b"},{"id":"rate_4f7d526d65724547b72a61caa9730821","object":"Rate","created_at":"2024-07-11T20:35:03Z","updated_at":"2024-07-11T20:35:03Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_449052bb390640bea509210fef92eb0a","carrier_account_id":"ca_716f33fd9fd348238b85c2922237f98b"},{"id":"rate_e57c56562118427f8811fa941ddaf42a","object":"Rate","created_at":"2024-07-11T20:35:03Z","updated_at":"2024-07-11T20:35:03Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_449052bb390640bea509210fef92eb0a","carrier_account_id":"ca_716f33fd9fd348238b85c2922237f98b"},{"id":"rate_ee7e69da162948a0909520923cb360d1","object":"Rate","created_at":"2024-07-11T20:35:03Z","updated_at":"2024-07-11T20:35:03Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_449052bb390640bea509210fef92eb0a","carrier_account_id":"ca_716f33fd9fd348238b85c2922237f98b"},{"id":"rate_9a6737cb2e8f486db5546be3e1632cf4","object":"Rate","created_at":"2024-07-11T20:35:03Z","updated_at":"2024-07-11T20:35:03Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_449052bb390640bea509210fef92eb0a","carrier_account_id":"ca_716f33fd9fd348238b85c2922237f98b"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_0cad956d3fc511efacb1ac1f6bc53342","object":"Address","created_at":"2024-07-11T20:35:02+00:00","updated_at":"2024-07-11T20:35:02+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_0cb085bd3fc511ef9f4dac1f6bc539aa","object":"Address","created_at":"2024-07-11T20:35:02+00:00","updated_at":"2024-07-11T20:35:02+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":[]},"buyer_address":{"id":"adr_0cad956d3fc511efacb1ac1f6bc53342","object":"Address","created_at":"2024-07-11T20:35:02+00:00","updated_at":"2024-07-11T20:35:02+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_449052bb390640bea509210fef92eb0a","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:40:01Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:40:02Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_3bcc09125a6411ef86043cecef1b359e","object":"Address","created_at":"2024-08-14T17:40:01+00:00","updated_at":"2024-08-14T17:40:01+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_eb61697d316d48479c0110d3351d6cb7","object":"Parcel","created_at":"2024-08-14T17:40:01Z","updated_at":"2024-08-14T17:40:01Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_57292f09b6ec454ebd018f9e48c59267","object":"Rate","created_at":"2024-08-14T17:40:02Z","updated_at":"2024-08-14T17:40:02Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_65a814dd723941ce94ce9f03dd0f8502","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_88cc46348e644a1e83b3e644b093d0a1","object":"Rate","created_at":"2024-08-14T17:40:02Z","updated_at":"2024-08-14T17:40:02Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_65a814dd723941ce94ce9f03dd0f8502","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_3ed377640d784218b0a873749c192f5e","object":"Rate","created_at":"2024-08-14T17:40:02Z","updated_at":"2024-08-14T17:40:02Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_65a814dd723941ce94ce9f03dd0f8502","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_3bc952e95a6411efb8f6ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:40:01+00:00","updated_at":"2024-08-14T17:40:01+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_3bcc09125a6411ef86043cecef1b359e","object":"Address","created_at":"2024-08-14T17:40:01+00:00","updated_at":"2024-08-14T17:40:01+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":[]},"buyer_address":{"id":"adr_3bc952e95a6411efb8f6ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:40:01+00:00","updated_at":"2024-08-14T17:40:01+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_65a814dd723941ce94ce9f03dd0f8502","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 778 + header_size: 760 request_size: 767 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.195488 - namelookup_time: 0.002895 - connect_time: 0.151394 - pretransfer_time: 0.291628 + total_time: 0.80218 + namelookup_time: 0.002723 + connect_time: 0.031858 + pretransfer_time: 0.065021 size_upload: 459.0 - size_download: 6335.0 - speed_download: 5299.0 - speed_upload: 383.0 - download_content_length: 6335.0 + size_download: 4984.0 + speed_download: 6213.0 + speed_upload: 572.0 + download_content_length: 4984.0 upload_content_length: 459.0 - starttransfer_time: 1.19544 + starttransfer_time: 0.802129 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.29 - local_port: 60484 + local_ip: 192.168.1.75 + local_port: 52710 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 291551 - connect_time_us: 151394 - namelookup_time_us: 2895 - pretransfer_time_us: 291628 + scheme: https + appconnect_time_us: 64956 + connect_time_us: 31858 + namelookup_time_us: 2723 + pretransfer_time_us: 65021 redirect_time_us: 0 - starttransfer_time_us: 1195440 - total_time_us: 1195488 + starttransfer_time_us: 802129 + total_time_us: 802180 effective_method: POST capath: '' cainfo: '' @@ -83,7 +82,7 @@ - request: method: GET - url: 'https://api.easypost.com/v2/shipments/shp_449052bb390640bea509210fef92eb0a/smartrate/precision_shipping?desired_delivery_date=2024-07-16' + url: 'https://api.easypost.com/v2/shipments/shp_65a814dd723941ce94ce9f03dd0f8502/smartrate/precision_shipping?desired_delivery_date=2024-08-18' headers: Host: api.easypost.com Accept-Encoding: '' @@ -102,58 +101,57 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: b8e53c22669041f7e798cd400027ac0e + x-ep-request-uuid: e181587766bcebf2e2b8ff500086ee56 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '4098' - x-runtime: '0.132513' - x-node: bigweb43nuq - x-version-label: easypost-202407111940-3cb16a3462-master + content-length: '2463' + x-runtime: '0.133891' + x-node: bigweb36nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb4nuq fa152d4755', 'extlb2nuq fa152d4755'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"rates":[{"easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":2,"percentile_75":3,"percentile_85":4,"percentile_90":4,"percentile_95":5,"percentile_97":5,"percentile_99":7},"delivery_date_confidence":0.19,"desired_delivery_date":"2024-07-16","estimated_transit_days":3,"ship_on_date":"2024-07-13"},"rate":{"carrier":"USPS","carrier_account_id":"ca_716f33fd9fd348238b85c2922237f98b","created_at":"2024-07-11T20:35:03Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":2,"est_delivery_days":2,"id":"rate_1c86295b13b644e5a0ecb14312c545e1","list_currency":"USD","list_rate":8.25,"mode":"test","object":"Rate","rate":6.9,"retail_currency":"USD","retail_rate":9.8,"service":"Priority","shipment_id":"shp_449052bb390640bea509210fef92eb0a","updated_at":"2024-07-11T20:35:03Z"}},{"easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":2,"percentile_75":3,"percentile_85":4,"percentile_90":4,"percentile_95":5,"percentile_97":5,"percentile_99":9},"delivery_date_confidence":0.21,"desired_delivery_date":"2024-07-16","estimated_transit_days":3,"ship_on_date":"2024-07-13"},"rate":{"carrier":"USPS","carrier_account_id":"ca_716f33fd9fd348238b85c2922237f98b","created_at":"2024-07-11T20:35:03Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":3,"est_delivery_days":3,"id":"rate_4f7d526d65724547b72a61caa9730821","list_currency":"USD","list_rate":6.4,"mode":"test","object":"Rate","rate":5.93,"retail_currency":"USD","retail_rate":8.45,"service":"GroundAdvantage","shipment_id":"shp_449052bb390640bea509210fef92eb0a","updated_at":"2024-07-11T20:35:03Z"}},{"easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":2,"percentile_75":3,"percentile_85":4,"percentile_90":4,"percentile_95":5,"percentile_97":5,"percentile_99":9},"delivery_date_confidence":0.21,"desired_delivery_date":"2024-07-16","estimated_transit_days":3,"ship_on_date":"2024-07-13"},"rate":{"carrier":"USPS","carrier_account_id":"ca_716f33fd9fd348238b85c2922237f98b","created_at":"2024-07-11T20:35:03Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":3,"est_delivery_days":3,"id":"rate_e57c56562118427f8811fa941ddaf42a","list_currency":"USD","list_rate":6.4,"mode":"test","object":"Rate","rate":5.93,"retail_currency":"USD","retail_rate":8.45,"service":"First","shipment_id":"shp_449052bb390640bea509210fef92eb0a","updated_at":"2024-07-11T20:35:03Z"}},{"easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":2,"percentile_75":3,"percentile_85":4,"percentile_90":4,"percentile_95":5,"percentile_97":5,"percentile_99":9},"delivery_date_confidence":0.21,"desired_delivery_date":"2024-07-16","estimated_transit_days":3,"ship_on_date":"2024-07-13"},"rate":{"carrier":"USPS","carrier_account_id":"ca_716f33fd9fd348238b85c2922237f98b","created_at":"2024-07-11T20:35:03Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":3,"est_delivery_days":3,"id":"rate_ee7e69da162948a0909520923cb360d1","list_currency":"USD","list_rate":6.4,"mode":"test","object":"Rate","rate":5.93,"retail_currency":"USD","retail_rate":8.45,"service":"ParcelSelect","shipment_id":"shp_449052bb390640bea509210fef92eb0a","updated_at":"2024-07-11T20:35:03Z"}},{"easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":2,"percentile_75":2,"percentile_85":2,"percentile_90":3,"percentile_95":3,"percentile_97":4,"percentile_99":7},"delivery_date_confidence":0.47,"desired_delivery_date":"2024-07-16","estimated_transit_days":1,"ship_on_date":"2024-07-15"},"rate":{"carrier":"USPS","carrier_account_id":"ca_716f33fd9fd348238b85c2922237f98b","created_at":"2024-07-11T20:35:03Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":2,"est_delivery_days":2,"id":"rate_9a6737cb2e8f486db5546be3e1632cf4","list_currency":"USD","list_rate":33.1,"mode":"test","object":"Rate","rate":33.1,"retail_currency":"USD","retail_rate":37.9,"service":"Express","shipment_id":"shp_449052bb390640bea509210fef92eb0a","updated_at":"2024-07-11T20:35:03Z"}}]}' + body: '{"rates":[{"easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":1,"percentile_75":3,"percentile_85":3,"percentile_90":4,"percentile_95":4,"percentile_97":5,"percentile_99":7},"delivery_date_confidence":0.01,"desired_delivery_date":"2024-08-18","estimated_transit_days":2,"ship_on_date":"2024-08-16"},"rate":{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2024-08-14T17:40:02Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":1,"est_delivery_days":1,"id":"rate_57292f09b6ec454ebd018f9e48c59267","list_currency":"USD","list_rate":33.1,"mode":"test","object":"Rate","rate":33.1,"retail_currency":"USD","retail_rate":37.9,"service":"Express","shipment_id":"shp_65a814dd723941ce94ce9f03dd0f8502","updated_at":"2024-08-14T17:40:02Z"}},{"easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":4,"percentile_75":4,"percentile_85":4,"percentile_90":4,"percentile_95":5,"percentile_97":6,"percentile_99":8},"delivery_date_confidence":0,"desired_delivery_date":"2024-08-18","estimated_transit_days":3,"ship_on_date":"2024-08-15"},"rate":{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2024-08-14T17:40:02Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":2,"est_delivery_days":2,"id":"rate_88cc46348e644a1e83b3e644b093d0a1","list_currency":"USD","list_rate":8.25,"mode":"test","object":"Rate","rate":6.9,"retail_currency":"USD","retail_rate":9.8,"service":"Priority","shipment_id":"shp_65a814dd723941ce94ce9f03dd0f8502","updated_at":"2024-08-14T17:40:02Z"}},{"easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":4,"percentile_75":4,"percentile_85":4,"percentile_90":4,"percentile_95":5,"percentile_97":6,"percentile_99":8},"delivery_date_confidence":0,"desired_delivery_date":"2024-08-18","estimated_transit_days":3,"ship_on_date":"2024-08-15"},"rate":{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2024-08-14T17:40:02Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":3,"est_delivery_days":3,"id":"rate_3ed377640d784218b0a873749c192f5e","list_currency":"USD","list_rate":6.4,"mode":"test","object":"Rate","rate":5.93,"retail_currency":"USD","retail_rate":8.45,"service":"GroundAdvantage","shipment_id":"shp_65a814dd723941ce94ce9f03dd0f8502","updated_at":"2024-08-14T17:40:02Z"}}]}' curl_info: - url: 'https://api.easypost.com/v2/shipments/shp_449052bb390640bea509210fef92eb0a/smartrate/precision_shipping?desired_delivery_date=2024-07-16' + url: 'https://api.easypost.com/v2/shipments/shp_65a814dd723941ce94ce9f03dd0f8502/smartrate/precision_shipping?desired_delivery_date=2024-08-18' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 707 + header_size: 689 request_size: 385 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.539185 - namelookup_time: 0.001221 - connect_time: 0.136901 - pretransfer_time: 0.262583 + total_time: 0.248834 + namelookup_time: 0.001734 + connect_time: 0.035644 + pretransfer_time: 0.071629 size_upload: 0.0 - size_download: 4098.0 - speed_download: 7600.0 + size_download: 2463.0 + speed_download: 9898.0 speed_upload: 0.0 - download_content_length: 4098.0 + download_content_length: 2463.0 upload_content_length: 0.0 - starttransfer_time: 0.53711 + starttransfer_time: 0.248811 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.29 - local_port: 60490 + local_ip: 192.168.1.75 + local_port: 52711 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 262522 - connect_time_us: 136901 - namelookup_time_us: 1221 - pretransfer_time_us: 262583 + scheme: https + appconnect_time_us: 71591 + connect_time_us: 35644 + namelookup_time_us: 1734 + pretransfer_time_us: 71629 redirect_time_us: 0 - starttransfer_time_us: 537110 - total_time_us: 539185 + starttransfer_time_us: 248811 + total_time_us: 248834 effective_method: GET capath: '' cainfo: '' diff --git a/test/cassettes/shipments/refund.yml b/test/cassettes/shipments/refund.yml index 3ce1867d..8110b875 100644 --- a/test/cassettes/shipments/refund.yml +++ b/test/cassettes/shipments/refund.yml @@ -11,11 +11,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"First","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' + body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"GroundAdvantage","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,63 +23,66 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911e655e64cfe78858fb001fa72b + x-ep-request-uuid: e181587b66bcebdbe2b8fbb50086d9b5 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_d129d08d265b450a93b2e37b4f46a6be + location: /api/v2/shipments/shp_d0f55c8ba25a4bbe947d3a1641ed11e4 content-type: 'application/json; charset=utf-8' - content-length: '7619' - x-runtime: '1.197800' - x-node: bigweb35nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '6549' + x-runtime: '1.190376' + x-node: bigweb41nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:07Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105440282035749","updated_at":"2023-11-22T20:30:08Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_ecd1aa02897511eeb5aaac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:07+00:00","updated_at":"2023-11-22T20:30:07+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_a5fc25be3f954df6b86e7a2c5a44404e","object":"Parcel","created_at":"2023-11-22T20:30:07Z","updated_at":"2023-11-22T20:30:07Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_d30569697daf4901abd055316d13e599","created_at":"2023-11-22T20:30:07Z","updated_at":"2023-11-22T20:30:08Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:30: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\/20231122\/e801dd8fe29d134f629b9786f5396bc1b0.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_a36eaffde9c74492b176cd5d96cdc247","object":"Rate","created_at":"2023-11-22T20:30:07Z","updated_at":"2023-11-22T20:30:07Z","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_d129d08d265b450a93b2e37b4f46a6be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_51ca5639da134404bff3044632c4462e","object":"Rate","created_at":"2023-11-22T20:30:07Z","updated_at":"2023-11-22T20:30:07Z","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_d129d08d265b450a93b2e37b4f46a6be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_901ef4b2aa5746e2abd8fa2126dfafd3","object":"Rate","created_at":"2023-11-22T20:30:07Z","updated_at":"2023-11-22T20:30:07Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d129d08d265b450a93b2e37b4f46a6be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_bc8e8a5636fd4e89b73f0d598694c078","object":"Rate","created_at":"2023-11-22T20:30:07Z","updated_at":"2023-11-22T20:30:07Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d129d08d265b450a93b2e37b4f46a6be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_183c7a881033443d9f29fc98880d307d","object":"Rate","created_at":"2023-11-22T20:30:07Z","updated_at":"2023-11-22T20:30:07Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d129d08d265b450a93b2e37b4f46a6be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_bc8e8a5636fd4e89b73f0d598694c078","object":"Rate","created_at":"2023-11-22T20:30:07Z","updated_at":"2023-11-22T20:30:07Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d129d08d265b450a93b2e37b4f46a6be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_3fc5116e90d9419bbfbb0284fd7da553","object":"Tracker","mode":"test","tracking_code":"9400100105440282035749","status":"unknown","status_detail":"unknown","created_at":"2023-11-22T20:30:08Z","updated_at":"2023-11-22T20:30:08Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_d129d08d265b450a93b2e37b4f46a6be","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzNmYzUxMTZlOTBkOTQxOWJiZmJiMDI4NGZkN2RhNTUz"},"to_address":{"id":"adr_eccf6526897511eeb5a8ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:07+00:00","updated_at":"2023-11-22T20:30:07+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_ecd1aa02897511eeb5aaac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:07+00:00","updated_at":"2023-11-22T20:30:07+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_eccf6526897511eeb5a8ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:07+00:00","updated_at":"2023-11-22T20:30:07+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_d129d08d265b450a93b2e37b4f46a6be","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:40Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196894","updated_at":"2024-08-14T17:39:41Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_2ec7614f5a6411efb070ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:39+00:00","updated_at":"2024-08-14T17:39:39+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_0991974aaedb4732a5070b3d7c262466","object":"Parcel","created_at":"2024-08-14T17:39:39Z","updated_at":"2024-08-14T17:39:39Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_6442ce331db64b85b1f83a2ddbeff800","created_at":"2024-08-14T17:39:40Z","updated_at":"2024-08-14T17:39:40Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e87acf86fe54db4eabadc28792a6915722.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_35e79bb1a71649fa93c885299b27cbe9","object":"Rate","created_at":"2024-08-14T17:39:40Z","updated_at":"2024-08-14T17:39:40Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_d0f55c8ba25a4bbe947d3a1641ed11e4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_7815271b51f94a20bdbaed1c73f913b0","object":"Rate","created_at":"2024-08-14T17:39:40Z","updated_at":"2024-08-14T17:39:40Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d0f55c8ba25a4bbe947d3a1641ed11e4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_9ebf9933dd094eacbf8732af210bffb0","object":"Rate","created_at":"2024-08-14T17:39:40Z","updated_at":"2024-08-14T17:39:40Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_d0f55c8ba25a4bbe947d3a1641ed11e4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_7815271b51f94a20bdbaed1c73f913b0","object":"Rate","created_at":"2024-08-14T17:39:40Z","updated_at":"2024-08-14T17:39:40Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d0f55c8ba25a4bbe947d3a1641ed11e4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_7008e55ff72542b287b7c8bab10034ff","object":"Tracker","mode":"test","tracking_code":"9400100105807075196894","status":"unknown","status_detail":"unknown","created_at":"2024-08-14T17:39:41Z","updated_at":"2024-08-14T17:39:41Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_d0f55c8ba25a4bbe947d3a1641ed11e4","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzcwMDhlNTVmZjcyNTQyYjI4N2I3YzhiYWIxMDAzNGZm"},"to_address":{"id":"adr_2ec4f4695a6411efb06eac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:39+00:00","updated_at":"2024-08-14T17:39:40+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_2ec7614f5a6411efb070ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:39+00:00","updated_at":"2024-08-14T17:39:39+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_2ec4f4695a6411efb06eac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:39+00:00","updated_at":"2024-08-14T17:39:40+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_d0f55c8ba25a4bbe947d3a1641ed11e4","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' http_code: 201 header_size: 760 - request_size: 861 + request_size: 871 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.407896 - namelookup_time: 0.00114 - connect_time: 0.068617 - pretransfer_time: 0.143205 - size_upload: 553.0 - size_download: 7619.0 - speed_download: 5411.0 - speed_upload: 392.0 - download_content_length: 7619.0 - upload_content_length: 553.0 - starttransfer_time: 1.407866 + total_time: 1.301459 + namelookup_time: 0.005808 + connect_time: 0.039195 + pretransfer_time: 0.074617 + size_upload: 563.0 + size_download: 6549.0 + speed_download: 5032.0 + speed_upload: 432.0 + download_content_length: 6549.0 + upload_content_length: 563.0 + starttransfer_time: 1.301445 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53420 + local_ip: 192.168.1.75 + local_port: 52662 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 143119 - connect_time_us: 68617 - namelookup_time_us: 1140 - pretransfer_time_us: 143205 + scheme: https + appconnect_time_us: 74552 + connect_time_us: 39195 + namelookup_time_us: 5808 + pretransfer_time_us: 74617 redirect_time_us: 0 - starttransfer_time_us: 1407866 - total_time_us: 1407896 + starttransfer_time_us: 1301445 + total_time_us: 1301459 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: POST - url: 'https://api.easypost.com/v2/shipments/shp_d129d08d265b450a93b2e37b4f46a6be/refund' + url: 'https://api.easypost.com/v2/shipments/shp_d0f55c8ba25a4bbe947d3a1641ed11e4/refund' headers: Host: api.easypost.com Expect: '' @@ -92,8 +94,7 @@ body: '[]' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -102,21 +103,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911f655e64d0e78858fc001fa921 + x-ep-request-uuid: e181587666bcebdde2b8fbb60086daba cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '8756' - x-runtime: '0.166252' - x-node: bigweb39nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '7686' + x-runtime: '0.202340' + x-node: bigweb34nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:07Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105440282035749","updated_at":"2023-11-22T20:30:08Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_ecd1aa02897511eeb5aaac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:07+00:00","updated_at":"2023-11-22T20:30:07+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_a5fc25be3f954df6b86e7a2c5a44404e","object":"Parcel","created_at":"2023-11-22T20:30:07Z","updated_at":"2023-11-22T20:30:07Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_d30569697daf4901abd055316d13e599","created_at":"2023-11-22T20:30:07Z","updated_at":"2023-11-22T20:30:08Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:30: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\/20231122\/e801dd8fe29d134f629b9786f5396bc1b0.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_a36eaffde9c74492b176cd5d96cdc247","object":"Rate","created_at":"2023-11-22T20:30:07Z","updated_at":"2023-11-22T20:30:07Z","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_d129d08d265b450a93b2e37b4f46a6be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_51ca5639da134404bff3044632c4462e","object":"Rate","created_at":"2023-11-22T20:30:07Z","updated_at":"2023-11-22T20:30:07Z","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_d129d08d265b450a93b2e37b4f46a6be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_901ef4b2aa5746e2abd8fa2126dfafd3","object":"Rate","created_at":"2023-11-22T20:30:07Z","updated_at":"2023-11-22T20:30:07Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d129d08d265b450a93b2e37b4f46a6be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_bc8e8a5636fd4e89b73f0d598694c078","object":"Rate","created_at":"2023-11-22T20:30:07Z","updated_at":"2023-11-22T20:30:07Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d129d08d265b450a93b2e37b4f46a6be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_183c7a881033443d9f29fc98880d307d","object":"Rate","created_at":"2023-11-22T20:30:07Z","updated_at":"2023-11-22T20:30:07Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d129d08d265b450a93b2e37b4f46a6be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":"submitted","scan_form":null,"selected_rate":{"id":"rate_bc8e8a5636fd4e89b73f0d598694c078","object":"Rate","created_at":"2023-11-22T20:30:07Z","updated_at":"2023-11-22T20:30:07Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d129d08d265b450a93b2e37b4f46a6be","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_3fc5116e90d9419bbfbb0284fd7da553","object":"Tracker","mode":"test","tracking_code":"9400100105440282035749","status":"pre_transit","status_detail":"status_update","created_at":"2023-11-22T20:30:08Z","updated_at":"2023-11-22T20:30:08Z","signed_by":null,"weight":null,"est_delivery_date":"2023-11-22T20:30:08Z","shipment_id":"shp_d129d08d265b450a93b2e37b4f46a6be","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:30: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-10-23T09:07: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\/djE6dHJrXzNmYzUxMTZlOTBkOTQxOWJiZmJiMDI4NGZkN2RhNTUz"},"to_address":{"id":"adr_eccf6526897511eeb5a8ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:07+00:00","updated_at":"2023-11-22T20:30:07+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_ecd1aa02897511eeb5aaac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:07+00:00","updated_at":"2023-11-22T20:30:07+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_eccf6526897511eeb5a8ac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:07+00:00","updated_at":"2023-11-22T20:30:07+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_d129d08d265b450a93b2e37b4f46a6be","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:40Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196894","updated_at":"2024-08-14T17:39:41Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_2ec7614f5a6411efb070ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:39+00:00","updated_at":"2024-08-14T17:39:39+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_0991974aaedb4732a5070b3d7c262466","object":"Parcel","created_at":"2024-08-14T17:39:39Z","updated_at":"2024-08-14T17:39:39Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_6442ce331db64b85b1f83a2ddbeff800","created_at":"2024-08-14T17:39:40Z","updated_at":"2024-08-14T17:39:40Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e87acf86fe54db4eabadc28792a6915722.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_35e79bb1a71649fa93c885299b27cbe9","object":"Rate","created_at":"2024-08-14T17:39:40Z","updated_at":"2024-08-14T17:39:40Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_d0f55c8ba25a4bbe947d3a1641ed11e4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_7815271b51f94a20bdbaed1c73f913b0","object":"Rate","created_at":"2024-08-14T17:39:40Z","updated_at":"2024-08-14T17:39:40Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d0f55c8ba25a4bbe947d3a1641ed11e4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_9ebf9933dd094eacbf8732af210bffb0","object":"Rate","created_at":"2024-08-14T17:39:40Z","updated_at":"2024-08-14T17:39:40Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_d0f55c8ba25a4bbe947d3a1641ed11e4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":"submitted","scan_form":null,"selected_rate":{"id":"rate_7815271b51f94a20bdbaed1c73f913b0","object":"Rate","created_at":"2024-08-14T17:39:40Z","updated_at":"2024-08-14T17:39:40Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_d0f55c8ba25a4bbe947d3a1641ed11e4","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_7008e55ff72542b287b7c8bab10034ff","object":"Tracker","mode":"test","tracking_code":"9400100105807075196894","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:41Z","updated_at":"2024-08-14T17:39:41Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:39:41Z","shipment_id":"shp_d0f55c8ba25a4bbe947d3a1641ed11e4","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:39:41Z","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":"2024-07-15T06:16:41Z","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\/djE6dHJrXzcwMDhlNTVmZjcyNTQyYjI4N2I3YzhiYWIxMDAzNGZm"},"to_address":{"id":"adr_2ec4f4695a6411efb06eac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:39+00:00","updated_at":"2024-08-14T17:39:40+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_2ec7614f5a6411efb070ac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:39+00:00","updated_at":"2024-08-14T17:39:39+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_2ec4f4695a6411efb06eac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:39+00:00","updated_at":"2024-08-14T17:39:40+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":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_d0f55c8ba25a4bbe947d3a1641ed11e4","object":"Shipment"}' curl_info: - url: 'https://api.easypost.com/v2/shipments/shp_d129d08d265b450a93b2e37b4f46a6be/refund' + url: 'https://api.easypost.com/v2/shipments/shp_d0f55c8ba25a4bbe947d3a1641ed11e4/refund' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 689 @@ -124,33 +125,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.362979 - namelookup_time: 0.001164 - connect_time: 0.066132 - pretransfer_time: 0.130981 + total_time: 0.299379 + namelookup_time: 0.001913 + connect_time: 0.03132 + pretransfer_time: 0.063253 size_upload: 2.0 - size_download: 8756.0 - speed_download: 24122.0 - speed_upload: 5.0 - download_content_length: 8756.0 + size_download: 7686.0 + speed_download: 25673.0 + speed_upload: 6.0 + download_content_length: 7686.0 upload_content_length: 2.0 - starttransfer_time: 0.362806 + starttransfer_time: 0.299329 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53421 + local_ip: 192.168.1.75 + local_port: 52663 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 130953 - connect_time_us: 66132 - namelookup_time_us: 1164 - pretransfer_time_us: 130981 + scheme: https + appconnect_time_us: 63212 + connect_time_us: 31320 + namelookup_time_us: 1913 + pretransfer_time_us: 63253 redirect_time_us: 0 - starttransfer_time_us: 362806 - total_time_us: 362979 + starttransfer_time_us: 299329 + total_time_us: 299379 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/shipments/regenerateRates.yml b/test/cassettes/shipments/regenerateRates.yml index 18cf9b9d..8eb4f7bd 100644 --- a/test/cassettes/shipments/regenerateRates.yml +++ b/test/cassettes/shipments/regenerateRates.yml @@ -11,11 +11,10 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"First","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' + body: '{"shipment":{"to_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"from_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"service":"GroundAdvantage","carrier_accounts":["ca_8dc116debcdb49b5a66a2ddee4612600"],"carrier":"USPS"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,63 +23,66 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef9120655e64d4e7885902001fae7c + x-ep-request-uuid: e181587766bcebcfe2b8fb920086ce9d cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_fe955be378d64447bad8e9128162f317 + location: /api/v2/shipments/shp_6c3ab9bd75f94e5c86d17833df41e1d2 content-type: 'application/json; charset=utf-8' - content-length: '7619' - x-runtime: '1.031942' + content-length: '6549' + x-runtime: '1.070573' x-node: bigweb42nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:12Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105440282035794","updated_at":"2023-11-22T20:30:13Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_f017cc49897511eeb7beac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:12+00:00","updated_at":"2023-11-22T20:30:12+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_fdbfe79094be4c8da7e86516ec8342ec","object":"Parcel","created_at":"2023-11-22T20:30:12Z","updated_at":"2023-11-22T20:30:12Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_5e5719ca0d6c488b8ea2c61c57541648","created_at":"2023-11-22T20:30:13Z","updated_at":"2023-11-22T20:30:13Z","date_advance":0,"integrated_form":"none","label_date":"2023-11-22T20:30: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\/20231122\/e81bc00913ef634b379f262c8311f22695.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_1202cf63aafb48e4a49ee2ea22cb5623","object":"Rate","created_at":"2023-11-22T20:30:12Z","updated_at":"2023-11-22T20:30: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_fe955be378d64447bad8e9128162f317","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_e0a7f1442ef14c81829654da5d004264","object":"Rate","created_at":"2023-11-22T20:30:12Z","updated_at":"2023-11-22T20:30:12Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_fe955be378d64447bad8e9128162f317","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_04d31a2a86194126af625d2bf05be051","object":"Rate","created_at":"2023-11-22T20:30:12Z","updated_at":"2023-11-22T20:30:12Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_fe955be378d64447bad8e9128162f317","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_ba487563cae049928fe24668cd809f9a","object":"Rate","created_at":"2023-11-22T20:30:12Z","updated_at":"2023-11-22T20:30:12Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_fe955be378d64447bad8e9128162f317","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_58223190f3c74d838b631f7a310ecf06","object":"Rate","created_at":"2023-11-22T20:30:12Z","updated_at":"2023-11-22T20:30: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_fe955be378d64447bad8e9128162f317","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_04d31a2a86194126af625d2bf05be051","object":"Rate","created_at":"2023-11-22T20:30:13Z","updated_at":"2023-11-22T20:30:13Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_fe955be378d64447bad8e9128162f317","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_a6c4d6511ee14665b36147dce325b822","object":"Tracker","mode":"test","tracking_code":"9400100105440282035794","status":"unknown","status_detail":"unknown","created_at":"2023-11-22T20:30:13Z","updated_at":"2023-11-22T20:30:13Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_fe955be378d64447bad8e9128162f317","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2E2YzRkNjUxMWVlMTQ2NjViMzYxNDdkY2UzMjViODIy"},"to_address":{"id":"adr_f0155fc7897511eeb7bcac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:12+00:00","updated_at":"2023-11-22T20:30:13+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_f017cc49897511eeb7beac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:12+00:00","updated_at":"2023-11-22T20:30:12+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_f0155fc7897511eeb7bcac1f6bc539aa","object":"Address","created_at":"2023-11-22T20:30:12+00:00","updated_at":"2023-11-22T20:30:13+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.25000","charged":true,"refunded":false}],"id":"shp_fe955be378d64447bad8e9128162f317","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:27Z","is_return":false,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":"9400100105807075196726","updated_at":"2024-08-14T17:39:28Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_273a41095a6411efb99f3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:27+00:00","updated_at":"2024-08-14T17:39:27+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"insurance":"50.00","order_id":null,"parcel":{"id":"prcl_021c9070824c49ada117da4dff109ee8","object":"Parcel","created_at":"2024-08-14T17:39:27Z","updated_at":"2024-08-14T17:39:27Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":{"object":"PostageLabel","id":"pl_e88366428fa04e929c6ee9114117eb27","created_at":"2024-08-14T17:39:27Z","updated_at":"2024-08-14T17:39:28Z","date_advance":0,"integrated_form":"none","label_date":"2024-08-14T17:39: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\/20240814\/e83bc533c07baf4b6cbbcae28530d22f36.png","label_pdf_url":null,"label_zpl_url":null,"label_epl2_url":null,"label_file":null},"rates":[{"id":"rate_beb447a18aa8490bbc0c5f82e0435262","object":"Rate","created_at":"2024-08-14T17:39:27Z","updated_at":"2024-08-14T17:39:27Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_6c3ab9bd75f94e5c86d17833df41e1d2","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_d38d65f859ae4093b4083024e8a201ff","object":"Rate","created_at":"2024-08-14T17:39:27Z","updated_at":"2024-08-14T17:39:27Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_6c3ab9bd75f94e5c86d17833df41e1d2","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_c8d31cd9b1f04be89ad8bdf8e7760245","object":"Rate","created_at":"2024-08-14T17:39:27Z","updated_at":"2024-08-14T17:39:27Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_6c3ab9bd75f94e5c86d17833df41e1d2","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":{"id":"rate_d38d65f859ae4093b4083024e8a201ff","object":"Rate","created_at":"2024-08-14T17:39:27Z","updated_at":"2024-08-14T17:39:27Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_6c3ab9bd75f94e5c86d17833df41e1d2","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},"tracker":{"id":"trk_4f18bdbc47c34b9a82b233a22c6bb351","object":"Tracker","mode":"test","tracking_code":"9400100105807075196726","status":"unknown","status_detail":"unknown","created_at":"2024-08-14T17:39:28Z","updated_at":"2024-08-14T17:39:28Z","signed_by":null,"weight":null,"est_delivery_date":null,"shipment_id":"shp_6c3ab9bd75f94e5c86d17833df41e1d2","carrier":"USPS","tracking_details":[],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzRmMThiZGJjNDdjMzRiOWE4MmIyMzNhMjJjNmJiMzUx"},"to_address":{"id":"adr_2738731b5a6411efbb2fac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:27+00:00","updated_at":"2024-08-14T17:39:27+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"usps_zone":4,"return_address":{"id":"adr_273a41095a6411efb99f3cecef1b359e","object":"Address","created_at":"2024-08-14T17:39:27+00:00","updated_at":"2024-08-14T17:39:27+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"buyer_address":{"id":"adr_2738731b5a6411efbb2fac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:27+00:00","updated_at":"2024-08-14T17:39:27+00:00","name":"JACK SPARROW","company":null,"street1":"388 TOWNSEND ST APT 20","street2":"","city":"SAN FRANCISCO","state":"CA","zip":"94107-1670","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":true,"federal_tax_id":null,"state_tax_id":null,"verifications":{"zip4":{"success":true,"errors":[],"details":null},"delivery":{"success":true,"errors":[],"details":{"latitude":37.77551,"longitude":-122.39697,"time_zone":"America\/Los_Angeles"}}}},"forms":[],"fees":[{"object":"Fee","type":"LabelFee","amount":"0.00000","charged":true,"refunded":false},{"object":"Fee","type":"PostageFee","amount":"5.93000","charged":true,"refunded":false},{"object":"Fee","type":"InsuranceFee","amount":"0.50000","charged":true,"refunded":false}],"id":"shp_6c3ab9bd75f94e5c86d17833df41e1d2","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' http_code: 201 header_size: 760 - request_size: 861 + request_size: 871 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.237119 - namelookup_time: 0.006592 - connect_time: 0.071223 - pretransfer_time: 0.138999 - size_upload: 553.0 - size_download: 7619.0 - speed_download: 6158.0 - speed_upload: 447.0 - download_content_length: 7619.0 - upload_content_length: 553.0 - starttransfer_time: 1.236969 + total_time: 1.177685 + namelookup_time: 0.002022 + connect_time: 0.035076 + pretransfer_time: 0.071229 + size_upload: 563.0 + size_download: 6549.0 + speed_download: 5560.0 + speed_upload: 478.0 + download_content_length: 6549.0 + upload_content_length: 563.0 + starttransfer_time: 1.177562 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53427 + local_ip: 192.168.1.75 + local_port: 52650 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 138967 - connect_time_us: 71223 - namelookup_time_us: 6592 - pretransfer_time_us: 138999 + scheme: https + appconnect_time_us: 71156 + connect_time_us: 35076 + namelookup_time_us: 2022 + pretransfer_time_us: 71229 redirect_time_us: 0 - starttransfer_time_us: 1236969 - total_time_us: 1237119 + starttransfer_time_us: 1177562 + total_time_us: 1177685 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: POST - url: 'https://api.easypost.com/v2/shipments/shp_fe955be378d64447bad8e9128162f317/rerate' + url: 'https://api.easypost.com/v2/shipments/shp_6c3ab9bd75f94e5c86d17833df41e1d2/rerate' headers: Host: api.easypost.com Expect: '' @@ -92,8 +94,7 @@ body: '[]' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -102,21 +103,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911f655e64d6e7885903001fb026 + x-ep-request-uuid: e181587c66bcebd0e2b8fb930086cfa6 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '2708' - x-runtime: '0.181904' + content-length: '1628' + x-runtime: '0.200709' x-node: bigweb40nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"rates":[{"id":"rate_f0502700179043d58b319c52d5800245","object":"Rate","created_at":"2023-11-22T20:30:14Z","updated_at":"2023-11-22T20:30:14Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_fe955be378d64447bad8e9128162f317","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_93dd6cd074c44210ab34e9fd056a8b5f","object":"Rate","created_at":"2023-11-22T20:30:14Z","updated_at":"2023-11-22T20:30:14Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_fe955be378d64447bad8e9128162f317","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_e672da4358b1480c938c712bd57a9bc5","object":"Rate","created_at":"2023-11-22T20:30:14Z","updated_at":"2023-11-22T20:30:14Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_fe955be378d64447bad8e9128162f317","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_3362984d7e35448c86e23871489f8ecc","object":"Rate","created_at":"2023-11-22T20:30:14Z","updated_at":"2023-11-22T20:30: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_fe955be378d64447bad8e9128162f317","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_046ed8f018d5409a8d65b9b19680f7a2","object":"Rate","created_at":"2023-11-22T20:30:14Z","updated_at":"2023-11-22T20:30: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_fe955be378d64447bad8e9128162f317","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}]}' + body: '{"rates":[{"id":"rate_2e33ee3ebedb4e79bc8d38a9519c3fae","object":"Rate","created_at":"2024-08-14T17:39:28Z","updated_at":"2024-08-14T17:39:28Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_6c3ab9bd75f94e5c86d17833df41e1d2","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_ea42e7adafee422c8eef16338534793b","object":"Rate","created_at":"2024-08-14T17:39:28Z","updated_at":"2024-08-14T17:39:28Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_6c3ab9bd75f94e5c86d17833df41e1d2","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_5dbcc3f8d3f448ed846c418a812588de","object":"Rate","created_at":"2024-08-14T17:39:28Z","updated_at":"2024-08-14T17:39:28Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_6c3ab9bd75f94e5c86d17833df41e1d2","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}]}' curl_info: - url: 'https://api.easypost.com/v2/shipments/shp_fe955be378d64447bad8e9128162f317/rerate' + url: 'https://api.easypost.com/v2/shipments/shp_6c3ab9bd75f94e5c86d17833df41e1d2/rerate' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 689 @@ -124,33 +125,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.377187 - namelookup_time: 0.00167 - connect_time: 0.065412 - pretransfer_time: 0.129962 + total_time: 0.308566 + namelookup_time: 0.002779 + connect_time: 0.035895 + pretransfer_time: 0.071252 size_upload: 2.0 - size_download: 2708.0 - speed_download: 7179.0 - speed_upload: 5.0 - download_content_length: 2708.0 + size_download: 1628.0 + speed_download: 5276.0 + speed_upload: 6.0 + download_content_length: 1628.0 upload_content_length: 2.0 - starttransfer_time: 0.377139 + starttransfer_time: 0.308508 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53428 + local_ip: 192.168.1.75 + local_port: 52651 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 129940 - connect_time_us: 65412 - namelookup_time_us: 1670 - pretransfer_time_us: 129962 + scheme: https + appconnect_time_us: 71185 + connect_time_us: 35895 + namelookup_time_us: 2779 + pretransfer_time_us: 71252 redirect_time_us: 0 - starttransfer_time_us: 377139 - total_time_us: 377187 + starttransfer_time_us: 308508 + total_time_us: 308566 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/shipments/retrieve.yml b/test/cassettes/shipments/retrieve.yml index 4c7da215..bf172e03 100644 --- a/test/cassettes/shipments/retrieve.yml +++ b/test/cassettes/shipments/retrieve.yml @@ -14,8 +14,7 @@ body: '{"shipment":{"from_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"to_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"},"customs_info":{"eel_pfc":"NOEEI 30.37(a)","customs_certify":"true","customs_signer":"Steve Brule","contents_type":"merchandise","restriction_type":"none","non_delivery_option":"return","customs_items":[{"description":"Sweet shirts","quantity":"2","weight":"11","value":"23.25","hs_tariff_number":"654321","origin_country":"US"}]},"options":{"label_format":"PNG","invoice_number":"123"},"reference":"123"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,63 +23,67 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911c655e64cbe78858de001fa1e1 + x-ep-request-uuid: e181587766bcebdfe2b8fbf80086dcb6 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_25c18e40695446b29f4687d215bcbe76 + location: /api/v2/shipments/shp_f6bd742810b747628b2684da825e2f74 content-type: 'application/json; charset=utf-8' - content-length: '7096' - x-runtime: '0.571243' - x-node: bigweb36nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '6016' + x-runtime: '0.531650' + x-node: bigweb32nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-canary: direct + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:03Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":null,"updated_at":"2023-11-22T20:30:03Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_007de4bf687a4a8ca2d3a0538ffb579e","object":"CustomsInfo","created_at":"2023-11-22T20:30:03Z","updated_at":"2023-11-22T20:30:03Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_57590b6028274909bb2eb22b90032f56","object":"CustomsItem","created_at":"2023-11-22T20:30:03Z","updated_at":"2023-11-22T20:30:03Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_ea877ad8897511ee846dac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:03+00:00","updated_at":"2023-11-22T20:30:03+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_cb3625fa59e34d57a5b0fc865f86f219","object":"Parcel","created_at":"2023-11-22T20:30:03Z","updated_at":"2023-11-22T20:30:03Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_c07c2b84fada4c7384addec2508811b5","object":"Rate","created_at":"2023-11-22T20:30:03Z","updated_at":"2023-11-22T20:30:03Z","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_25c18e40695446b29f4687d215bcbe76","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_4135fa8a25034226a784f6c36e55eb1b","object":"Rate","created_at":"2023-11-22T20:30:03Z","updated_at":"2023-11-22T20:30:03Z","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_25c18e40695446b29f4687d215bcbe76","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_7e92444c9d9e4faa83b1e53e1509bbdb","object":"Rate","created_at":"2023-11-22T20:30:03Z","updated_at":"2023-11-22T20:30:03Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_25c18e40695446b29f4687d215bcbe76","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_9fa86de48cf0402c84e703ebf94d4922","object":"Rate","created_at":"2023-11-22T20:30:03Z","updated_at":"2023-11-22T20:30:03Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_25c18e40695446b29f4687d215bcbe76","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_6fc9062d64fa4c3387de2e8b09bf1343","object":"Rate","created_at":"2023-11-22T20:30:03Z","updated_at":"2023-11-22T20:30:03Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_25c18e40695446b29f4687d215bcbe76","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_ea84bab3897511ee835d3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:03+00:00","updated_at":"2023-11-22T20:30:03+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_ea877ad8897511ee846dac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:03+00:00","updated_at":"2023-11-22T20:30:03+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":[]},"buyer_address":{"id":"adr_ea84bab3897511ee835d3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:03+00:00","updated_at":"2023-11-22T20:30:03+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_25c18e40695446b29f4687d215bcbe76","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:43Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:39:44Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_3a71b98d13cb4999a73e1e9896e489a0","object":"CustomsInfo","created_at":"2024-08-14T17:39:43Z","updated_at":"2024-08-14T17:39:43Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_dde655f14b2f4c0fa8cf91465677c4f4","object":"CustomsItem","created_at":"2024-08-14T17:39:43Z","updated_at":"2024-08-14T17:39:43Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_30fe2eb75a6411ef80a1ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:43+00:00","updated_at":"2024-08-14T17:39:43+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_cdaab75a90a1489faf7310d28343798c","object":"Parcel","created_at":"2024-08-14T17:39:43Z","updated_at":"2024-08-14T17:39:43Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_34ef3ce649474d71b3c4724931bcf5ca","object":"Rate","created_at":"2024-08-14T17:39:43Z","updated_at":"2024-08-14T17:39:43Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_f6bd742810b747628b2684da825e2f74","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_f52daa1505a74980a7231e8fab8ccf45","object":"Rate","created_at":"2024-08-14T17:39:43Z","updated_at":"2024-08-14T17:39:43Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_f6bd742810b747628b2684da825e2f74","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_169f7332a7134ab7800f57912c3392a7","object":"Rate","created_at":"2024-08-14T17:39:44Z","updated_at":"2024-08-14T17:39:44Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_f6bd742810b747628b2684da825e2f74","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_30e5ec555a6411efb19aac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:43+00:00","updated_at":"2024-08-14T17:39:43+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_30fe2eb75a6411ef80a1ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:43+00:00","updated_at":"2024-08-14T17:39:43+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":[]},"buyer_address":{"id":"adr_30e5ec555a6411efb19aac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:43+00:00","updated_at":"2024-08-14T17:39:43+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_f6bd742810b747628b2684da825e2f74","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 760 + header_size: 778 request_size: 1172 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.786893 - namelookup_time: 0.001987 - connect_time: 0.06903 - pretransfer_time: 0.149141 + total_time: 0.639781 + namelookup_time: 0.00264 + connect_time: 0.035676 + pretransfer_time: 0.071462 size_upload: 864.0 - size_download: 7096.0 - speed_download: 9017.0 - speed_upload: 1097.0 - download_content_length: 7096.0 + size_download: 6016.0 + speed_download: 9403.0 + speed_upload: 1350.0 + download_content_length: 6016.0 upload_content_length: 864.0 - starttransfer_time: 0.786631 + starttransfer_time: 0.639696 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53414 + local_ip: 192.168.1.75 + local_port: 52683 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 149043 - connect_time_us: 69030 - namelookup_time_us: 1987 - pretransfer_time_us: 149141 + scheme: https + appconnect_time_us: 71422 + connect_time_us: 35676 + namelookup_time_us: 2640 + pretransfer_time_us: 71462 redirect_time_us: 0 - starttransfer_time_us: 786631 - total_time_us: 786893 + starttransfer_time_us: 639696 + total_time_us: 639781 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/shipments/shp_25c18e40695446b29f4687d215bcbe76' + url: 'https://api.easypost.com/v2/shipments/shp_f6bd742810b747628b2684da825e2f74' headers: Host: api.easypost.com Accept-Encoding: '' @@ -90,8 +93,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -100,21 +102,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911c655e64cce78858df001fa2cb + x-ep-request-uuid: e181587a66bcebe0e2b8fbfa0086dd46 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '7096' - x-runtime: '0.088197' - x-node: bigweb35nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '6016' + x-runtime: '0.090368' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:03Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":null,"updated_at":"2023-11-22T20:30:03Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_007de4bf687a4a8ca2d3a0538ffb579e","object":"CustomsInfo","created_at":"2023-11-22T20:30:03Z","updated_at":"2023-11-22T20:30:03Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_57590b6028274909bb2eb22b90032f56","object":"CustomsItem","created_at":"2023-11-22T20:30:03Z","updated_at":"2023-11-22T20:30:03Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_ea877ad8897511ee846dac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:03+00:00","updated_at":"2023-11-22T20:30:03+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_cb3625fa59e34d57a5b0fc865f86f219","object":"Parcel","created_at":"2023-11-22T20:30:03Z","updated_at":"2023-11-22T20:30:03Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_c07c2b84fada4c7384addec2508811b5","object":"Rate","created_at":"2023-11-22T20:30:03Z","updated_at":"2023-11-22T20:30:03Z","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_25c18e40695446b29f4687d215bcbe76","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_4135fa8a25034226a784f6c36e55eb1b","object":"Rate","created_at":"2023-11-22T20:30:03Z","updated_at":"2023-11-22T20:30:03Z","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_25c18e40695446b29f4687d215bcbe76","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_7e92444c9d9e4faa83b1e53e1509bbdb","object":"Rate","created_at":"2023-11-22T20:30:03Z","updated_at":"2023-11-22T20:30:03Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_25c18e40695446b29f4687d215bcbe76","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_9fa86de48cf0402c84e703ebf94d4922","object":"Rate","created_at":"2023-11-22T20:30:03Z","updated_at":"2023-11-22T20:30:03Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_25c18e40695446b29f4687d215bcbe76","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_6fc9062d64fa4c3387de2e8b09bf1343","object":"Rate","created_at":"2023-11-22T20:30:03Z","updated_at":"2023-11-22T20:30:03Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_25c18e40695446b29f4687d215bcbe76","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_ea84bab3897511ee835d3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:03+00:00","updated_at":"2023-11-22T20:30:03+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_ea877ad8897511ee846dac1f6bc53342","object":"Address","created_at":"2023-11-22T20:30:03+00:00","updated_at":"2023-11-22T20:30:03+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":[]},"buyer_address":{"id":"adr_ea84bab3897511ee835d3cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:03+00:00","updated_at":"2023-11-22T20:30:03+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_25c18e40695446b29f4687d215bcbe76","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:43Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"shipment.customs_info.customs_items.0.code: field required"}],"mode":"test","options":{"label_format":"PNG","invoice_number":"123","currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":"123","status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:39:44Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":{"id":"cstinfo_3a71b98d13cb4999a73e1e9896e489a0","object":"CustomsInfo","created_at":"2024-08-14T17:39:43Z","updated_at":"2024-08-14T17:39:43Z","contents_explanation":null,"contents_type":"merchandise","customs_certify":true,"customs_signer":"Steve Brule","eel_pfc":"NOEEI 30.37(a)","non_delivery_option":"return","restriction_comments":null,"restriction_type":"none","mode":"test","declaration":null,"customs_items":[{"id":"cstitem_dde655f14b2f4c0fa8cf91465677c4f4","object":"CustomsItem","created_at":"2024-08-14T17:39:43Z","updated_at":"2024-08-14T17:39:43Z","description":"Sweet shirts","hs_tariff_number":"654321","origin_country":"US","quantity":2,"value":"23.25","weight":11,"code":null,"mode":"test","manufacturer":null,"currency":null,"eccn":null,"printed_commodity_identifier":null}]},"from_address":{"id":"adr_30fe2eb75a6411ef80a1ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:43+00:00","updated_at":"2024-08-14T17:39:43+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_cdaab75a90a1489faf7310d28343798c","object":"Parcel","created_at":"2024-08-14T17:39:43Z","updated_at":"2024-08-14T17:39:43Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_34ef3ce649474d71b3c4724931bcf5ca","object":"Rate","created_at":"2024-08-14T17:39:43Z","updated_at":"2024-08-14T17:39:43Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_f6bd742810b747628b2684da825e2f74","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_f52daa1505a74980a7231e8fab8ccf45","object":"Rate","created_at":"2024-08-14T17:39:43Z","updated_at":"2024-08-14T17:39:43Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_f6bd742810b747628b2684da825e2f74","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_169f7332a7134ab7800f57912c3392a7","object":"Rate","created_at":"2024-08-14T17:39:44Z","updated_at":"2024-08-14T17:39:44Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_f6bd742810b747628b2684da825e2f74","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_30e5ec555a6411efb19aac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:43+00:00","updated_at":"2024-08-14T17:39:43+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_30fe2eb75a6411ef80a1ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:43+00:00","updated_at":"2024-08-14T17:39:43+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":[]},"buyer_address":{"id":"adr_30e5ec555a6411efb19aac1f6bc53342","object":"Address","created_at":"2024-08-14T17:39:43+00:00","updated_at":"2024-08-14T17:39:43+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_f6bd742810b747628b2684da825e2f74","object":"Shipment"}' curl_info: - url: 'https://api.easypost.com/v2/shipments/shp_25c18e40695446b29f4687d215bcbe76' + url: 'https://api.easypost.com/v2/shipments/shp_f6bd742810b747628b2684da825e2f74' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 689 @@ -122,33 +124,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.28963 - namelookup_time: 0.001069 - connect_time: 0.063179 - pretransfer_time: 0.130898 + total_time: 0.194539 + namelookup_time: 0.005958 + connect_time: 0.035571 + pretransfer_time: 0.070019 size_upload: 0.0 - size_download: 7096.0 - speed_download: 24500.0 + size_download: 6016.0 + speed_download: 30924.0 speed_upload: 0.0 - download_content_length: 7096.0 + download_content_length: 6016.0 upload_content_length: 0.0 - starttransfer_time: 0.289388 + starttransfer_time: 0.19441 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53415 + local_ip: 192.168.1.75 + local_port: 52685 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 130818 - connect_time_us: 63179 - namelookup_time_us: 1069 - pretransfer_time_us: 130898 + scheme: https + appconnect_time_us: 69948 + connect_time_us: 35571 + namelookup_time_us: 5958 + pretransfer_time_us: 70019 redirect_time_us: 0 - starttransfer_time_us: 289388 - total_time_us: 289630 + starttransfer_time_us: 194410 + total_time_us: 194539 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/shipments/retrieveEstimatedDeliveryDate.yml b/test/cassettes/shipments/retrieveEstimatedDeliveryDate.yml index bacdcec1..24d349eb 100644 --- a/test/cassettes/shipments/retrieveEstimatedDeliveryDate.yml +++ b/test/cassettes/shipments/retrieveEstimatedDeliveryDate.yml @@ -23,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: b8e53c1e669041e4e798cc1d002795bd + x-ep-request-uuid: e181587866bcebf0e2b8ff360086ecb6 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_788aa30b53e04545b4f416af4425c5cd + location: /api/v2/shipments/shp_da923999216843a3887cfe90d0903e9b content-type: 'application/json; charset=utf-8' - content-length: '6335' - x-runtime: '1.532754' - x-node: bigweb41nuq - x-version-label: easypost-202407111940-3cb16a3462-master + content-length: '4984' + x-runtime: '0.683943' + x-node: bigweb39nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb4nuq fa152d4755', 'extlb2nuq fa152d4755'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2024-07-11T20:34:44Z","is_return":false,"messages":[{"carrier":"UPS","carrier_account_id":"ca_d05aecc4f5c9412283e2fdc65d117692","type":"rate_error","message":"Invalid Access License number"},{"carrier":"UPS","carrier_account_id":"ca_533ac39596fc45809cf6685bbe55523a","type":"rate_error","message":"Invalid Access License number"},{"carrier":"DhlEcs","carrier_account_id":"ca_e94e4fa45aba4058809c9246a48712b3","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_b3781a40f76d4b94a70d2258e6d318c2","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_c02da7bfb4264ea3bcb85c0f760d4a6e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91ae96a5fc1f4cf4aa4b69067df5686b","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_b437adf5f4c64f3d8823d5ffa776a158","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-07-11T20:34:45Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_01dc18393fc511ef9cc5ac1f6bc539ae","object":"Address","created_at":"2024-07-11T20:34:44+00:00","updated_at":"2024-07-11T20:34:44+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_5e8b756c481c4c2ca44c15212d61d99f","object":"Parcel","created_at":"2024-07-11T20:34:44Z","updated_at":"2024-07-11T20:34:44Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_3a1bf63590db49f0968fe801aa6326d8","object":"Rate","created_at":"2024-07-11T20:34:45Z","updated_at":"2024-07-11T20:34:45Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_788aa30b53e04545b4f416af4425c5cd","carrier_account_id":"ca_716f33fd9fd348238b85c2922237f98b"},{"id":"rate_cbfc5676bd4d40fc86ac1dba2d97f73b","object":"Rate","created_at":"2024-07-11T20:34:45Z","updated_at":"2024-07-11T20:34:45Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_788aa30b53e04545b4f416af4425c5cd","carrier_account_id":"ca_716f33fd9fd348238b85c2922237f98b"},{"id":"rate_c60caf762e754ae5b0ed7b93e9eee607","object":"Rate","created_at":"2024-07-11T20:34:45Z","updated_at":"2024-07-11T20:34:45Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_788aa30b53e04545b4f416af4425c5cd","carrier_account_id":"ca_716f33fd9fd348238b85c2922237f98b"},{"id":"rate_470d1af4732c40198803905b989655e8","object":"Rate","created_at":"2024-07-11T20:34:45Z","updated_at":"2024-07-11T20:34:45Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_788aa30b53e04545b4f416af4425c5cd","carrier_account_id":"ca_716f33fd9fd348238b85c2922237f98b"},{"id":"rate_b2bb88b794cc4f8ebe7a341c1cdba683","object":"Rate","created_at":"2024-07-11T20:34:45Z","updated_at":"2024-07-11T20:34:45Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_788aa30b53e04545b4f416af4425c5cd","carrier_account_id":"ca_716f33fd9fd348238b85c2922237f98b"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_01d8e1cf3fc511ef94e43cecef1b359e","object":"Address","created_at":"2024-07-11T20:34:44+00:00","updated_at":"2024-07-11T20:34:44+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_01dc18393fc511ef9cc5ac1f6bc539ae","object":"Address","created_at":"2024-07-11T20:34:44+00:00","updated_at":"2024-07-11T20:34:44+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":[]},"buyer_address":{"id":"adr_01d8e1cf3fc511ef94e43cecef1b359e","object":"Address","created_at":"2024-07-11T20:34:44+00:00","updated_at":"2024-07-11T20:34:44+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_788aa30b53e04545b4f416af4425c5cd","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:40:00Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:40:01Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_3b29dc735a6411ef85ae3cecef1b359e","object":"Address","created_at":"2024-08-14T17:40:00+00:00","updated_at":"2024-08-14T17:40:00+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_4a036bad2db54a839f335f6b3213a011","object":"Parcel","created_at":"2024-08-14T17:40:00Z","updated_at":"2024-08-14T17:40:00Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_6f305aa1dbfb4968af8d7fd27d44a6d3","object":"Rate","created_at":"2024-08-14T17:40:01Z","updated_at":"2024-08-14T17:40:01Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_da923999216843a3887cfe90d0903e9b","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_a6d319c19f4344e8b21e76726b37c89f","object":"Rate","created_at":"2024-08-14T17:40:01Z","updated_at":"2024-08-14T17:40:01Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_da923999216843a3887cfe90d0903e9b","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_9d2326ae88814c129344a3694de5faf6","object":"Rate","created_at":"2024-08-14T17:40:01Z","updated_at":"2024-08-14T17:40:01Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_da923999216843a3887cfe90d0903e9b","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_3b27331b5a6411efa592ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:40:00+00:00","updated_at":"2024-08-14T17:40:00+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_3b29dc735a6411ef85ae3cecef1b359e","object":"Address","created_at":"2024-08-14T17:40:00+00:00","updated_at":"2024-08-14T17:40:00+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":[]},"buyer_address":{"id":"adr_3b27331b5a6411efa592ac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:40:00+00:00","updated_at":"2024-08-14T17:40:00+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_da923999216843a3887cfe90d0903e9b","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' @@ -46,35 +46,35 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 2.017483 - namelookup_time: 0.00294 - connect_time: 0.141606 - pretransfer_time: 0.275798 + total_time: 0.792145 + namelookup_time: 0.002061 + connect_time: 0.03511 + pretransfer_time: 0.070841 size_upload: 459.0 - size_download: 6335.0 - speed_download: 3140.0 - speed_upload: 227.0 - download_content_length: 6335.0 + size_download: 4984.0 + speed_download: 6291.0 + speed_upload: 579.0 + download_content_length: 4984.0 upload_content_length: 459.0 - starttransfer_time: 2.017423 + starttransfer_time: 0.792057 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.29 - local_port: 60406 + local_ip: 192.168.1.75 + local_port: 52708 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 275706 - connect_time_us: 141606 - namelookup_time_us: 2940 - pretransfer_time_us: 275798 + scheme: https + appconnect_time_us: 70789 + connect_time_us: 35110 + namelookup_time_us: 2061 + pretransfer_time_us: 70841 redirect_time_us: 0 - starttransfer_time_us: 2017423 - total_time_us: 2017483 + starttransfer_time_us: 792057 + total_time_us: 792145 effective_method: POST capath: '' cainfo: '' @@ -82,7 +82,7 @@ - request: method: GET - url: 'https://api.easypost.com/v2/shipments/shp_788aa30b53e04545b4f416af4425c5cd/smartrate/delivery_date?planned_ship_date=2024-07-16' + url: 'https://api.easypost.com/v2/shipments/shp_da923999216843a3887cfe90d0903e9b/smartrate/delivery_date?planned_ship_date=2024-08-16' headers: Host: api.easypost.com Accept-Encoding: '' @@ -101,21 +101,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: b8e53c23669041e6e798cc3d0027980a + x-ep-request-uuid: e181587766bcebf1e2b8ff370086ed63 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '3883' - x-runtime: '0.108990' - x-node: bigweb39nuq - x-version-label: easypost-202407111940-3cb16a3462-master + content-length: '2336' + x-runtime: '0.135833' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb3nuq fa152d4755', 'extlb2nuq fa152d4755'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"rates":[{"easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":1,"percentile_75":2,"percentile_85":2,"percentile_90":3,"percentile_95":3,"percentile_97":4,"percentile_99":6},"easypost_estimated_delivery_date":"2024-07-17","planned_ship_date":"2024-07-16"},"rate":{"carrier":"USPS","carrier_account_id":"ca_716f33fd9fd348238b85c2922237f98b","created_at":"2024-07-11T20:34:45Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":2,"est_delivery_days":2,"id":"rate_3a1bf63590db49f0968fe801aa6326d8","list_currency":"USD","list_rate":33.1,"mode":"test","object":"Rate","rate":33.1,"retail_currency":"USD","retail_rate":37.9,"service":"Express","shipment_id":"shp_788aa30b53e04545b4f416af4425c5cd","updated_at":"2024-07-11T20:34:45Z"}},{"easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":2,"percentile_75":3,"percentile_85":3,"percentile_90":3,"percentile_95":4,"percentile_97":6,"percentile_99":7},"easypost_estimated_delivery_date":"2024-07-18","planned_ship_date":"2024-07-16"},"rate":{"carrier":"USPS","carrier_account_id":"ca_716f33fd9fd348238b85c2922237f98b","created_at":"2024-07-11T20:34:45Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":2,"est_delivery_days":2,"id":"rate_cbfc5676bd4d40fc86ac1dba2d97f73b","list_currency":"USD","list_rate":8.25,"mode":"test","object":"Rate","rate":6.9,"retail_currency":"USD","retail_rate":9.8,"service":"Priority","shipment_id":"shp_788aa30b53e04545b4f416af4425c5cd","updated_at":"2024-07-11T20:34:45Z"}},{"easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":2,"percentile_75":3,"percentile_85":3,"percentile_90":4,"percentile_95":6,"percentile_97":6,"percentile_99":9},"easypost_estimated_delivery_date":"2024-07-18","planned_ship_date":"2024-07-16"},"rate":{"carrier":"USPS","carrier_account_id":"ca_716f33fd9fd348238b85c2922237f98b","created_at":"2024-07-11T20:34:45Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":3,"est_delivery_days":3,"id":"rate_c60caf762e754ae5b0ed7b93e9eee607","list_currency":"USD","list_rate":6.4,"mode":"test","object":"Rate","rate":5.93,"retail_currency":"USD","retail_rate":8.45,"service":"GroundAdvantage","shipment_id":"shp_788aa30b53e04545b4f416af4425c5cd","updated_at":"2024-07-11T20:34:45Z"}},{"easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":2,"percentile_75":3,"percentile_85":3,"percentile_90":4,"percentile_95":6,"percentile_97":6,"percentile_99":9},"easypost_estimated_delivery_date":"2024-07-18","planned_ship_date":"2024-07-16"},"rate":{"carrier":"USPS","carrier_account_id":"ca_716f33fd9fd348238b85c2922237f98b","created_at":"2024-07-11T20:34:45Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":3,"est_delivery_days":3,"id":"rate_470d1af4732c40198803905b989655e8","list_currency":"USD","list_rate":6.4,"mode":"test","object":"Rate","rate":5.93,"retail_currency":"USD","retail_rate":8.45,"service":"First","shipment_id":"shp_788aa30b53e04545b4f416af4425c5cd","updated_at":"2024-07-11T20:34:45Z"}},{"easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":2,"percentile_75":3,"percentile_85":3,"percentile_90":4,"percentile_95":6,"percentile_97":6,"percentile_99":9},"easypost_estimated_delivery_date":"2024-07-18","planned_ship_date":"2024-07-16"},"rate":{"carrier":"USPS","carrier_account_id":"ca_716f33fd9fd348238b85c2922237f98b","created_at":"2024-07-11T20:34:45Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":3,"est_delivery_days":3,"id":"rate_b2bb88b794cc4f8ebe7a341c1cdba683","list_currency":"USD","list_rate":6.4,"mode":"test","object":"Rate","rate":5.93,"retail_currency":"USD","retail_rate":8.45,"service":"ParcelSelect","shipment_id":"shp_788aa30b53e04545b4f416af4425c5cd","updated_at":"2024-07-11T20:34:45Z"}}]}' + body: '{"rates":[{"easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":3,"percentile_75":3,"percentile_85":3,"percentile_90":4,"percentile_95":5,"percentile_97":5,"percentile_99":7},"easypost_estimated_delivery_date":"2024-08-19","planned_ship_date":"2024-08-16"},"rate":{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2024-08-14T17:40:01Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":2,"est_delivery_days":2,"id":"rate_6f305aa1dbfb4968af8d7fd27d44a6d3","list_currency":"USD","list_rate":8.25,"mode":"test","object":"Rate","rate":6.9,"retail_currency":"USD","retail_rate":9.8,"service":"Priority","shipment_id":"shp_da923999216843a3887cfe90d0903e9b","updated_at":"2024-08-14T17:40:01Z"}},{"easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":3,"percentile_75":3,"percentile_85":3,"percentile_90":4,"percentile_95":5,"percentile_97":5,"percentile_99":7},"easypost_estimated_delivery_date":"2024-08-19","planned_ship_date":"2024-08-16"},"rate":{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2024-08-14T17:40:01Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":3,"est_delivery_days":3,"id":"rate_a6d319c19f4344e8b21e76726b37c89f","list_currency":"USD","list_rate":6.4,"mode":"test","object":"Rate","rate":5.93,"retail_currency":"USD","retail_rate":8.45,"service":"GroundAdvantage","shipment_id":"shp_da923999216843a3887cfe90d0903e9b","updated_at":"2024-08-14T17:40:01Z"}},{"easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":1,"percentile_75":3,"percentile_85":3,"percentile_90":4,"percentile_95":4,"percentile_97":5,"percentile_99":7},"easypost_estimated_delivery_date":"2024-08-17","planned_ship_date":"2024-08-16"},"rate":{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2024-08-14T17:40:01Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":1,"est_delivery_days":1,"id":"rate_9d2326ae88814c129344a3694de5faf6","list_currency":"USD","list_rate":33.1,"mode":"test","object":"Rate","rate":33.1,"retail_currency":"USD","retail_rate":37.9,"service":"Express","shipment_id":"shp_da923999216843a3887cfe90d0903e9b","updated_at":"2024-08-14T17:40:01Z"}}]}' curl_info: - url: 'https://api.easypost.com/v2/shipments/shp_788aa30b53e04545b4f416af4425c5cd/smartrate/delivery_date?planned_ship_date=2024-07-16' + url: 'https://api.easypost.com/v2/shipments/shp_da923999216843a3887cfe90d0903e9b/smartrate/delivery_date?planned_ship_date=2024-08-16' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 689 @@ -123,35 +123,35 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.542043 - namelookup_time: 0.025327 - connect_time: 0.167585 - pretransfer_time: 0.303692 + total_time: 0.246355 + namelookup_time: 0.002405 + connect_time: 0.035773 + pretransfer_time: 0.073579 size_upload: 0.0 - size_download: 3883.0 - speed_download: 7163.0 + size_download: 2336.0 + speed_download: 9482.0 speed_upload: 0.0 - download_content_length: 3883.0 + download_content_length: 2336.0 upload_content_length: 0.0 - starttransfer_time: 0.54202 + starttransfer_time: 0.246264 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.29 - local_port: 60415 + local_ip: 192.168.1.75 + local_port: 52709 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 303584 - connect_time_us: 167585 - namelookup_time_us: 25327 - pretransfer_time_us: 303692 + scheme: https + appconnect_time_us: 73499 + connect_time_us: 35773 + namelookup_time_us: 2405 + pretransfer_time_us: 73579 redirect_time_us: 0 - starttransfer_time_us: 542020 - total_time_us: 542043 + starttransfer_time_us: 246264 + total_time_us: 246355 effective_method: GET capath: '' cainfo: '' diff --git a/test/cassettes/shipments/smartrates.yml b/test/cassettes/shipments/smartrates.yml index 71228b12..6b9cc072 100644 --- a/test/cassettes/shipments/smartrates.yml +++ b/test/cassettes/shipments/smartrates.yml @@ -14,8 +14,7 @@ body: '{"shipment":{"from_address":{"name":"Jack Sparrow","street1":"388 Townsend St","street2":"Apt 20","city":"San Francisco","state":"CA","zip":"94107","country":"US","email":"test@example.com","phone":"5555555555"},"to_address":{"name":"Elizabeth Swan","street1":"179 N Harbor Dr","city":"Redondo Beach","state":"CA","zip":"90277","country":"US","email":"test@example.com","phone":"5555555555"},"parcel":{"length":"10","width":"8","height":"4","weight":"15.4"}}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911a655e64cce78858e0001fa333 + x-ep-request-uuid: e181587d66bcebe8e2b8fc190086e4c4 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/shipments/shp_e019f767c2074fd1bd4ce73c1c7554a8 + location: /api/v2/shipments/shp_c910f8cf0b6749a38924d18fc1e39e3b content-type: 'application/json; charset=utf-8' - content-length: '6229' - x-runtime: '0.964164' - x-node: bigweb39nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '4984' + x-runtime: '0.718299' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"created_at":"2023-11-22T20:30:04Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Unauthorized. Please check credentials and try again"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","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":"2023-11-22T20:30:05Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_eb325a0c897511ee83c63cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:04+00:00","updated_at":"2023-11-22T20:30:04+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_cb21029526124d1884b60f7189dede80","object":"Parcel","created_at":"2023-11-22T20:30:04Z","updated_at":"2023-11-22T20:30:04Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_2d8f0fa398e247799d049bfc77e90e00","object":"Rate","created_at":"2023-11-22T20:30:05Z","updated_at":"2023-11-22T20:30:05Z","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_e019f767c2074fd1bd4ce73c1c7554a8","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_da2e97183c0447c3a70ad23646647276","object":"Rate","created_at":"2023-11-22T20:30:05Z","updated_at":"2023-11-22T20:30:05Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_e019f767c2074fd1bd4ce73c1c7554a8","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_b3b7970a374b4babb58de8556220e7c4","object":"Rate","created_at":"2023-11-22T20:30:05Z","updated_at":"2023-11-22T20:30:05Z","mode":"test","service":"First","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_e019f767c2074fd1bd4ce73c1c7554a8","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_beea69d7e9a54152b3c7586a9f3eb350","object":"Rate","created_at":"2023-11-22T20:30:05Z","updated_at":"2023-11-22T20:30:05Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.00","retail_currency":"USD","list_rate":"6.07","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_e019f767c2074fd1bd4ce73c1c7554a8","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_85d938efe5fb4d179c5956e87d312fb8","object":"Rate","created_at":"2023-11-22T20:30:05Z","updated_at":"2023-11-22T20:30:05Z","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_e019f767c2074fd1bd4ce73c1c7554a8","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_eb2def1f897511ee83c23cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:04+00:00","updated_at":"2023-11-22T20:30:04+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_eb325a0c897511ee83c63cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:04+00:00","updated_at":"2023-11-22T20:30:04+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":[]},"buyer_address":{"id":"adr_eb2def1f897511ee83c23cecef1b359e","object":"Address","created_at":"2023-11-22T20:30:04+00:00","updated_at":"2023-11-22T20:30:04+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_e019f767c2074fd1bd4ce73c1c7554a8","object":"Shipment"}' + body: '{"created_at":"2024-08-14T17:39:52Z","is_return":false,"messages":[{"carrier":"DhlEcs","carrier_account_id":"ca_cd846680a6f74c23891086de730769d6","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_91e6857e8cb6455180f8ef8a3db8baaa","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_23d193562e8e459bbd937c2aad3dd092","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_cb65fc8581184ea38a3108f9e9d1e81c","type":"rate_error","message":"Invalid credentials"},{"carrier":"DhlEcs","carrier_account_id":"ca_5e8c4f41363b432594441dbf98e4032e","type":"rate_error","message":"Invalid credentials"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2024-08-14T17:39:52Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_360624b85a6411ef8460ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:52+00:00","updated_at":"2024-08-14T17:39:52+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":[]},"insurance":null,"order_id":null,"parcel":{"id":"prcl_f864e18cad384c44bd0227df8d027937","object":"Parcel","created_at":"2024-08-14T17:39:52Z","updated_at":"2024-08-14T17:39:52Z","length":10,"width":8,"height":4,"predefined_package":null,"weight":15.4,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_32a608e452674afdbb688b825161d43a","object":"Rate","created_at":"2024-08-14T17:39:52Z","updated_at":"2024-08-14T17:39:52Z","mode":"test","service":"Priority","carrier":"USPS","rate":"6.90","currency":"USD","retail_rate":"9.80","retail_currency":"USD","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_c910f8cf0b6749a38924d18fc1e39e3b","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_fdd40e3a53bf4605970d995aaeb2e044","object":"Rate","created_at":"2024-08-14T17:39:52Z","updated_at":"2024-08-14T17:39:52Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.93","currency":"USD","retail_rate":"8.45","retail_currency":"USD","list_rate":"6.40","list_currency":"USD","billing_type":"easypost","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":3,"shipment_id":"shp_c910f8cf0b6749a38924d18fc1e39e3b","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"},{"id":"rate_db7d91fb1c454f4b8145188afae1a45d","object":"Rate","created_at":"2024-08-14T17:39:52Z","updated_at":"2024-08-14T17:39:52Z","mode":"test","service":"Express","carrier":"USPS","rate":"33.10","currency":"USD","retail_rate":"37.90","retail_currency":"USD","list_rate":"33.10","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_c910f8cf0b6749a38924d18fc1e39e3b","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_3603b02b5a6411efa2afac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:52+00:00","updated_at":"2024-08-14T17:39:52+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"usps_zone":4,"return_address":{"id":"adr_360624b85a6411ef8460ac1f6bc539ae","object":"Address","created_at":"2024-08-14T17:39:52+00:00","updated_at":"2024-08-14T17:39:52+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":[]},"buyer_address":{"id":"adr_3603b02b5a6411efa2afac1f6bc539aa","object":"Address","created_at":"2024-08-14T17:39:52+00:00","updated_at":"2024-08-14T17:39:52+00:00","name":"Elizabeth Swan","company":null,"street1":"179 N Harbor Dr","street2":null,"city":"Redondo Beach","state":"CA","zip":"90277","country":"US","phone":"","email":"","mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":[]},"forms":[],"fees":[],"id":"shp_c910f8cf0b6749a38924d18fc1e39e3b","object":"Shipment"}' curl_info: url: 'https://api.easypost.com/v2/shipments' content_type: 'application/json; charset=utf-8' @@ -47,40 +46,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.164544 - namelookup_time: 0.001044 - connect_time: 0.064734 - pretransfer_time: 0.133976 + total_time: 0.828725 + namelookup_time: 0.00211 + connect_time: 0.035056 + pretransfer_time: 0.070394 size_upload: 459.0 - size_download: 6229.0 - speed_download: 5348.0 - speed_upload: 394.0 - download_content_length: 6229.0 + size_download: 4984.0 + speed_download: 6014.0 + speed_upload: 553.0 + download_content_length: 4984.0 upload_content_length: 459.0 - starttransfer_time: 1.164312 + starttransfer_time: 0.828689 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53416 + local_ip: 192.168.1.75 + local_port: 52693 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 133864 - connect_time_us: 64734 - namelookup_time_us: 1044 - pretransfer_time_us: 133976 + scheme: https + appconnect_time_us: 70332 + connect_time_us: 35056 + namelookup_time_us: 2110 + pretransfer_time_us: 70394 redirect_time_us: 0 - starttransfer_time_us: 1164312 - total_time_us: 1164544 + starttransfer_time_us: 828689 + total_time_us: 828725 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/shipments/shp_e019f767c2074fd1bd4ce73c1c7554a8/smartrate' + url: 'https://api.easypost.com/v2/shipments/shp_c910f8cf0b6749a38924d18fc1e39e3b/smartrate' headers: Host: api.easypost.com Accept-Encoding: '' @@ -90,8 +92,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -100,21 +101,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911b655e64cde78858e1001fa4d3 + x-ep-request-uuid: e181587c66bcebe8e2b8fc1a0086e5ad cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '3277' - x-runtime: '0.131688' - x-node: bigweb36nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '1965' + x-runtime: '0.101855' + x-node: bigweb39nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"result":[{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2023-11-22T20:30:05Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":2,"est_delivery_days":2,"id":"rate_2d8f0fa398e247799d049bfc77e90e00","list_currency":"USD","list_rate":8.24,"mode":"test","object":"Rate","rate":6.95,"retail_currency":"USD","retail_rate":10.2,"service":"Priority","shipment_id":"shp_e019f767c2074fd1bd4ce73c1c7554a8","time_in_transit":{"percentile_50":2,"percentile_75":2,"percentile_85":3,"percentile_90":3,"percentile_95":3,"percentile_97":4,"percentile_99":5},"updated_at":"2023-11-22T20:30:05Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2023-11-22T20:30:05Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":3,"est_delivery_days":3,"id":"rate_da2e97183c0447c3a70ad23646647276","list_currency":"USD","list_rate":6.07,"mode":"test","object":"Rate","rate":5.93,"retail_currency":"USD","retail_rate":8,"service":"GroundAdvantage","shipment_id":"shp_e019f767c2074fd1bd4ce73c1c7554a8","time_in_transit":{"percentile_50":1,"percentile_75":2,"percentile_85":3,"percentile_90":3,"percentile_95":5,"percentile_97":6,"percentile_99":10},"updated_at":"2023-11-22T20:30:05Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2023-11-22T20:30:05Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":3,"est_delivery_days":3,"id":"rate_b3b7970a374b4babb58de8556220e7c4","list_currency":"USD","list_rate":6.07,"mode":"test","object":"Rate","rate":5.93,"retail_currency":"USD","retail_rate":8,"service":"First","shipment_id":"shp_e019f767c2074fd1bd4ce73c1c7554a8","time_in_transit":{"percentile_50":1,"percentile_75":2,"percentile_85":3,"percentile_90":3,"percentile_95":5,"percentile_97":6,"percentile_99":10},"updated_at":"2023-11-22T20:30:05Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2023-11-22T20:30:05Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":3,"est_delivery_days":3,"id":"rate_beea69d7e9a54152b3c7586a9f3eb350","list_currency":"USD","list_rate":6.07,"mode":"test","object":"Rate","rate":5.93,"retail_currency":"USD","retail_rate":8,"service":"ParcelSelect","shipment_id":"shp_e019f767c2074fd1bd4ce73c1c7554a8","time_in_transit":{"percentile_50":1,"percentile_75":2,"percentile_85":3,"percentile_90":3,"percentile_95":5,"percentile_97":6,"percentile_99":10},"updated_at":"2023-11-22T20:30:05Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2023-11-22T20:30:05Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":null,"est_delivery_days":null,"id":"rate_85d938efe5fb4d179c5956e87d312fb8","list_currency":"USD","list_rate":31.25,"mode":"test","object":"Rate","rate":31.25,"retail_currency":"USD","retail_rate":35.8,"service":"Express","shipment_id":"shp_e019f767c2074fd1bd4ce73c1c7554a8","time_in_transit":{"percentile_50":2,"percentile_75":2,"percentile_85":3,"percentile_90":3,"percentile_95":3,"percentile_97":4,"percentile_99":5},"updated_at":"2023-11-22T20:30:05Z"}]}' + body: '{"result":[{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2024-08-14T17:39:52Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":2,"est_delivery_days":2,"id":"rate_32a608e452674afdbb688b825161d43a","list_currency":"USD","list_rate":8.25,"mode":"test","object":"Rate","rate":6.9,"retail_currency":"USD","retail_rate":9.8,"service":"Priority","shipment_id":"shp_c910f8cf0b6749a38924d18fc1e39e3b","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-08-14T17:39:52Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2024-08-14T17:39:52Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":3,"est_delivery_days":3,"id":"rate_fdd40e3a53bf4605970d995aaeb2e044","list_currency":"USD","list_rate":6.4,"mode":"test","object":"Rate","rate":5.93,"retail_currency":"USD","retail_rate":8.45,"service":"GroundAdvantage","shipment_id":"shp_c910f8cf0b6749a38924d18fc1e39e3b","time_in_transit":{"percentile_50":1,"percentile_75":2,"percentile_85":2,"percentile_90":2,"percentile_95":2,"percentile_97":3,"percentile_99":3},"updated_at":"2024-08-14T17:39:52Z"},{"carrier":"USPS","carrier_account_id":"ca_8dc116debcdb49b5a66a2ddee4612600","created_at":"2024-08-14T17:39:52Z","currency":"USD","delivery_date":null,"delivery_date_guaranteed":false,"delivery_days":1,"est_delivery_days":1,"id":"rate_db7d91fb1c454f4b8145188afae1a45d","list_currency":"USD","list_rate":33.1,"mode":"test","object":"Rate","rate":33.1,"retail_currency":"USD","retail_rate":37.9,"service":"Express","shipment_id":"shp_c910f8cf0b6749a38924d18fc1e39e3b","time_in_transit":{"percentile_50":1,"percentile_75":2,"percentile_85":2,"percentile_90":3,"percentile_95":3,"percentile_97":4,"percentile_99":7},"updated_at":"2024-08-14T17:39:52Z"}]}' curl_info: - url: 'https://api.easypost.com/v2/shipments/shp_e019f767c2074fd1bd4ce73c1c7554a8/smartrate' + url: 'https://api.easypost.com/v2/shipments/shp_c910f8cf0b6749a38924d18fc1e39e3b/smartrate' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 689 @@ -122,33 +123,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.332172 - namelookup_time: 0.001173 - connect_time: 0.062089 - pretransfer_time: 0.13599 + total_time: 0.20313 + namelookup_time: 0.002152 + connect_time: 0.031565 + pretransfer_time: 0.064213 size_upload: 0.0 - size_download: 3277.0 - speed_download: 9865.0 + size_download: 1965.0 + speed_download: 9673.0 speed_upload: 0.0 - download_content_length: 3277.0 + download_content_length: 1965.0 upload_content_length: 0.0 - starttransfer_time: 0.332094 + starttransfer_time: 0.203073 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53417 + local_ip: 192.168.1.75 + local_port: 52694 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 135882 - connect_time_us: 62089 - namelookup_time_us: 1173 - pretransfer_time_us: 135990 + scheme: https + appconnect_time_us: 64154 + connect_time_us: 31565 + namelookup_time_us: 2152 + pretransfer_time_us: 64213 redirect_time_us: 0 - starttransfer_time_us: 332094 - total_time_us: 332172 + starttransfer_time_us: 203073 + total_time_us: 203130 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/smartrate/estimatedDeliveryDate.yml b/test/cassettes/smartrate/estimatedDeliveryDate.yml index c348694a..4d177071 100644 --- a/test/cassettes/smartrate/estimatedDeliveryDate.yml +++ b/test/cassettes/smartrate/estimatedDeliveryDate.yml @@ -11,7 +11,7 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"from_zip":"94107","to_zip":"90277","planned_ship_date":"2024-07-16","carriers":["USPS"]}' + body: '{"from_zip":"94107","to_zip":"90277","planned_ship_date":"2024-08-16","carriers":["USPS"]}' response: status: code: 200 @@ -23,58 +23,57 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 39ae9bff66905363e79a830d003fe457 + x-ep-request-uuid: e181587d66bcec22e2b9043600872172 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1496' - x-runtime: '0.088010' - x-node: bigweb32nuq - x-version-label: easypost-202407111940-3cb16a3462-master + x-runtime: '0.081910' + x-node: bigweb34nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb3nuq fa152d4755', 'extlb1nuq fa152d4755'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"carriers_without_tint_estimates":null,"from_zip":"94107","planned_ship_date":"2024-07-16","results":[{"carrier":"USPS","easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":1,"percentile_75":2,"percentile_85":2,"percentile_90":3,"percentile_95":3,"percentile_97":4,"percentile_99":6},"easypost_estimated_delivery_date":"2024-07-17"},"service":"express"},{"carrier":"USPS","easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":2,"percentile_75":3,"percentile_85":3,"percentile_90":4,"percentile_95":6,"percentile_97":6,"percentile_99":9},"easypost_estimated_delivery_date":"2024-07-18"},"service":"groundadvantage"},{"carrier":"USPS","easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":3,"percentile_75":3,"percentile_85":3,"percentile_90":6,"percentile_95":6,"percentile_97":6,"percentile_99":9},"easypost_estimated_delivery_date":"2024-07-18"},"service":"librarymail"},{"carrier":"USPS","easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":3,"percentile_75":3,"percentile_85":3,"percentile_90":4,"percentile_95":6,"percentile_97":6,"percentile_99":9},"easypost_estimated_delivery_date":"2024-07-18"},"service":"mediamail"},{"carrier":"USPS","easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":2,"percentile_75":3,"percentile_85":3,"percentile_90":3,"percentile_95":4,"percentile_97":6,"percentile_99":7},"easypost_estimated_delivery_date":"2024-07-18"},"service":"priority"}],"saturday_delivery":null,"to_zip":"90277"}' + body: '{"carriers_without_tint_estimates":null,"from_zip":"94107","planned_ship_date":"2024-08-16","results":[{"carrier":"USPS","easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":1,"percentile_75":3,"percentile_85":3,"percentile_90":4,"percentile_95":4,"percentile_97":5,"percentile_99":7},"easypost_estimated_delivery_date":"2024-08-17"},"service":"express"},{"carrier":"USPS","easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":3,"percentile_75":3,"percentile_85":3,"percentile_90":4,"percentile_95":5,"percentile_97":5,"percentile_99":7},"easypost_estimated_delivery_date":"2024-08-19"},"service":"groundadvantage"},{"carrier":"USPS","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":6,"percentile_99":8},"easypost_estimated_delivery_date":"2024-08-19"},"service":"librarymail"},{"carrier":"USPS","easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":3,"percentile_75":3,"percentile_85":3,"percentile_90":4,"percentile_95":4,"percentile_97":5,"percentile_99":7},"easypost_estimated_delivery_date":"2024-08-19"},"service":"mediamail"},{"carrier":"USPS","easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":3,"percentile_75":3,"percentile_85":3,"percentile_90":4,"percentile_95":5,"percentile_97":5,"percentile_99":7},"easypost_estimated_delivery_date":"2024-08-19"},"service":"priority"}],"saturday_delivery":null,"to_zip":"90277"}' curl_info: url: 'https://api.easypost.com/v2/smartrate/deliver_by' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 707 + header_size: 689 request_size: 408 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.483989 - namelookup_time: 0.003915 - connect_time: 0.128845 - pretransfer_time: 0.264145 + total_time: 0.191294 + namelookup_time: 0.004191 + connect_time: 0.037315 + pretransfer_time: 0.072812 size_upload: 90.0 size_download: 1496.0 - speed_download: 3090.0 - speed_upload: 185.0 + speed_download: 7820.0 + speed_upload: 470.0 download_content_length: 1496.0 upload_content_length: 90.0 - starttransfer_time: 0.483954 + starttransfer_time: 0.191201 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.29 - local_port: 63869 + local_ip: 192.168.1.75 + local_port: 52861 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 264070 - connect_time_us: 128845 - namelookup_time_us: 3915 - pretransfer_time_us: 264145 + scheme: https + appconnect_time_us: 72747 + connect_time_us: 37315 + namelookup_time_us: 4191 + pretransfer_time_us: 72812 redirect_time_us: 0 - starttransfer_time_us: 483954 - total_time_us: 483989 + starttransfer_time_us: 191201 + total_time_us: 191294 effective_method: POST capath: '' cainfo: '' diff --git a/test/cassettes/smartrate/recommendShipDate.yml b/test/cassettes/smartrate/recommendShipDate.yml index d487c4d1..c667a276 100644 --- a/test/cassettes/smartrate/recommendShipDate.yml +++ b/test/cassettes/smartrate/recommendShipDate.yml @@ -11,7 +11,7 @@ Authorization: '' Content-Type: application/json User-Agent: '' - body: '{"from_zip":"94107","to_zip":"90277","desired_delivery_date":"2024-07-16","carriers":["USPS"]}' + body: '{"from_zip":"94107","to_zip":"90277","desired_delivery_date":"2024-08-18","carriers":["USPS"]}' response: status: code: 200 @@ -23,58 +23,57 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: b8e53c21669051a4e7996dc6003bb7d5 + x-ep-request-uuid: e181587666bcec22e2b9041b0087212c cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '1695' - x-runtime: '0.073877' - x-node: bigweb43nuq - x-version-label: easypost-202407111940-3cb16a3462-master + content-length: '1691' + x-runtime: '0.123953' + x-node: bigweb38nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb3nuq fa152d4755', 'extlb2nuq fa152d4755'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"carriers_without_tint_estimates":null,"desired_delivery_date":"2024-07-16","from_zip":"94107","results":[{"carrier":"USPS","easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":2,"percentile_75":2,"percentile_85":2,"percentile_90":3,"percentile_95":3,"percentile_97":4,"percentile_99":7},"delivery_date_confidence":0.47,"estimated_transit_days":1,"ship_on_date":"2024-07-15"},"service":"express"},{"carrier":"USPS","easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":2,"percentile_75":3,"percentile_85":4,"percentile_90":4,"percentile_95":5,"percentile_97":5,"percentile_99":9},"delivery_date_confidence":0.21,"estimated_transit_days":3,"ship_on_date":"2024-07-13"},"service":"groundadvantage"},{"carrier":"USPS","easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":2,"percentile_75":3,"percentile_85":4,"percentile_90":4,"percentile_95":5,"percentile_97":6,"percentile_99":9},"delivery_date_confidence":0.25,"estimated_transit_days":3,"ship_on_date":"2024-07-13"},"service":"librarymail"},{"carrier":"USPS","easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":2,"percentile_75":3,"percentile_85":3,"percentile_90":4,"percentile_95":5,"percentile_97":5,"percentile_99":7},"delivery_date_confidence":0.24,"estimated_transit_days":3,"ship_on_date":"2024-07-13"},"service":"mediamail"},{"carrier":"USPS","easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":2,"percentile_75":3,"percentile_85":4,"percentile_90":4,"percentile_95":5,"percentile_97":5,"percentile_99":7},"delivery_date_confidence":0.19,"estimated_transit_days":3,"ship_on_date":"2024-07-13"},"service":"priority"}],"saturday_delivery":null,"to_zip":"90277"}' + body: '{"carriers_without_tint_estimates":null,"desired_delivery_date":"2024-08-18","from_zip":"94107","results":[{"carrier":"USPS","easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":1,"percentile_75":3,"percentile_85":3,"percentile_90":4,"percentile_95":4,"percentile_97":5,"percentile_99":7},"delivery_date_confidence":0.01,"estimated_transit_days":2,"ship_on_date":"2024-08-16"},"service":"express"},{"carrier":"USPS","easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":4,"percentile_75":4,"percentile_85":4,"percentile_90":4,"percentile_95":5,"percentile_97":6,"percentile_99":8},"delivery_date_confidence":0,"estimated_transit_days":3,"ship_on_date":"2024-08-15"},"service":"groundadvantage"},{"carrier":"USPS","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":6,"percentile_99":8},"delivery_date_confidence":0,"estimated_transit_days":2,"ship_on_date":"2024-08-16"},"service":"librarymail"},{"carrier":"USPS","easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":4,"percentile_75":4,"percentile_85":4,"percentile_90":4,"percentile_95":5,"percentile_97":6,"percentile_99":8},"delivery_date_confidence":0,"estimated_transit_days":3,"ship_on_date":"2024-08-15"},"service":"mediamail"},{"carrier":"USPS","easypost_time_in_transit_data":{"days_in_transit":{"percentile_50":4,"percentile_75":4,"percentile_85":4,"percentile_90":4,"percentile_95":5,"percentile_97":6,"percentile_99":8},"delivery_date_confidence":0,"estimated_transit_days":3,"ship_on_date":"2024-08-15"},"service":"priority"}],"saturday_delivery":null,"to_zip":"90277"}' curl_info: url: 'https://api.easypost.com/v2/smartrate/deliver_on' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 707 + header_size: 689 request_size: 412 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.515128 - namelookup_time: 0.036003 - connect_time: 0.170411 - pretransfer_time: 0.309447 + total_time: 0.222969 + namelookup_time: 0.002847 + connect_time: 0.03261 + pretransfer_time: 0.065702 size_upload: 94.0 - size_download: 1695.0 - speed_download: 3290.0 - speed_upload: 182.0 - download_content_length: 1695.0 + size_download: 1691.0 + speed_download: 7584.0 + speed_upload: 421.0 + download_content_length: 1691.0 upload_content_length: 94.0 - starttransfer_time: 0.515087 + starttransfer_time: 0.222918 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.29 - local_port: 61909 + local_ip: 192.168.1.75 + local_port: 52857 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 309372 - connect_time_us: 170411 - namelookup_time_us: 36003 - pretransfer_time_us: 309447 + scheme: https + appconnect_time_us: 65640 + connect_time_us: 32610 + namelookup_time_us: 2847 + pretransfer_time_us: 65702 redirect_time_us: 0 - starttransfer_time_us: 515087 - total_time_us: 515128 + starttransfer_time_us: 222918 + total_time_us: 222969 effective_method: POST capath: '' cainfo: '' diff --git a/test/cassettes/trackers/all.yml b/test/cassettes/trackers/all.yml index 1ae00da6..2a88114e 100644 --- a/test/cassettes/trackers/all.yml +++ b/test/cassettes/trackers/all.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,56 +21,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911f655e64bae78858c0001f920a + x-ep-request-uuid: e181587c66bcec23e2b9043b00872256 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '18385' - x-runtime: '0.186475' - x-node: bigweb43nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '8220' + x-runtime: '0.172194' + x-node: bigweb33nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"trackers":[{"id":"trk_704c68326fae4db8acc8ba5816d753ec","object":"Tracker","mode":"test","tracking_code":"9400100105440282028116","status":"delivered","status_detail":"arrived_at_destination","created_at":"2023-11-22T19:57:46Z","updated_at":"2023-11-22T20:00:46Z","signed_by":"John Tester","weight":null,"est_delivery_date":"2023-11-22T20:00:46Z","shipment_id":"shp_9e01f848cc954770a55e017c72f4f8bd","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:00:46Z","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-10-23T08:37:46Z","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-10-23T18:42:46Z","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-10-24T20:18:46Z","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-10-24T23:09:46Z","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-10-25T04:49:46Z","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-10-25T04:59:46Z","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-10-25T09:51:46Z","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-10-25T09:51:46Z"},"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzcwNGM2ODMyNmZhZTRkYjhhY2M4YmE1ODE2ZDc1M2Vj"},{"id":"trk_ec6e4f73adc24bacbf0a36761737ea70","object":"Tracker","mode":"test","tracking_code":"9400100105440282028093","status":"delivered","status_detail":"arrived_at_destination","created_at":"2023-11-22T19:57:40Z","updated_at":"2023-11-22T20:00:41Z","signed_by":"John Tester","weight":null,"est_delivery_date":"2023-11-22T20:00:41Z","shipment_id":"shp_a56aa2d508e94411bc8b4f666cf843a6","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:00:41Z","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-10-23T08:37:41Z","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-10-23T18:42:41Z","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-10-24T20:18:41Z","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-10-24T23:09:41Z","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-10-25T04:49:41Z","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-10-25T04:59:41Z","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-10-25T09:51:41Z","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-10-25T09:51:41Z"},"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2VjNmU0ZjczYWRjMjRiYWNiZjBhMzY3NjE3MzdlYTcw"},{"id":"trk_b16b72b2f7da4110bedab7b698edeb7d","object":"Tracker","mode":"test","tracking_code":"9400100105440282027980","status":"delivered","status_detail":"arrived_at_destination","created_at":"2023-11-22T19:57:34Z","updated_at":"2023-11-22T20:00:35Z","signed_by":"John Tester","weight":null,"est_delivery_date":"2023-11-22T20:00:35Z","shipment_id":"shp_5ee21a503c4b4cb784d2c999f140afb8","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:00: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-10-23T08:37: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-10-23T18:42: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-10-24T20:18: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-10-24T23:09: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-10-25T04:49: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-10-25T04:59: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-10-25T09:51: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-10-25T09:51:35Z"},"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2IxNmI3MmIyZjdkYTQxMTBiZWRhYjdiNjk4ZWRlYjdk"},{"id":"trk_ba072371f21d45caa3e9b1bb75406955","object":"Tracker","mode":"test","tracking_code":"9400100105440282027973","status":"delivered","status_detail":"arrived_at_destination","created_at":"2023-11-22T19:57:34Z","updated_at":"2023-11-22T20:00:34Z","signed_by":"John Tester","weight":null,"est_delivery_date":"2023-11-22T20:00:34Z","shipment_id":"shp_a67d3c2bd6384fa88b19e50682fda50e","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:00:34Z","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-10-23T08:37:34Z","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-10-23T18:42: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-10-24T20:18: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-10-24T23:09: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-10-25T04:49: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-10-25T04:59: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-10-25T09:51:34Z","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-10-25T09:51:34Z"},"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2JhMDcyMzcxZjIxZDQ1Y2FhM2U5YjFiYjc1NDA2OTU1"},{"id":"trk_b2f56fc980844372a578d63600a2ae30","object":"Tracker","mode":"test","tracking_code":"9400100105440282027966","status":"delivered","status_detail":"arrived_at_destination","created_at":"2023-11-22T19:57:34Z","updated_at":"2023-11-22T20:00:34Z","signed_by":"John Tester","weight":null,"est_delivery_date":"2023-11-22T20:00:34Z","shipment_id":"shp_203d442c72d94565a3d74fa6681fd28a","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:00:34Z","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-10-23T08:37:34Z","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-10-23T18:42: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-10-24T20:18: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-10-24T23:09: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-10-25T04:49: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-10-25T04:59: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-10-25T09:51:34Z","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-10-25T09:51:34Z"},"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2IyZjU2ZmM5ODA4NDQzNzJhNTc4ZDYzNjAwYTJhZTMw"}],"has_more":true}' + body: '{"trackers":[{"id":"trk_66cc02ace95a4cd386708565d92cb539","object":"Tracker","mode":"test","tracking_code":"9400100105807075197358","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:40:25Z","updated_at":"2024-08-14T17:40:25Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:40:25Z","shipment_id":"shp_c3ca81d0e04944d9b6e0497f0115c672","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:40:25Z","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":"2024-07-15T06:17:25Z","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\/djE6dHJrXzY2Y2MwMmFjZTk1YTRjZDM4NjcwODU2NWQ5MmNiNTM5"},{"id":"trk_d907ca527c0840c6bbcfa70ce6e4296e","object":"Tracker","mode":"test","tracking_code":"9400100105807075197303","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:40:22Z","updated_at":"2024-08-14T17:40:22Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:40:22Z","shipment_id":"shp_211b1e701c3d4c84ae58b2d56618264f","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:40: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":"2024-07-15T06:17:22Z","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\/djE6dHJrX2Q5MDdjYTUyN2MwODQwYzZiYmNmYTcwY2U2ZTQyOTZl"},{"id":"trk_993cf21e435a4d71ad78f50371d5d83b","object":"Tracker","mode":"test","tracking_code":"9400100105807075197280","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:40:19Z","updated_at":"2024-08-14T17:40:19Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:40:19Z","shipment_id":"shp_ff310991d5544364916f1bae7366c527","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:40: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":"2024-07-15T06:17: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\/djE6dHJrXzk5M2NmMjFlNDM1YTRkNzFhZDc4ZjUwMzcxZDVkODNi"},{"id":"trk_d0ed9db87b3e40f8a4bba05a9d69d754","object":"Tracker","mode":"test","tracking_code":"9400100105807075197105","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:40:00Z","updated_at":"2024-08-14T17:40:00Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:40:00Z","shipment_id":"shp_4a347e74e36244df9500d9309421cc21","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:40: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":"2024-07-15T06:17: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\/djE6dHJrX2QwZWQ5ZGI4N2IzZTQwZjhhNGJiYTA1YTlkNjlkNzU0"},{"id":"trk_baf74c60ac2a45398c737a16802c6d8d","object":"Tracker","mode":"test","tracking_code":"9400100105807075197006","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:51Z","updated_at":"2024-08-14T17:39:52Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:39:52Z","shipment_id":"shp_ca2238f2b2444189b75460eb1e8219f6","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:39: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":"2024-07-15T06:16: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\/djE6dHJrX2JhZjc0YzYwYWMyYTQ1Mzk4YzczN2ExNjgwMmM2ZDhk"}],"has_more":true}' curl_info: url: 'https://api.easypost.com/v2/trackers?page_size=5' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 708 + header_size: 689 request_size: 297 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.44479 - namelookup_time: 0.001107 - connect_time: 0.066521 - pretransfer_time: 0.131425 + total_time: 0.268196 + namelookup_time: 0.001808 + connect_time: 0.030542 + pretransfer_time: 0.063638 size_upload: 0.0 - size_download: 18385.0 - speed_download: 41334.0 + size_download: 8220.0 + speed_download: 30649.0 speed_upload: 0.0 - download_content_length: 18385.0 + download_content_length: 8220.0 upload_content_length: 0.0 - starttransfer_time: 0.38252 + starttransfer_time: 0.268058 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53407 + local_ip: 192.168.1.75 + local_port: 52866 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 131367 - connect_time_us: 66521 - namelookup_time_us: 1107 - pretransfer_time_us: 131425 + scheme: https + appconnect_time_us: 63593 + connect_time_us: 30542 + namelookup_time_us: 1808 + pretransfer_time_us: 63638 redirect_time_us: 0 - starttransfer_time_us: 382520 - total_time_us: 444790 + starttransfer_time_us: 268058 + total_time_us: 268196 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/trackers/create.yml b/test/cassettes/trackers/create.yml index 79813be0..371ba13f 100644 --- a/test/cassettes/trackers/create.yml +++ b/test/cassettes/trackers/create.yml @@ -14,8 +14,7 @@ body: '{"tracker":{"tracking_code":"EZ1000000001"}}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -24,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911a655e64bae78858bf001f91b5 + x-ep-request-uuid: e181587666bcec22e2b90437008721a7 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/trackers/trk_2d5abcee2e78458583f8e05926195afd + location: /api/v2/trackers/trk_1c9f7586ac174a389f476d4bbdaff639 content-type: 'application/json; charset=utf-8' content-length: '1618' - x-runtime: '0.087388' - x-node: bigweb31nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.086095' + x-node: bigweb36nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"trk_2d5abcee2e78458583f8e05926195afd","object":"Tracker","mode":"test","tracking_code":"EZ1000000001","status":"pre_transit","status_detail":"status_update","created_at":"2023-11-22T19:55:17Z","updated_at":"2023-11-22T19:55:17Z","signed_by":null,"weight":null,"est_delivery_date":"2023-11-22T19:55:17Z","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-10-22T19:55:17Z","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-10-23T08:32:17Z","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\/djE6dHJrXzJkNWFiY2VlMmU3ODQ1ODU4M2Y4ZTA1OTI2MTk1YWZk"}' + body: '{"id":"trk_1c9f7586ac174a389f476d4bbdaff639","object":"Tracker","mode":"test","tracking_code":"EZ1000000001","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:38:46Z","updated_at":"2024-08-14T17:38:46Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:38:46Z","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":"2024-07-14T17:38:46Z","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":"2024-07-15T06:15:46Z","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\/djE6dHJrXzFjOWY3NTg2YWMxNzRhMzg5ZjQ3NmQ0YmJkYWZmNjM5"}' curl_info: url: 'https://api.easypost.com/v2/trackers' content_type: 'application/json; charset=utf-8' @@ -47,33 +46,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.307424 - namelookup_time: 0.001862 - connect_time: 0.073179 - pretransfer_time: 0.15388 + total_time: 0.195896 + namelookup_time: 0.004119 + connect_time: 0.037417 + pretransfer_time: 0.073309 size_upload: 44.0 size_download: 1618.0 - speed_download: 5263.0 - speed_upload: 143.0 + speed_download: 8259.0 + speed_upload: 224.0 download_content_length: 1618.0 upload_content_length: 44.0 - starttransfer_time: 0.307385 + starttransfer_time: 0.195858 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53406 + local_ip: 192.168.1.75 + local_port: 52862 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 153780 - connect_time_us: 73179 - namelookup_time_us: 1862 - pretransfer_time_us: 153880 + scheme: https + appconnect_time_us: 73234 + connect_time_us: 37417 + namelookup_time_us: 4119 + pretransfer_time_us: 73309 redirect_time_us: 0 - starttransfer_time_us: 307385 - total_time_us: 307424 + starttransfer_time_us: 195858 + total_time_us: 195896 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/trackers/createList.yml b/test/cassettes/trackers/createList.yml index 993f7cf6..4c93ec65 100644 --- a/test/cassettes/trackers/createList.yml +++ b/test/cassettes/trackers/createList.yml @@ -14,8 +14,7 @@ body: '{"trackers":{"tracker0":{"tracking_code":"EZ1000000001"},"tracker1":{"tracking_code":"EZ1000000002"},"tracker2":{"tracking_code":"EZ1000000003"}}}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -24,56 +23,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911f655e64b9e78858bb001f9099 + x-ep-request-uuid: e181587666bcec24e2b9043e00872369 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '2' - x-runtime: '0.044383' - x-node: bigweb43nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.055886' + x-node: bigweb35nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' body: '[]' curl_info: url: 'https://api.easypost.com/v2/trackers/create_list' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 704 + header_size: 686 request_size: 465 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.246104 - namelookup_time: 0.001839 - connect_time: 0.06523 - pretransfer_time: 0.13636 + total_time: 0.165462 + namelookup_time: 0.002068 + connect_time: 0.034594 + pretransfer_time: 0.073559 size_upload: 146.0 size_download: 2.0 - speed_download: 8.0 - speed_upload: 593.0 + speed_download: 12.0 + speed_upload: 882.0 download_content_length: 2.0 upload_content_length: 146.0 - starttransfer_time: 0.246074 + starttransfer_time: 0.16544 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53402 + local_ip: 192.168.1.75 + local_port: 52869 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 136327 - connect_time_us: 65230 - namelookup_time_us: 1839 - pretransfer_time_us: 136360 + scheme: https + appconnect_time_us: 73465 + connect_time_us: 34594 + namelookup_time_us: 2068 + pretransfer_time_us: 73559 redirect_time_us: 0 - starttransfer_time_us: 246074 - total_time_us: 246104 + starttransfer_time_us: 165440 + total_time_us: 165462 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/trackers/createUnwrappedParam.yml b/test/cassettes/trackers/createUnwrappedParam.yml index 59f23673..eccae544 100644 --- a/test/cassettes/trackers/createUnwrappedParam.yml +++ b/test/cassettes/trackers/createUnwrappedParam.yml @@ -14,8 +14,7 @@ body: '{"tracker":{"tracking_code":"EZ1000000001"}}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -24,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef9120655e64bae78858be001f9159 + x-ep-request-uuid: e181587866bcec22e2b90438008721e0 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/trackers/trk_2d5abcee2e78458583f8e05926195afd + location: /api/v2/trackers/trk_1c9f7586ac174a389f476d4bbdaff639 content-type: 'application/json; charset=utf-8' content-length: '1618' - x-runtime: '0.066386' + x-runtime: '0.059724' x-node: bigweb40nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"trk_2d5abcee2e78458583f8e05926195afd","object":"Tracker","mode":"test","tracking_code":"EZ1000000001","status":"pre_transit","status_detail":"status_update","created_at":"2023-11-22T19:55:17Z","updated_at":"2023-11-22T19:55:17Z","signed_by":null,"weight":null,"est_delivery_date":"2023-11-22T19:55:17Z","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-10-22T19:55:17Z","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-10-23T08:32:17Z","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\/djE6dHJrXzJkNWFiY2VlMmU3ODQ1ODU4M2Y4ZTA1OTI2MTk1YWZk"}' + body: '{"id":"trk_1c9f7586ac174a389f476d4bbdaff639","object":"Tracker","mode":"test","tracking_code":"EZ1000000001","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:38:46Z","updated_at":"2024-08-14T17:38:46Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:38:46Z","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":"2024-07-14T17:38:46Z","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":"2024-07-15T06:15:46Z","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\/djE6dHJrXzFjOWY3NTg2YWMxNzRhMzg5ZjQ3NmQ0YmJkYWZmNjM5"}' curl_info: url: 'https://api.easypost.com/v2/trackers' content_type: 'application/json; charset=utf-8' @@ -47,33 +46,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.279586 - namelookup_time: 0.001778 - connect_time: 0.068027 - pretransfer_time: 0.148005 + total_time: 0.156398 + namelookup_time: 0.002097 + connect_time: 0.031247 + pretransfer_time: 0.063944 size_upload: 44.0 size_download: 1618.0 - speed_download: 5787.0 - speed_upload: 157.0 + speed_download: 10345.0 + speed_upload: 281.0 download_content_length: 1618.0 upload_content_length: 44.0 - starttransfer_time: 0.279555 + starttransfer_time: 0.156366 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53405 + local_ip: 192.168.1.75 + local_port: 52863 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 147924 - connect_time_us: 68027 - namelookup_time_us: 1778 - pretransfer_time_us: 148005 + scheme: https + appconnect_time_us: 63900 + connect_time_us: 31247 + namelookup_time_us: 2097 + pretransfer_time_us: 63944 redirect_time_us: 0 - starttransfer_time_us: 279555 - total_time_us: 279586 + starttransfer_time_us: 156366 + total_time_us: 156398 + effective_method: POST + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/trackers/getNextPage.yml b/test/cassettes/trackers/getNextPage.yml index 9ed4dd71..725b1908 100644 --- a/test/cassettes/trackers/getNextPage.yml +++ b/test/cassettes/trackers/getNextPage.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,19 +21,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 0610ca396564ea7de787e1e80013ac8a + x-ep-request-uuid: e181587c66bcec23e2b9043c008722a0 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '9987' - x-runtime: '0.170100' - x-node: bigweb40nuq - x-version-label: easypost-202311250013-a0f06fbc2c-master + content-length: '8220' + x-runtime: '0.194487' + x-node: bigweb36nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"trackers":[{"id":"trk_4a71bdf4d87f446e872430a8da9bb09e","object":"Tracker","mode":"test","tracking_code":"9400100105440282056140","status":"error","status_detail":"unknown","created_at":"2023-11-22T21:30:47Z","updated_at":"2023-11-22T21:30:47Z","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":"2023-11-22T21:30:47Z","source":"ProcessingError","carrier_code":"","tracking_location":{"object":"TrackingLocation","city":null,"state":null,"country":null,"zip":null}}],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzRhNzFiZGY0ZDg3ZjQ0NmU4NzI0MzBhOGRhOWJiMDll"},{"id":"trk_4c2b46ef848d4a6f8d1b6b62fedeffb2","object":"Tracker","mode":"test","tracking_code":"9400100105440282056140","status":"delivered","status_detail":"arrived_at_destination","created_at":"2023-11-22T21:30:46Z","updated_at":"2023-11-22T21:33:46Z","signed_by":"John Tester","weight":null,"est_delivery_date":"2023-11-22T21:33:46Z","shipment_id":"shp_c890bc7068604393a9379ad28e669ee5","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T21:33:46Z","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-10-23T10:10:46Z","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-10-23T20:15:46Z","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-10-24T21:51:46Z","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-10-25T00:42:46Z","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-10-25T06:22:46Z","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-10-25T06:32:46Z","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-10-25T11:24:46Z","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-10-25T11:24:46Z"},"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzRjMmI0NmVmODQ4ZDRhNmY4ZDFiNmI2MmZlZGVmZmIy"},{"id":"trk_216fed0e162e443ca81fb68e7adb1c4a","object":"Tracker","mode":"test","tracking_code":"9400100105440282055525","status":"error","status_detail":"unknown","created_at":"2023-11-22T21:28:21Z","updated_at":"2023-11-22T21:28:21Z","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":"2023-11-22T21:28:21Z","source":"ProcessingError","carrier_code":"","tracking_location":{"object":"TrackingLocation","city":null,"state":null,"country":null,"zip":null}}],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzIxNmZlZDBlMTYyZTQ0M2NhODFmYjY4ZTdhZGIxYzRh"},{"id":"trk_ca5b413564c2411b86bb8a190ad3d2ac","object":"Tracker","mode":"test","tracking_code":"9400100105440282055525","status":"delivered","status_detail":"arrived_at_destination","created_at":"2023-11-22T21:28:20Z","updated_at":"2023-11-22T21:31:21Z","signed_by":"John Tester","weight":null,"est_delivery_date":"2023-11-22T21:31:21Z","shipment_id":"shp_d6d87640397c40689d4b497289be70f9","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T21:31: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-10-23T10:08:21Z","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-10-23T20:13:21Z","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-10-24T21:49:21Z","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-10-25T00:40:21Z","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-10-25T06:20:21Z","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-10-25T06:30:21Z","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-10-25T11:22:21Z","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-10-25T11:22:21Z"},"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2NhNWI0MTM1NjRjMjQxMWI4NmJiOGExOTBhZDNkMmFj"},{"id":"trk_28774cd740384274bc29032189c04070","object":"Tracker","mode":"test","tracking_code":"EZ1000000007","status":"error","status_detail":"unknown","created_at":"2023-11-22T21:27:57Z","updated_at":"2023-11-22T21:27:57Z","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":"2023-11-22T21:27:57Z","source":"ProcessingError","carrier_code":"","tracking_location":{"object":"TrackingLocation","city":null,"state":null,"country":null,"zip":null}}],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzI4Nzc0Y2Q3NDAzODQyNzRiYzI5MDMyMTg5YzA0MDcw"}],"has_more":true}' + body: '{"trackers":[{"id":"trk_66cc02ace95a4cd386708565d92cb539","object":"Tracker","mode":"test","tracking_code":"9400100105807075197358","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:40:25Z","updated_at":"2024-08-14T17:40:25Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:40:25Z","shipment_id":"shp_c3ca81d0e04944d9b6e0497f0115c672","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:40:25Z","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":"2024-07-15T06:17:25Z","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\/djE6dHJrXzY2Y2MwMmFjZTk1YTRjZDM4NjcwODU2NWQ5MmNiNTM5"},{"id":"trk_d907ca527c0840c6bbcfa70ce6e4296e","object":"Tracker","mode":"test","tracking_code":"9400100105807075197303","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:40:22Z","updated_at":"2024-08-14T17:40:22Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:40:22Z","shipment_id":"shp_211b1e701c3d4c84ae58b2d56618264f","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:40: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":"2024-07-15T06:17:22Z","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\/djE6dHJrX2Q5MDdjYTUyN2MwODQwYzZiYmNmYTcwY2U2ZTQyOTZl"},{"id":"trk_993cf21e435a4d71ad78f50371d5d83b","object":"Tracker","mode":"test","tracking_code":"9400100105807075197280","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:40:19Z","updated_at":"2024-08-14T17:40:19Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:40:19Z","shipment_id":"shp_ff310991d5544364916f1bae7366c527","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:40: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":"2024-07-15T06:17: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\/djE6dHJrXzk5M2NmMjFlNDM1YTRkNzFhZDc4ZjUwMzcxZDVkODNi"},{"id":"trk_d0ed9db87b3e40f8a4bba05a9d69d754","object":"Tracker","mode":"test","tracking_code":"9400100105807075197105","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:40:00Z","updated_at":"2024-08-14T17:40:00Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:40:00Z","shipment_id":"shp_4a347e74e36244df9500d9309421cc21","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:40: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":"2024-07-15T06:17: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\/djE6dHJrX2QwZWQ5ZGI4N2IzZTQwZjhhNGJiYTA1YTlkNjlkNzU0"},{"id":"trk_baf74c60ac2a45398c737a16802c6d8d","object":"Tracker","mode":"test","tracking_code":"9400100105807075197006","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:51Z","updated_at":"2024-08-14T17:39:52Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:39:52Z","shipment_id":"shp_ca2238f2b2444189b75460eb1e8219f6","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:39: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":"2024-07-15T06:16: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\/djE6dHJrX2JhZjc0YzYwYWMyYTQ1Mzk4YzczN2ExNjgwMmM2ZDhk"}],"has_more":true}' curl_info: url: 'https://api.easypost.com/v2/trackers?page_size=5' content_type: 'application/json; charset=utf-8' @@ -44,40 +43,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.366386 - namelookup_time: 0.002052 - connect_time: 0.068133 - pretransfer_time: 0.132062 + total_time: 0.292001 + namelookup_time: 0.003224 + connect_time: 0.032861 + pretransfer_time: 0.064359 size_upload: 0.0 - size_download: 9987.0 - speed_download: 27258.0 + size_download: 8220.0 + speed_download: 28150.0 speed_upload: 0.0 - download_content_length: 9987.0 + download_content_length: 8220.0 upload_content_length: 0.0 - starttransfer_time: 0.366266 + starttransfer_time: 0.291835 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.31 - local_port: 52929 + local_ip: 192.168.1.75 + local_port: 52867 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 132024 - connect_time_us: 68133 - namelookup_time_us: 2052 - pretransfer_time_us: 132062 + scheme: https + appconnect_time_us: 64313 + connect_time_us: 32861 + namelookup_time_us: 3224 + pretransfer_time_us: 64359 redirect_time_us: 0 - starttransfer_time_us: 366266 - total_time_us: 366386 + starttransfer_time_us: 291835 + total_time_us: 292001 + effective_method: GET + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/trackers?page_size=5&before_id=trk_28774cd740384274bc29032189c04070' + url: 'https://api.easypost.com/v2/trackers?page_size=5&before_id=trk_baf74c60ac2a45398c737a16802c6d8d' headers: Host: api.easypost.com Accept-Encoding: '' @@ -87,8 +89,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -97,55 +98,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 0610ca396564ea7ee787e2000013ae19 + x-ep-request-uuid: e181587b66bcec24e2b9043d008722f5 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '7910' - x-runtime: '0.178664' - x-node: bigweb38nuq - x-version-label: easypost-202311250013-a0f06fbc2c-master + content-length: '14645' + x-runtime: '0.230371' + x-node: bigweb35nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"trackers":[{"id":"trk_79d580d56f1e4981b0afed8f0f0b37e2","object":"Tracker","mode":"test","tracking_code":"EZ1000000007","status":"error","status_detail":"unknown","created_at":"2023-11-22T21:02:39Z","updated_at":"2023-11-22T21:02: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":"2023-11-22T21:02:39Z","source":"ProcessingError","carrier_code":"","tracking_location":{"object":"TrackingLocation","city":null,"state":null,"country":null,"zip":null}}],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzc5ZDU4MGQ1NmYxZTQ5ODFiMGFmZWQ4ZjBmMGIzN2Uy"},{"id":"trk_315a3a03c4bd47eb88b6be860a85259b","object":"Tracker","mode":"test","tracking_code":"EZ1000000001","status":"pre_transit","status_detail":"status_update","created_at":"2023-11-22T20:57:19Z","updated_at":"2023-11-22T20:57:19Z","signed_by":null,"weight":null,"est_delivery_date":"2023-11-22T20:57:19Z","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-10-22T20:57: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-10-23T09:34: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\/djE6dHJrXzMxNWEzYTAzYzRiZDQ3ZWI4OGI2YmU4NjBhODUyNTli"},{"id":"trk_90883da53a544861aeafb302a32b1772","object":"Tracker","mode":"test","tracking_code":"9400100105440282044765","status":"error","status_detail":"unknown","created_at":"2023-11-22T20:55:47Z","updated_at":"2023-11-22T20:55:47Z","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":"2023-11-22T20:55:47Z","source":"ProcessingError","carrier_code":"","tracking_location":{"object":"TrackingLocation","city":null,"state":null,"country":null,"zip":null}}],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzkwODgzZGE1M2E1NDQ4NjFhZWFmYjMwMmEzMmIxNzcy"},{"id":"trk_fab9e411cdb04ca3a9d245fef085e6ee","object":"Tracker","mode":"test","tracking_code":"9400100105440282044765","status":"delivered","status_detail":"arrived_at_destination","created_at":"2023-11-22T20:55:47Z","updated_at":"2023-11-22T20:58:47Z","signed_by":"John Tester","weight":null,"est_delivery_date":"2023-11-22T20:58:47Z","shipment_id":"shp_d2909cf61aa8499b90f99190c5bc9010","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2023-10-22T20:58: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-10-23T09:35: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-10-23T19:40: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-10-24T21:16: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-10-25T00:07: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-10-25T05:47: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-10-25T05:57: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-10-25T10:49: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-10-25T10:49:47Z"},"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2ZhYjllNDExY2RiMDRjYTNhOWQyNDVmZWYwODVlNmVl"},{"id":"trk_c1e533955c854f98b3d5fc96603cc1bb","object":"Tracker","mode":"test","tracking_code":"9400100105440282044703","status":"error","status_detail":"unknown","created_at":"2023-11-22T20:55:42Z","updated_at":"2023-11-22T20:55:42Z","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":"2023-11-22T20:55:42Z","source":"ProcessingError","carrier_code":"","tracking_location":{"object":"TrackingLocation","city":null,"state":null,"country":null,"zip":null}}],"fees":[],"carrier_detail":null,"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2MxZTUzMzk1NWM4NTRmOThiM2Q1ZmM5NjYwM2NjMWJi"}],"has_more":true}' + body: '{"trackers":[{"id":"trk_94bf017e0b744a7e8bce59414ecea3e4","object":"Tracker","mode":"test","tracking_code":"9400100105807075196993","status":"in_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:50Z","updated_at":"2024-08-14T17:40:50Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:40:50Z","shipment_id":"shp_92c515596466415ebe6d55bf51d34246","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:40: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":"2024-07-15T06:17:50Z","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":"2024-07-15T16:22:50Z","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":"2024-07-16T17:58:50Z","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":"2024-07-16T20:49:50Z","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":"2024-07-17T02:29:50Z","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":null,"guaranteed_delivery_date":null,"alternate_identifier":null,"initial_delivery_attempt":null},"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzk0YmYwMTdlMGI3NDRhN2U4YmNlNTk0MTRlY2VhM2U0"},{"id":"trk_7008e55ff72542b287b7c8bab10034ff","object":"Tracker","mode":"test","tracking_code":"9400100105807075196894","status":"in_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:41Z","updated_at":"2024-08-14T17:40:41Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:40:41Z","shipment_id":"shp_d0f55c8ba25a4bbe947d3a1641ed11e4","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:40:41Z","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":"2024-07-15T06:17:41Z","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":"2024-07-15T16:22:41Z","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":"2024-07-16T17:58:41Z","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":"2024-07-16T20:49:41Z","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":"2024-07-17T02:29:41Z","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":null,"guaranteed_delivery_date":null,"alternate_identifier":null,"initial_delivery_attempt":null},"public_url":"https:\/\/track.easypost.com\/djE6dHJrXzcwMDhlNTVmZjcyNTQyYjI4N2I3YzhiYWIxMDAzNGZm"},{"id":"trk_c4852a4b8ce54c31996f7a8c9baace79","object":"Tracker","mode":"test","tracking_code":"9400100105807075196863","status":"in_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:39Z","updated_at":"2024-08-14T17:40:39Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:40:39Z","shipment_id":"shp_9c8228b2f5d544308aa670301fa69eb6","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:40:39Z","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":"2024-07-15T06:17:39Z","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":"2024-07-15T16:22:39Z","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":"2024-07-16T17:58:39Z","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":"2024-07-16T20:49:39Z","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":"2024-07-17T02:29:39Z","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":null,"guaranteed_delivery_date":null,"alternate_identifier":null,"initial_delivery_attempt":null},"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2M0ODUyYTRiOGNlNTRjMzE5OTZmN2E4YzliYWFjZTc5"},{"id":"trk_da65710ff1074295b1739949745b4437","object":"Tracker","mode":"test","tracking_code":"9400100105807075196832","status":"in_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:37Z","updated_at":"2024-08-14T17:40:37Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:40:37Z","shipment_id":"shp_ad4513abccbd4df491b6b09d86ed0a0a","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:40: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":"2024-07-15T06:17:37Z","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":"2024-07-15T16:22:37Z","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":"2024-07-16T17:58:37Z","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":"2024-07-16T20:49:37Z","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":"2024-07-17T02:29:37Z","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":null,"guaranteed_delivery_date":null,"alternate_identifier":null,"initial_delivery_attempt":null},"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2RhNjU3MTBmZjEwNzQyOTViMTczOTk0OTc0NWI0NDM3"},{"id":"trk_f759177d8e254a839e400d6f68ab8efd","object":"Tracker","mode":"test","tracking_code":"9400100105807075196801","status":"in_transit","status_detail":"status_update","created_at":"2024-08-14T17:39:35Z","updated_at":"2024-08-14T17:40:35Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:40:35Z","shipment_id":"shp_75f36d03b846491ab887bffa037e3173","carrier":"USPS","tracking_details":[{"object":"TrackingDetail","message":"Pre-Shipment Info Sent to USPS","description":"","status":"pre_transit","status_detail":"status_update","datetime":"2024-07-14T17:40: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":"2024-07-15T06:17: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":"2024-07-15T16:22: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":"2024-07-16T17:58: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":"2024-07-16T20:49: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":"2024-07-17T02:29: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":null,"guaranteed_delivery_date":null,"alternate_identifier":null,"initial_delivery_attempt":null},"public_url":"https:\/\/track.easypost.com\/djE6dHJrX2Y3NTkxNzdkOGUyNTRhODM5ZTQwMGQ2ZjY4YWI4ZWZk"}],"has_more":true}' curl_info: - url: 'https://api.easypost.com/v2/trackers?page_size=5&before_id=trk_28774cd740384274bc29032189c04070' + url: 'https://api.easypost.com/v2/trackers?page_size=5&before_id=trk_baf74c60ac2a45398c737a16802c6d8d' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 689 + header_size: 690 request_size: 344 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.376174 - namelookup_time: 0.001597 - connect_time: 0.065404 - pretransfer_time: 0.131476 + total_time: 0.383179 + namelookup_time: 0.002583 + connect_time: 0.035976 + pretransfer_time: 0.072401 size_upload: 0.0 - size_download: 7910.0 - speed_download: 21027.0 + size_download: 14645.0 + speed_download: 38219.0 speed_upload: 0.0 - download_content_length: 7910.0 + download_content_length: 14645.0 upload_content_length: 0.0 - starttransfer_time: 0.376036 + starttransfer_time: 0.383111 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.31 - local_port: 52930 + local_ip: 192.168.1.75 + local_port: 52868 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 131442 - connect_time_us: 65404 - namelookup_time_us: 1597 - pretransfer_time_us: 131476 + scheme: https + appconnect_time_us: 72347 + connect_time_us: 35976 + namelookup_time_us: 2583 + pretransfer_time_us: 72401 redirect_time_us: 0 - starttransfer_time_us: 376036 - total_time_us: 376174 + starttransfer_time_us: 383111 + total_time_us: 383179 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/trackers/retrieve.yml b/test/cassettes/trackers/retrieve.yml index 952dd7c9..d4622137 100644 --- a/test/cassettes/trackers/retrieve.yml +++ b/test/cassettes/trackers/retrieve.yml @@ -14,8 +14,7 @@ body: '{"tracker":{"tracking_code":"EZ1000000001"}}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -24,20 +23,20 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911f655e64b9e78858bc001f90c6 + x-ep-request-uuid: e181587a66bcec23e2b9043900872202 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - location: /api/v2/trackers/trk_2d5abcee2e78458583f8e05926195afd + location: /api/v2/trackers/trk_1c9f7586ac174a389f476d4bbdaff639 content-type: 'application/json; charset=utf-8' content-length: '1618' - x-runtime: '0.068304' - x-node: bigweb40nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.071375' + x-node: bigweb39nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"trk_2d5abcee2e78458583f8e05926195afd","object":"Tracker","mode":"test","tracking_code":"EZ1000000001","status":"pre_transit","status_detail":"status_update","created_at":"2023-11-22T19:55:17Z","updated_at":"2023-11-22T19:55:17Z","signed_by":null,"weight":null,"est_delivery_date":"2023-11-22T19:55:17Z","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-10-22T19:55:17Z","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-10-23T08:32:17Z","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\/djE6dHJrXzJkNWFiY2VlMmU3ODQ1ODU4M2Y4ZTA1OTI2MTk1YWZk"}' + body: '{"id":"trk_1c9f7586ac174a389f476d4bbdaff639","object":"Tracker","mode":"test","tracking_code":"EZ1000000001","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:38:46Z","updated_at":"2024-08-14T17:38:46Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:38:46Z","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":"2024-07-14T17:38:46Z","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":"2024-07-15T06:15:46Z","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\/djE6dHJrXzFjOWY3NTg2YWMxNzRhMzg5ZjQ3NmQ0YmJkYWZmNjM5"}' curl_info: url: 'https://api.easypost.com/v2/trackers' content_type: 'application/json; charset=utf-8' @@ -47,40 +46,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.27107 - namelookup_time: 0.001617 - connect_time: 0.066058 - pretransfer_time: 0.131279 + total_time: 0.168171 + namelookup_time: 0.002168 + connect_time: 0.031817 + pretransfer_time: 0.06424 size_upload: 44.0 size_download: 1618.0 - speed_download: 5968.0 - speed_upload: 162.0 + speed_download: 9621.0 + speed_upload: 261.0 download_content_length: 1618.0 upload_content_length: 44.0 - starttransfer_time: 0.270984 + starttransfer_time: 0.168152 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53403 + local_ip: 192.168.1.75 + local_port: 52864 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 131250 - connect_time_us: 66058 - namelookup_time_us: 1617 - pretransfer_time_us: 131279 + scheme: https + appconnect_time_us: 64195 + connect_time_us: 31817 + namelookup_time_us: 2168 + pretransfer_time_us: 64240 redirect_time_us: 0 - starttransfer_time_us: 270984 - total_time_us: 271070 + starttransfer_time_us: 168152 + total_time_us: 168171 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/trackers/trk_2d5abcee2e78458583f8e05926195afd' + url: 'https://api.easypost.com/v2/trackers/trk_1c9f7586ac174a389f476d4bbdaff639' headers: Host: api.easypost.com Accept-Encoding: '' @@ -90,8 +92,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -100,21 +101,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911b655e64bae78858bd001f9117 + x-ep-request-uuid: e181587a66bcec23e2b9043a00872230 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '1681' - x-runtime: '0.051648' - x-node: bigweb36nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '1593' + x-runtime: '0.061836' + x-node: bigweb41nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"trk_2d5abcee2e78458583f8e05926195afd","object":"Tracker","mode":"test","tracking_code":"EZ1000000001","status":"pre_transit","status_detail":"status_update","created_at":"2023-11-22T19:55:17Z","updated_at":"2023-11-22T19:55:17Z","signed_by":null,"weight":null,"est_delivery_date":"2023-11-22T19:55:17Z","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-10-22T19:55:17Z","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-10-23T08:32:17Z","source":"USPS","carrier_code":"","tracking_location":{"object":"TrackingLocation","city":"HOUSTON","state":"TX","country":null,"zip":"77063"}}],"fees":[{"object":"Fee","type":"TrackerFee","amount":"0.02000","charged":false,"refunded":false}],"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\/djE6dHJrXzJkNWFiY2VlMmU3ODQ1ODU4M2Y4ZTA1OTI2MTk1YWZk"}' + body: '{"id":"trk_1c9f7586ac174a389f476d4bbdaff639","object":"Tracker","mode":"test","tracking_code":"EZ1000000001","status":"pre_transit","status_detail":"status_update","created_at":"2024-08-14T17:38:46Z","updated_at":"2024-08-14T17:38:46Z","signed_by":null,"weight":null,"est_delivery_date":"2024-08-14T17:38:46Z","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":"2024-07-14T17:38:46Z","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":"2024-07-15T06:15:46Z","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\/djE6dHJrXzFjOWY3NTg2YWMxNzRhMzg5ZjQ3NmQ0YmJkYWZmNjM5"}' curl_info: - url: 'https://api.easypost.com/v2/trackers/trk_2d5abcee2e78458583f8e05926195afd' + url: 'https://api.easypost.com/v2/trackers/trk_1c9f7586ac174a389f476d4bbdaff639' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 689 @@ -122,33 +123,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.257741 - namelookup_time: 0.000952 - connect_time: 0.067388 - pretransfer_time: 0.133249 + total_time: 0.168174 + namelookup_time: 0.001647 + connect_time: 0.034505 + pretransfer_time: 0.069047 size_upload: 0.0 - size_download: 1681.0 - speed_download: 6522.0 + size_download: 1593.0 + speed_download: 9472.0 speed_upload: 0.0 - download_content_length: 1681.0 + download_content_length: 1593.0 upload_content_length: 0.0 - starttransfer_time: 0.257726 + starttransfer_time: 0.168151 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53404 + local_ip: 192.168.1.75 + local_port: 52865 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 133170 - connect_time_us: 67388 - namelookup_time_us: 952 - pretransfer_time_us: 133249 + scheme: https + appconnect_time_us: 69004 + connect_time_us: 34505 + namelookup_time_us: 1647 + pretransfer_time_us: 69047 redirect_time_us: 0 - starttransfer_time_us: 257726 - total_time_us: 257741 + starttransfer_time_us: 168151 + total_time_us: 168174 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/users/allChildren.yml b/test/cassettes/users/allChildren.yml index 8eb9bc16..ed4cfc7d 100644 --- a/test/cassettes/users/allChildren.yml +++ b/test/cassettes/users/allChildren.yml @@ -21,57 +21,57 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 3c78c40b6597056af44028d1000d5fda + x-ep-request-uuid: e181587d66bcec26e2b9045b00872564 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '887' - x-runtime: '0.038435' - x-node: bigweb36nuq - x-version-label: easypost-202401041812-437974c716-master + content-length: '1100' + x-runtime: '0.071937' + x-node: bigweb38nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq 2c48984abf', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"children":[{"id":"user_3c44214dcf744d169c3f2db034fd965e","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-11-23T21:03:03Z"},{"id":"user_78019b89199646358298fd311435458f","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:41:09Z"},{"id":"user_1a2e9fb7903c4a08b2da7d7f57150370","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:43:07Z"},{"id":"user_f01890d357374ac3837ff556a957b9b4","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-05T17:00:14Z"}],"has_more":false}' + body: '{"children":[{"id":"user_3c44214dcf744d169c3f2db034fd965e","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-11-23T21:03:03Z"},{"id":"user_78019b89199646358298fd311435458f","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:41:09Z"},{"id":"user_1a2e9fb7903c4a08b2da7d7f57150370","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:43:07Z"},{"id":"user_f01890d357374ac3837ff556a957b9b4","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-05T17:00:14Z"},{"id":"user_4f3642aa792a49d1bbf723956cccdb9f","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2024-03-22T19:40:51Z"}],"has_more":true}' curl_info: url: 'https://api.easypost.com/v2/users/children?page_size=5' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 688 + header_size: 689 request_size: 303 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.289887 - namelookup_time: 0.109241 - connect_time: 0.15427 - pretransfer_time: 0.21253 + total_time: 0.172304 + namelookup_time: 0.002133 + connect_time: 0.03122 + pretransfer_time: 0.065105 size_upload: 0.0 - size_download: 887.0 - speed_download: 3059.0 + size_download: 1100.0 + speed_download: 6384.0 speed_upload: 0.0 - download_content_length: 887.0 + download_content_length: 1100.0 upload_content_length: 0.0 - starttransfer_time: 0.28986 + starttransfer_time: 0.172252 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 172.168.100.149 - local_port: 57058 + local_ip: 192.168.1.75 + local_port: 52875 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 212452 - connect_time_us: 154270 - namelookup_time_us: 109241 - pretransfer_time_us: 212530 + scheme: https + appconnect_time_us: 65036 + connect_time_us: 31220 + namelookup_time_us: 2133 + pretransfer_time_us: 65105 redirect_time_us: 0 - starttransfer_time_us: 289860 - total_time_us: 289887 + starttransfer_time_us: 172252 + total_time_us: 172304 effective_method: GET capath: '' cainfo: '' diff --git a/test/cassettes/users/brand.yml b/test/cassettes/users/brand.yml index 6f7fefb4..5e795775 100644 --- a/test/cassettes/users/brand.yml +++ b/test/cassettes/users/brand.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,19 +21,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef9121655e64b5e78855a5001f8d11 + x-ep-request-uuid: e181587b66bcec28e2b90479008727c0 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '1715' - x-runtime: '0.080057' - x-node: bigweb31nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '2285' + x-runtime: '0.115287' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"user_465eab8bb86844108100be2d4d5288ab","object":"User","parent_id":null,"name":"New Name","phone_number":"","verified":true,"created_at":"2022-02-02T20:16:00Z","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.0325","default_insurance_amount":"50.00","insurance_fee_rate":"0.005","insurance_fee_minimum":"0.25","email":"","children":[{"id":"user_3c44214dcf744d169c3f2db034fd965e","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-11-23T21:03:03Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_78019b89199646358298fd311435458f","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:41:09Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_1a2e9fb7903c4a08b2da7d7f57150370","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:43:07Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_f01890d357374ac3837ff556a957b9b4","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-05T17:00:14Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]}]}' + body: '{"id":"user_465eab8bb86844108100be2d4d5288ab","object":"User","parent_id":null,"name":"New Name","phone_number":"","verified":true,"created_at":"2022-02-02T20:16:00Z","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.0325","default_insurance_amount":"50.00","insurance_fee_rate":"0.005","insurance_fee_minimum":"0.50","email":"","children":[{"id":"user_3c44214dcf744d169c3f2db034fd965e","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-11-23T21:03:03Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_78019b89199646358298fd311435458f","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:41:09Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_1a2e9fb7903c4a08b2da7d7f57150370","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:43:07Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_f01890d357374ac3837ff556a957b9b4","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-05T17:00:14Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_4f3642aa792a49d1bbf723956cccdb9f","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2024-03-22T19:40:51Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_38e8f37bca2d4b8aa932cb39af02ce58","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2024-03-26T23:01:59Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]}]}' curl_info: url: 'https://api.easypost.com/v2/users' content_type: 'application/json; charset=utf-8' @@ -44,35 +43,38 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.277586 - namelookup_time: 0.001034 - connect_time: 0.064118 - pretransfer_time: 0.13142 + total_time: 0.212427 + namelookup_time: 0.002249 + connect_time: 0.031458 + pretransfer_time: 0.064154 size_upload: 0.0 - size_download: 1715.0 - speed_download: 6178.0 + size_download: 2285.0 + speed_download: 10756.0 speed_upload: 0.0 - download_content_length: 1715.0 + download_content_length: 2285.0 upload_content_length: 0.0 - starttransfer_time: 0.27756 + starttransfer_time: 0.212392 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53394 + local_ip: 192.168.1.75 + local_port: 52882 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 131312 - connect_time_us: 64118 - namelookup_time_us: 1034 - pretransfer_time_us: 131420 + scheme: https + appconnect_time_us: 64095 + connect_time_us: 31458 + namelookup_time_us: 2249 + pretransfer_time_us: 64154 redirect_time_us: 0 - starttransfer_time_us: 277560 - total_time_us: 277586 + starttransfer_time_us: 212392 + total_time_us: 212427 + effective_method: GET + capath: '' + cainfo: '' index: 0 - request: @@ -89,8 +91,7 @@ body: '{"color":"#123456"}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -99,19 +100,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911c655e64b6e78855a6001f8d50 + x-ep-request-uuid: e181587a66bcec28e2b9047a008727fb cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '372' - x-runtime: '0.025915' - x-node: bigweb35nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '373' + x-runtime: '0.085134' + x-node: bigweb34nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"brd_35445a49e3ca451192d52f6bb4acf096","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_465eab8bb86844108100be2d4d5288ab","background_color":null,"theme":"theme1"}' + body: '{"ad":null,"ad_href":null,"background_color":null,"color":"#123456","id":"brd_35445a49e3ca451192d52f6bb4acf096","logo":"https:\/\/assets.easypost.com\/assets\/images\/branding\/easypost-primary-logo.7324aa54b64b34d6cd70ca5ba4d1842d.svg","logo_href":"https:\/\/www.easypost.com","name":"EasyPost","object":"Brand","theme":"theme1","user_id":"user_465eab8bb86844108100be2d4d5288ab"}' curl_info: url: 'https://api.easypost.com/v2/users/user_465eab8bb86844108100be2d4d5288ab/brand' content_type: 'application/json; charset=utf-8' @@ -121,33 +122,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.223393 - namelookup_time: 0.001012 - connect_time: 0.063717 - pretransfer_time: 0.133712 + total_time: 0.196216 + namelookup_time: 0.00189 + connect_time: 0.035786 + pretransfer_time: 0.074494 size_upload: 19.0 - size_download: 372.0 - speed_download: 1665.0 - speed_upload: 85.0 - download_content_length: 372.0 + size_download: 373.0 + speed_download: 1900.0 + speed_upload: 96.0 + download_content_length: 373.0 upload_content_length: 19.0 - starttransfer_time: 0.223359 + starttransfer_time: 0.196157 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53395 + local_ip: 192.168.1.75 + local_port: 52883 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 133663 - connect_time_us: 63717 - namelookup_time_us: 1012 - pretransfer_time_us: 133712 + scheme: https + appconnect_time_us: 74403 + connect_time_us: 35786 + namelookup_time_us: 1890 + pretransfer_time_us: 74494 redirect_time_us: 0 - starttransfer_time_us: 223359 - total_time_us: 223393 + starttransfer_time_us: 196157 + total_time_us: 196216 + effective_method: PATCH + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/users/create.yml b/test/cassettes/users/create.yml index a4fa3aa2..8a41d417 100644 --- a/test/cassettes/users/create.yml +++ b/test/cassettes/users/create.yml @@ -14,8 +14,7 @@ body: '{"user":{"name":"Test User"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,19 +23,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911f655e64b8e78858b9001f8f36 + x-ep-request-uuid: e181587866bcec24e2b90456008723a7 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '691' - x-runtime: '0.809980' - x-node: bigweb31nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.525554' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"user_23271f474d004e2296e1b026d669418c","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2023-11-22T20:29:44Z","default_carbon_offset":false,"has_elevate_access":false,"children":[],"api_keys":[{"object":"ApiKey","key":"","mode":"test","created_at":"2023-11-22T20:29:44Z","active":true,"id":"ak_069d6c6b48dc4df3becad0346ca1d6cf"},{"object":"ApiKey","key":"","mode":"production","created_at":"2023-11-22T20:29:44Z","active":true,"id":"ak_eff2e028af54479bbd1d36a436126720"}]}' + body: '{"id":"user_b7db57c58b7a4a9cbc84b51f6beb9431","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2024-08-14T17:40:53Z","default_carbon_offset":false,"has_elevate_access":false,"children":[],"api_keys":[{"object":"ApiKey","key":"","mode":"test","created_at":"2024-08-14T17:40:53Z","active":true,"id":"ak_c88b1c6df18b45b584513c8c1c554d43"},{"object":"ApiKey","key":"","mode":"production","created_at":"2024-08-14T17:40:53Z","active":true,"id":"ak_94bef4239676405783a8778f3a01f33a"}]}' curl_info: url: 'https://api.easypost.com/v2/users' content_type: 'application/json; charset=utf-8' @@ -46,40 +45,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 1.009093 - namelookup_time: 0.001185 - connect_time: 0.064662 - pretransfer_time: 0.134659 + total_time: 0.628129 + namelookup_time: 0.001895 + connect_time: 0.031419 + pretransfer_time: 0.063773 size_upload: 29.0 size_download: 691.0 - speed_download: 684.0 - speed_upload: 28.0 + speed_download: 1100.0 + speed_upload: 46.0 download_content_length: 691.0 upload_content_length: 29.0 - starttransfer_time: 1.009077 + starttransfer_time: 0.628076 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53400 + local_ip: 192.168.1.75 + local_port: 52870 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 134577 - connect_time_us: 64662 - namelookup_time_us: 1185 - pretransfer_time_us: 134659 + scheme: https + appconnect_time_us: 63716 + connect_time_us: 31419 + namelookup_time_us: 1895 + pretransfer_time_us: 63773 redirect_time_us: 0 - starttransfer_time_us: 1009077 - total_time_us: 1009093 + starttransfer_time_us: 628076 + total_time_us: 628129 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: DELETE - url: 'https://api.easypost.com/v2/users/user_23271f474d004e2296e1b026d669418c' + url: 'https://api.easypost.com/v2/users/user_b7db57c58b7a4a9cbc84b51f6beb9431' headers: Host: api.easypost.com Accept-Encoding: '' @@ -89,8 +91,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '204' + code: 204 message: 'No Content' headers: x-frame-options: SAMEORIGIN @@ -99,53 +100,55 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911d655e64b9e78858ba001f9040 + x-ep-request-uuid: e181587866bcec25e2b9045700872441 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - x-runtime: '0.142959' - x-node: bigweb32nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.120261' + x-node: bigweb41nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' curl_info: - url: 'https://api.easypost.com/v2/users/user_23271f474d004e2296e1b026d669418c' + url: 'https://api.easypost.com/v2/users/user_b7db57c58b7a4a9cbc84b51f6beb9431' content_type: null http_code: 204 - header_size: 646 + header_size: 628 request_size: 323 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.336001 - namelookup_time: 0.002028 - connect_time: 0.065174 - pretransfer_time: 0.128617 + total_time: 0.238561 + namelookup_time: 0.001819 + connect_time: 0.035312 + pretransfer_time: 0.072384 size_upload: 0.0 size_download: 0.0 speed_download: 0.0 speed_upload: 0.0 download_content_length: 0.0 upload_content_length: 0.0 - starttransfer_time: 0.335988 + starttransfer_time: 0.238492 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53401 + local_ip: 192.168.1.75 + local_port: 52871 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 128591 - connect_time_us: 65174 - namelookup_time_us: 2028 - pretransfer_time_us: 128617 + scheme: https + appconnect_time_us: 72315 + connect_time_us: 35312 + namelookup_time_us: 1819 + pretransfer_time_us: 72384 redirect_time_us: 0 - starttransfer_time_us: 335988 - total_time_us: 336001 + starttransfer_time_us: 238492 + total_time_us: 238561 + effective_method: DELETE + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/users/delete.yml b/test/cassettes/users/delete.yml index 9d6a2d6f..0152127f 100644 --- a/test/cassettes/users/delete.yml +++ b/test/cassettes/users/delete.yml @@ -14,8 +14,7 @@ body: '{"user":{"name":"Test User"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,63 +23,65 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911b655e64b6e78855a9001f8df8 + x-ep-request-uuid: e181587d66bcec27e2b90477008726cd cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '691' - x-runtime: '0.722900' - x-node: bigweb43nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.583771' + x-node: bigweb39nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"user_da0bd9309a1b4976ae567718568e3a35","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2023-11-22T20:29:43Z","default_carbon_offset":false,"has_elevate_access":false,"children":[],"api_keys":[{"object":"ApiKey","key":"","mode":"test","created_at":"2023-11-22T20:29:43Z","active":true,"id":"ak_9f8088e8fbf14bdb8b8a87d57206ee2f"},{"object":"ApiKey","key":"","mode":"production","created_at":"2023-11-22T20:29:43Z","active":true,"id":"ak_0aa3715937d849a780ec0bddade533d1"}]}' + body: '{"id":"user_ca06befb29354a87ac69762703443850","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2024-08-14T17:40:55Z","default_carbon_offset":false,"has_elevate_access":false,"children":[],"api_keys":[{"object":"ApiKey","key":"","mode":"test","created_at":"2024-08-14T17:40:55Z","active":true,"id":"ak_ca8a95e5567d4d32bf9f530c5db2042c"},{"object":"ApiKey","key":"","mode":"production","created_at":"2024-08-14T17:40:55Z","active":true,"id":"ak_365ee4b30d534865bda6ac7e33b44b68"}]}' curl_info: url: 'https://api.easypost.com/v2/users' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 711 + header_size: 693 request_size: 332 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.922278 - namelookup_time: 0.001134 - connect_time: 0.063043 - pretransfer_time: 0.132601 + total_time: 0.680906 + namelookup_time: 0.001352 + connect_time: 0.030962 + pretransfer_time: 0.0639 size_upload: 29.0 size_download: 691.0 - speed_download: 749.0 - speed_upload: 31.0 + speed_download: 1014.0 + speed_upload: 42.0 download_content_length: 691.0 upload_content_length: 29.0 - starttransfer_time: 0.922247 + starttransfer_time: 0.680878 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53398 + local_ip: 192.168.1.75 + local_port: 52880 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 132530 - connect_time_us: 63043 - namelookup_time_us: 1134 - pretransfer_time_us: 132601 + scheme: https + appconnect_time_us: 63841 + connect_time_us: 30962 + namelookup_time_us: 1352 + pretransfer_time_us: 63900 redirect_time_us: 0 - starttransfer_time_us: 922247 - total_time_us: 922278 + starttransfer_time_us: 680878 + total_time_us: 680906 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: DELETE - url: 'https://api.easypost.com/v2/users/user_da0bd9309a1b4976ae567718568e3a35' + url: 'https://api.easypost.com/v2/users/user_ca06befb29354a87ac69762703443850' headers: Host: api.easypost.com Accept-Encoding: '' @@ -90,8 +91,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '204' + code: 204 message: 'No Content' headers: x-frame-options: SAMEORIGIN @@ -100,18 +100,18 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911b655e64b7e78855aa001f8ee3 + x-ep-request-uuid: e181587a66bcec28e2b904780087277c cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' - x-runtime: '0.117496' - x-node: bigweb40nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.128092' + x-node: bigweb39nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' curl_info: - url: 'https://api.easypost.com/v2/users/user_da0bd9309a1b4976ae567718568e3a35' + url: 'https://api.easypost.com/v2/users/user_ca06befb29354a87ac69762703443850' content_type: null http_code: 204 header_size: 628 @@ -119,33 +119,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.309686 - namelookup_time: 0.001119 - connect_time: 0.063012 - pretransfer_time: 0.127394 + total_time: 0.223449 + namelookup_time: 0.00197 + connect_time: 0.031552 + pretransfer_time: 0.062673 size_upload: 0.0 size_download: 0.0 speed_download: 0.0 speed_upload: 0.0 download_content_length: 0.0 upload_content_length: 0.0 - starttransfer_time: 0.309646 + starttransfer_time: 0.223421 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53399 + local_ip: 192.168.1.75 + local_port: 52881 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 127367 - connect_time_us: 63012 - namelookup_time_us: 1119 - pretransfer_time_us: 127394 + scheme: https + appconnect_time_us: 62644 + connect_time_us: 31552 + namelookup_time_us: 1970 + pretransfer_time_us: 62673 redirect_time_us: 0 - starttransfer_time_us: 309646 - total_time_us: 309686 + starttransfer_time_us: 223421 + total_time_us: 223449 + effective_method: DELETE + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/users/getNextPageOfChildren.yml b/test/cassettes/users/getNextPageOfChildren.yml index 2d839ea0..2ac74519 100644 --- a/test/cassettes/users/getNextPageOfChildren.yml +++ b/test/cassettes/users/getNextPageOfChildren.yml @@ -21,17 +21,17 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 84cd602966b53e86f45025710008a00e + x-ep-request-uuid: e181587866bcec26e2b9045c00872599 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '1100' - x-runtime: '0.030293' - x-node: bigweb38nuq - x-version-label: easypost-202408082122-d71f4bb148-master + x-runtime: '0.120983' + x-node: bigweb35nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb4nuq c0f5e722d1', 'extlb1nuq b6e1b5034c'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' body: '{"children":[{"id":"user_3c44214dcf744d169c3f2db034fd965e","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-11-23T21:03:03Z"},{"id":"user_78019b89199646358298fd311435458f","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:41:09Z"},{"id":"user_1a2e9fb7903c4a08b2da7d7f57150370","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:43:07Z"},{"id":"user_f01890d357374ac3837ff556a957b9b4","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-05T17:00:14Z"},{"id":"user_4f3642aa792a49d1bbf723956cccdb9f","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2024-03-22T19:40:51Z"}],"has_more":true}' curl_info: @@ -39,39 +39,39 @@ content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 689 - request_size: 304 + request_size: 303 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.294465 - namelookup_time: 0.147742 - connect_time: 0.186162 - pretransfer_time: 0.227856 + total_time: 0.230528 + namelookup_time: 0.001626 + connect_time: 0.03471 + pretransfer_time: 0.07162 size_upload: 0.0 size_download: 1100.0 - speed_download: 3735.0 + speed_download: 4771.0 speed_upload: 0.0 download_content_length: 1100.0 upload_content_length: 0.0 - starttransfer_time: 0.294443 + starttransfer_time: 0.230459 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 172.168.1.100 - local_port: 49450 + local_ip: 192.168.1.75 + local_port: 52876 http_version: 2 protocol: 2 ssl_verifyresult: 0 scheme: https - appconnect_time_us: 227792 - connect_time_us: 186162 - namelookup_time_us: 147742 - pretransfer_time_us: 227856 + appconnect_time_us: 71566 + connect_time_us: 34710 + namelookup_time_us: 1626 + pretransfer_time_us: 71620 redirect_time_us: 0 - starttransfer_time_us: 294443 - total_time_us: 294465 + starttransfer_time_us: 230459 + total_time_us: 230528 effective_method: GET capath: '' cainfo: '' @@ -98,17 +98,17 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 84cd602a66b53e86f42eb1af0008a02c + x-ep-request-uuid: e181587c66bcec26e2b9045d008725de cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '245' - x-runtime: '0.034322' - x-node: bigweb38nuq - x-version-label: easypost-202408082122-d71f4bb148-master + x-runtime: '0.030850' + x-node: bigweb33nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb4nuq c0f5e722d1', 'extlb1nuq b6e1b5034c'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' body: '{"children":[{"id":"user_38e8f37bca2d4b8aa932cb39af02ce58","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2024-03-26T23:01:59Z"}],"has_more":false}' curl_info: @@ -116,39 +116,39 @@ content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 688 - request_size: 351 + request_size: 350 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.162861 - namelookup_time: 0.001316 - connect_time: 0.038 - pretransfer_time: 0.079785 + total_time: 0.138611 + namelookup_time: 0.00205 + connect_time: 0.035172 + pretransfer_time: 0.072057 size_upload: 0.0 size_download: 245.0 - speed_download: 1504.0 + speed_download: 1767.0 speed_upload: 0.0 download_content_length: 245.0 upload_content_length: 0.0 - starttransfer_time: 0.162837 + starttransfer_time: 0.138584 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 172.168.1.100 - local_port: 49451 + local_ip: 192.168.1.75 + local_port: 52877 http_version: 2 protocol: 2 ssl_verifyresult: 0 scheme: https - appconnect_time_us: 79729 - connect_time_us: 38000 - namelookup_time_us: 1316 - pretransfer_time_us: 79785 + appconnect_time_us: 71999 + connect_time_us: 35172 + namelookup_time_us: 2050 + pretransfer_time_us: 72057 redirect_time_us: 0 - starttransfer_time_us: 162837 - total_time_us: 162861 + starttransfer_time_us: 138584 + total_time_us: 138611 effective_method: GET capath: '' cainfo: '' diff --git a/test/cassettes/users/retrieve.yml b/test/cassettes/users/retrieve.yml index 8ea1f251..fef1cd0e 100644 --- a/test/cassettes/users/retrieve.yml +++ b/test/cassettes/users/retrieve.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,19 +21,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911f655e64b6e78855a7001f8d7b + x-ep-request-uuid: e181587b66bcec25e2b9045800872487 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '1715' - x-runtime: '0.079827' - x-node: bigweb41nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '2285' + x-runtime: '0.117271' + x-node: bigweb38nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"user_465eab8bb86844108100be2d4d5288ab","object":"User","parent_id":null,"name":"New Name","phone_number":"","verified":true,"created_at":"2022-02-02T20:16:00Z","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.0325","default_insurance_amount":"50.00","insurance_fee_rate":"0.005","insurance_fee_minimum":"0.25","email":"","children":[{"id":"user_3c44214dcf744d169c3f2db034fd965e","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-11-23T21:03:03Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_78019b89199646358298fd311435458f","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:41:09Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_1a2e9fb7903c4a08b2da7d7f57150370","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:43:07Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_f01890d357374ac3837ff556a957b9b4","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-05T17:00:14Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]}]}' + body: '{"id":"user_465eab8bb86844108100be2d4d5288ab","object":"User","parent_id":null,"name":"New Name","phone_number":"","verified":true,"created_at":"2022-02-02T20:16:00Z","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.0325","default_insurance_amount":"50.00","insurance_fee_rate":"0.005","insurance_fee_minimum":"0.50","email":"","children":[{"id":"user_3c44214dcf744d169c3f2db034fd965e","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-11-23T21:03:03Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_78019b89199646358298fd311435458f","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:41:09Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_1a2e9fb7903c4a08b2da7d7f57150370","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:43:07Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_f01890d357374ac3837ff556a957b9b4","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-05T17:00:14Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_4f3642aa792a49d1bbf723956cccdb9f","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2024-03-22T19:40:51Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_38e8f37bca2d4b8aa932cb39af02ce58","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2024-03-26T23:01:59Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]}]}' curl_info: url: 'https://api.easypost.com/v2/users' content_type: 'application/json; charset=utf-8' @@ -44,35 +43,38 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.279921 - namelookup_time: 0.001147 - connect_time: 0.064272 - pretransfer_time: 0.13628 + total_time: 0.226474 + namelookup_time: 0.002089 + connect_time: 0.035502 + pretransfer_time: 0.072262 size_upload: 0.0 - size_download: 1715.0 - speed_download: 6126.0 + size_download: 2285.0 + speed_download: 10089.0 speed_upload: 0.0 - download_content_length: 1715.0 + download_content_length: 2285.0 upload_content_length: 0.0 - starttransfer_time: 0.279891 + starttransfer_time: 0.226395 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53396 + local_ip: 192.168.1.75 + local_port: 52872 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 136254 - connect_time_us: 64272 - namelookup_time_us: 1147 - pretransfer_time_us: 136280 + scheme: https + appconnect_time_us: 72201 + connect_time_us: 35502 + namelookup_time_us: 2089 + pretransfer_time_us: 72262 redirect_time_us: 0 - starttransfer_time_us: 279891 - total_time_us: 279921 + starttransfer_time_us: 226395 + total_time_us: 226474 + effective_method: GET + capath: '' + cainfo: '' index: 0 - request: @@ -87,8 +89,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -97,19 +98,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911c655e64b6e78855a8001f8dba + x-ep-request-uuid: e181587866bcec25e2b90459008724d0 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '1715' - x-runtime: '0.075607' - x-node: bigweb36nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '2285' + x-runtime: '0.115413' + x-node: bigweb33nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"user_465eab8bb86844108100be2d4d5288ab","object":"User","parent_id":null,"name":"New Name","phone_number":"","verified":true,"created_at":"2022-02-02T20:16:00Z","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.0325","default_insurance_amount":"50.00","insurance_fee_rate":"0.005","insurance_fee_minimum":"0.25","email":"","children":[{"id":"user_3c44214dcf744d169c3f2db034fd965e","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-11-23T21:03:03Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_78019b89199646358298fd311435458f","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:41:09Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_1a2e9fb7903c4a08b2da7d7f57150370","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:43:07Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_f01890d357374ac3837ff556a957b9b4","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-05T17:00:14Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]}]}' + body: '{"id":"user_465eab8bb86844108100be2d4d5288ab","object":"User","parent_id":null,"name":"New Name","phone_number":"","verified":true,"created_at":"2022-02-02T20:16:00Z","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.0325","default_insurance_amount":"50.00","insurance_fee_rate":"0.005","insurance_fee_minimum":"0.50","email":"","children":[{"id":"user_3c44214dcf744d169c3f2db034fd965e","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-11-23T21:03:03Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_78019b89199646358298fd311435458f","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:41:09Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_1a2e9fb7903c4a08b2da7d7f57150370","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:43:07Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_f01890d357374ac3837ff556a957b9b4","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-05T17:00:14Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_4f3642aa792a49d1bbf723956cccdb9f","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2024-03-22T19:40:51Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_38e8f37bca2d4b8aa932cb39af02ce58","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2024-03-26T23:01:59Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]}]}' curl_info: url: 'https://api.easypost.com/v2/users/user_465eab8bb86844108100be2d4d5288ab' content_type: 'application/json; charset=utf-8' @@ -119,33 +120,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.271152 - namelookup_time: 0.001087 - connect_time: 0.063331 - pretransfer_time: 0.130633 + total_time: 0.216862 + namelookup_time: 0.003754 + connect_time: 0.033666 + pretransfer_time: 0.06781 size_upload: 0.0 - size_download: 1715.0 - speed_download: 6324.0 + size_download: 2285.0 + speed_download: 10536.0 speed_upload: 0.0 - download_content_length: 1715.0 + download_content_length: 2285.0 upload_content_length: 0.0 - starttransfer_time: 0.271118 + starttransfer_time: 0.216733 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53397 + local_ip: 192.168.1.75 + local_port: 52873 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 130590 - connect_time_us: 63331 - namelookup_time_us: 1087 - pretransfer_time_us: 130633 + scheme: https + appconnect_time_us: 67735 + connect_time_us: 33666 + namelookup_time_us: 3754 + pretransfer_time_us: 67810 redirect_time_us: 0 - starttransfer_time_us: 271118 - total_time_us: 271152 + starttransfer_time_us: 216733 + total_time_us: 216862 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/users/retrieveMe.yml b/test/cassettes/users/retrieveMe.yml index f51462ab..5b4c949d 100644 --- a/test/cassettes/users/retrieveMe.yml +++ b/test/cassettes/users/retrieveMe.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,19 +21,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911a655e64b4e78855a2001f8c60 + x-ep-request-uuid: e181587a66bcec26e2b9045a0087252d cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '1715' - x-runtime: '0.094615' - x-node: bigweb36nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '2285' + x-runtime: '0.118900' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"user_465eab8bb86844108100be2d4d5288ab","object":"User","parent_id":null,"name":"New Name","phone_number":"","verified":true,"created_at":"2022-02-02T20:16:00Z","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.0325","default_insurance_amount":"50.00","insurance_fee_rate":"0.005","insurance_fee_minimum":"0.25","email":"","children":[{"id":"user_3c44214dcf744d169c3f2db034fd965e","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-11-23T21:03:03Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_78019b89199646358298fd311435458f","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:41:09Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_1a2e9fb7903c4a08b2da7d7f57150370","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:43:07Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_f01890d357374ac3837ff556a957b9b4","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-05T17:00:14Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]}]}' + body: '{"id":"user_465eab8bb86844108100be2d4d5288ab","object":"User","parent_id":null,"name":"New Name","phone_number":"","verified":true,"created_at":"2022-02-02T20:16:00Z","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.0325","default_insurance_amount":"50.00","insurance_fee_rate":"0.005","insurance_fee_minimum":"0.50","email":"","children":[{"id":"user_3c44214dcf744d169c3f2db034fd965e","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-11-23T21:03:03Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_78019b89199646358298fd311435458f","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:41:09Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_1a2e9fb7903c4a08b2da7d7f57150370","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:43:07Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_f01890d357374ac3837ff556a957b9b4","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-05T17:00:14Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_4f3642aa792a49d1bbf723956cccdb9f","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2024-03-22T19:40:51Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_38e8f37bca2d4b8aa932cb39af02ce58","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2024-03-26T23:01:59Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]}]}' curl_info: url: 'https://api.easypost.com/v2/users' content_type: 'application/json; charset=utf-8' @@ -44,33 +43,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.299748 - namelookup_time: 0.001236 - connect_time: 0.064949 - pretransfer_time: 0.132826 + total_time: 0.225941 + namelookup_time: 0.002143 + connect_time: 0.03192 + pretransfer_time: 0.06502 size_upload: 0.0 - size_download: 1715.0 - speed_download: 5721.0 + size_download: 2285.0 + speed_download: 10113.0 speed_upload: 0.0 - download_content_length: 1715.0 + download_content_length: 2285.0 upload_content_length: 0.0 - starttransfer_time: 0.299728 + starttransfer_time: 0.223642 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53391 + local_ip: 192.168.1.75 + local_port: 52874 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 132750 - connect_time_us: 64949 - namelookup_time_us: 1236 - pretransfer_time_us: 132826 + scheme: https + appconnect_time_us: 64977 + connect_time_us: 31920 + namelookup_time_us: 2143 + pretransfer_time_us: 65020 redirect_time_us: 0 - starttransfer_time_us: 299728 - total_time_us: 299748 + starttransfer_time_us: 223642 + total_time_us: 225941 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/users/update.yml b/test/cassettes/users/update.yml index 397a4234..ef4222d8 100644 --- a/test/cassettes/users/update.yml +++ b/test/cassettes/users/update.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,58 +21,60 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef9121655e64b5e78855a3001f8c9b + x-ep-request-uuid: e181587b66bcec26e2b9045e0087260a cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '1715' - x-runtime: '0.079163' - x-node: bigweb32nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '2285' + x-runtime: '0.186609' + x-node: bigweb42nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"user_465eab8bb86844108100be2d4d5288ab","object":"User","parent_id":null,"name":"New Name","phone_number":"","verified":true,"created_at":"2022-02-02T20:16:00Z","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.0325","default_insurance_amount":"50.00","insurance_fee_rate":"0.005","insurance_fee_minimum":"0.25","email":"","children":[{"id":"user_3c44214dcf744d169c3f2db034fd965e","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-11-23T21:03:03Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_78019b89199646358298fd311435458f","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:41:09Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_1a2e9fb7903c4a08b2da7d7f57150370","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:43:07Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_f01890d357374ac3837ff556a957b9b4","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-05T17:00:14Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]}]}' + body: '{"id":"user_465eab8bb86844108100be2d4d5288ab","object":"User","parent_id":null,"name":"New Name","phone_number":"","verified":true,"created_at":"2022-02-02T20:16:00Z","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.0325","default_insurance_amount":"50.00","insurance_fee_rate":"0.005","insurance_fee_minimum":"0.50","email":"","children":[{"id":"user_3c44214dcf744d169c3f2db034fd965e","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-11-23T21:03:03Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_78019b89199646358298fd311435458f","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:41:09Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_1a2e9fb7903c4a08b2da7d7f57150370","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:43:07Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_f01890d357374ac3837ff556a957b9b4","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-05T17:00:14Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_4f3642aa792a49d1bbf723956cccdb9f","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2024-03-22T19:40:51Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_38e8f37bca2d4b8aa932cb39af02ce58","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2024-03-26T23:01:59Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]}]}' curl_info: url: 'https://api.easypost.com/v2/users' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 707 + header_size: 689 request_size: 282 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.27448 - namelookup_time: 0.001382 - connect_time: 0.065677 - pretransfer_time: 0.130181 + total_time: 0.292559 + namelookup_time: 0.001835 + connect_time: 0.034363 + pretransfer_time: 0.069443 size_upload: 0.0 - size_download: 1715.0 - speed_download: 6248.0 + size_download: 2285.0 + speed_download: 7810.0 speed_upload: 0.0 - download_content_length: 1715.0 + download_content_length: 2285.0 upload_content_length: 0.0 - starttransfer_time: 0.274454 + starttransfer_time: 0.292485 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53392 + local_ip: 192.168.1.75 + local_port: 52878 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 130153 - connect_time_us: 65677 - namelookup_time_us: 1382 - pretransfer_time_us: 130181 + scheme: https + appconnect_time_us: 69411 + connect_time_us: 34363 + namelookup_time_us: 1835 + pretransfer_time_us: 69443 redirect_time_us: 0 - starttransfer_time_us: 274454 - total_time_us: 274480 + starttransfer_time_us: 292485 + total_time_us: 292559 + effective_method: GET + capath: '' + cainfo: '' index: 0 - request: @@ -90,8 +91,7 @@ body: '{"user":{"name":"New Name"}}' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -100,19 +100,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef9121655e64b5e78855a4001f8cd7 + x-ep-request-uuid: e181587666bcec27e2b9045f0087266b cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' - content-length: '1715' - x-runtime: '0.102167' - x-node: bigweb34nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + content-length: '2285' + x-runtime: '0.223524' + x-node: bigweb41nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"user_465eab8bb86844108100be2d4d5288ab","object":"User","parent_id":null,"name":"New Name","phone_number":"","verified":true,"created_at":"2022-02-02T20:16:00Z","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.0325","default_insurance_amount":"50.00","insurance_fee_rate":"0.005","insurance_fee_minimum":"0.25","email":"","children":[{"id":"user_3c44214dcf744d169c3f2db034fd965e","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-11-23T21:03:03Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_78019b89199646358298fd311435458f","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:41:09Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_1a2e9fb7903c4a08b2da7d7f57150370","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:43:07Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_f01890d357374ac3837ff556a957b9b4","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-05T17:00:14Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]}]}' + body: '{"id":"user_465eab8bb86844108100be2d4d5288ab","object":"User","parent_id":null,"name":"New Name","phone_number":"","verified":true,"created_at":"2022-02-02T20:16:00Z","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.0325","default_insurance_amount":"50.00","insurance_fee_rate":"0.005","insurance_fee_minimum":"0.50","email":"","children":[{"id":"user_3c44214dcf744d169c3f2db034fd965e","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-11-23T21:03:03Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_78019b89199646358298fd311435458f","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:41:09Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_1a2e9fb7903c4a08b2da7d7f57150370","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-02T22:43:07Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_f01890d357374ac3837ff556a957b9b4","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2022-12-05T17:00:14Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_4f3642aa792a49d1bbf723956cccdb9f","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2024-03-22T19:40:51Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]},{"id":"user_38e8f37bca2d4b8aa932cb39af02ce58","object":"User","parent_id":"user_465eab8bb86844108100be2d4d5288ab","name":"Test User","phone_number":"","verified":true,"created_at":"2024-03-26T23:01:59Z","default_carbon_offset":false,"has_elevate_access":false,"children":[]}]}' curl_info: url: 'https://api.easypost.com/v2/users/user_465eab8bb86844108100be2d4d5288ab' content_type: 'application/json; charset=utf-8' @@ -122,33 +122,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.305366 - namelookup_time: 0.001013 - connect_time: 0.064076 - pretransfer_time: 0.134458 + total_time: 0.335095 + namelookup_time: 0.002467 + connect_time: 0.035666 + pretransfer_time: 0.07419 size_upload: 28.0 - size_download: 1715.0 - speed_download: 5616.0 - speed_upload: 91.0 - download_content_length: 1715.0 + size_download: 2285.0 + speed_download: 6818.0 + speed_upload: 83.0 + download_content_length: 2285.0 upload_content_length: 28.0 - starttransfer_time: 0.305338 + starttransfer_time: 0.334967 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53393 + local_ip: 192.168.1.75 + local_port: 52879 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 134360 - connect_time_us: 64076 - namelookup_time_us: 1013 - pretransfer_time_us: 134458 + scheme: https + appconnect_time_us: 74119 + connect_time_us: 35666 + namelookup_time_us: 2467 + pretransfer_time_us: 74190 redirect_time_us: 0 - starttransfer_time_us: 305338 - total_time_us: 305366 + starttransfer_time_us: 334967 + total_time_us: 335095 + effective_method: PATCH + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/webhooks/all.yml b/test/cassettes/webhooks/all.yml index 62df89ab..617c53c5 100644 --- a/test/cassettes/webhooks/all.yml +++ b/test/cassettes/webhooks/all.yml @@ -12,8 +12,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -22,17 +21,17 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911e655e6524e7885d4500201036 + x-ep-request-uuid: e181587666bcebf4e2b8ff560086f047 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '15' - x-runtime: '0.026932' - x-node: bigweb41nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.036117' + x-node: bigweb53nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' body: '{"webhooks":[]}' curl_info: @@ -44,33 +43,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.225767 - namelookup_time: 0.001495 - connect_time: 0.065069 - pretransfer_time: 0.1284 + total_time: 0.135606 + namelookup_time: 0.001852 + connect_time: 0.031639 + pretransfer_time: 0.066518 size_upload: 0.0 size_download: 15.0 - speed_download: 66.0 + speed_download: 110.0 speed_upload: 0.0 download_content_length: 15.0 upload_content_length: 0.0 - starttransfer_time: 0.225752 + starttransfer_time: 0.135482 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53529 + local_ip: 192.168.1.75 + local_port: 52717 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 128373 - connect_time_us: 65069 - namelookup_time_us: 1495 - pretransfer_time_us: 128400 + scheme: https + appconnect_time_us: 66462 + connect_time_us: 31639 + namelookup_time_us: 1852 + pretransfer_time_us: 66518 redirect_time_us: 0 - starttransfer_time_us: 225752 - total_time_us: 225767 + starttransfer_time_us: 135482 + total_time_us: 135606 + effective_method: GET + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/webhooks/create.yml b/test/cassettes/webhooks/create.yml index acec4d24..2273106b 100644 --- a/test/cassettes/webhooks/create.yml +++ b/test/cassettes/webhooks/create.yml @@ -14,8 +14,7 @@ body: '{"webhook":{"url":"http:\/\/example.com"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,63 +23,65 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911e655e6525e7885d5f00201169 + x-ep-request-uuid: e181587866bcebf2e2b8ff510086ee87 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '161' - x-runtime: '0.168917' - x-node: bigweb43nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.144741' + x-node: bigweb36nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"hook_2043c956897611ee9f4239e04f9ebf94","object":"Webhook","mode":"test","url":"http:\/\/example.com","created_at":"2023-11-22T20:31:34Z","disabled_at":null}' + body: '{"id":"hook_3c70c6a05a6411ef9ae70d755d8ebe68","object":"Webhook","mode":"test","url":"http:\/\/example.com","created_at":"2024-08-14T17:40:03Z","disabled_at":null}' curl_info: url: 'https://api.easypost.com/v2/webhooks' content_type: 'application/json; charset=utf-8' http_code: 201 - header_size: 711 + header_size: 693 request_size: 348 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.374797 - namelookup_time: 0.008373 - connect_time: 0.071389 - pretransfer_time: 0.140969 + total_time: 0.259307 + namelookup_time: 0.001385 + connect_time: 0.0309 + pretransfer_time: 0.062275 size_upload: 42.0 size_download: 161.0 - speed_download: 429.0 - speed_upload: 112.0 + speed_download: 620.0 + speed_upload: 161.0 download_content_length: 161.0 upload_content_length: 42.0 - starttransfer_time: 0.374765 + starttransfer_time: 0.25925 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53532 + local_ip: 192.168.1.75 + local_port: 52712 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 140913 - connect_time_us: 71389 - namelookup_time_us: 8373 - pretransfer_time_us: 140969 + scheme: https + appconnect_time_us: 62235 + connect_time_us: 30900 + namelookup_time_us: 1385 + pretransfer_time_us: 62275 redirect_time_us: 0 - starttransfer_time_us: 374765 - total_time_us: 374797 + starttransfer_time_us: 259250 + total_time_us: 259307 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: DELETE - url: 'https://api.easypost.com/v2/webhooks/hook_2043c956897611ee9f4239e04f9ebf94' + url: 'https://api.easypost.com/v2/webhooks/hook_3c70c6a05a6411ef9ae70d755d8ebe68' headers: Host: api.easypost.com Accept-Encoding: '' @@ -90,8 +91,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -100,21 +100,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef9120655e6525e7885d60002011bc + x-ep-request-uuid: e181587a66bcebf3e2b8ff520086eed2 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '2' - x-runtime: '0.289083' - x-node: bigweb40nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.378353' + x-node: bigweb38nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' body: '[]' curl_info: - url: 'https://api.easypost.com/v2/webhooks/hook_2043c956897611ee9f4239e04f9ebf94' + url: 'https://api.easypost.com/v2/webhooks/hook_3c70c6a05a6411ef9ae70d755d8ebe68' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 686 @@ -122,33 +122,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.487931 - namelookup_time: 0.001681 - connect_time: 0.065273 - pretransfer_time: 0.133039 + total_time: 0.4768 + namelookup_time: 0.001947 + connect_time: 0.03153 + pretransfer_time: 0.065909 size_upload: 0.0 size_download: 2.0 speed_download: 4.0 speed_upload: 0.0 download_content_length: 2.0 upload_content_length: 0.0 - starttransfer_time: 0.487899 + starttransfer_time: 0.476782 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53533 + local_ip: 192.168.1.75 + local_port: 52713 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 132971 - connect_time_us: 65273 - namelookup_time_us: 1681 - pretransfer_time_us: 133039 + scheme: https + appconnect_time_us: 65848 + connect_time_us: 31530 + namelookup_time_us: 1947 + pretransfer_time_us: 65909 redirect_time_us: 0 - starttransfer_time_us: 487899 - total_time_us: 487931 + starttransfer_time_us: 476782 + total_time_us: 476800 + effective_method: DELETE + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/webhooks/delete.yml b/test/cassettes/webhooks/delete.yml index 62099fa4..20222784 100644 --- a/test/cassettes/webhooks/delete.yml +++ b/test/cassettes/webhooks/delete.yml @@ -14,8 +14,7 @@ body: '{"webhook":{"url":"http:\/\/example.com"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,19 +23,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911b655e6524e7885d5d00201072 + x-ep-request-uuid: e181587666bcebf5e2b8ff710086f22b cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '161' - x-runtime: '0.154369' - x-node: bigweb41nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.158166' + x-node: bigweb42nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"hook_1fbb3ee2897611ee833a31086f34e684","object":"Webhook","mode":"test","url":"http:\/\/example.com","created_at":"2023-11-22T20:31:33Z","disabled_at":null}' + body: '{"id":"hook_3e3a2dbe5a6411ef9dfe27ee3e96c677","object":"Webhook","mode":"test","url":"http:\/\/example.com","created_at":"2024-08-14T17:40:06Z","disabled_at":null}' curl_info: url: 'https://api.easypost.com/v2/webhooks' content_type: 'application/json; charset=utf-8' @@ -46,40 +45,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.348295 - namelookup_time: 0.001983 - connect_time: 0.064388 - pretransfer_time: 0.129698 + total_time: 0.254521 + namelookup_time: 0.00193 + connect_time: 0.031452 + pretransfer_time: 0.064066 size_upload: 42.0 size_download: 161.0 - speed_download: 462.0 - speed_upload: 120.0 + speed_download: 632.0 + speed_upload: 165.0 download_content_length: 161.0 upload_content_length: 42.0 - starttransfer_time: 0.348261 + starttransfer_time: 0.254483 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53530 + local_ip: 192.168.1.75 + local_port: 52721 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 129645 - connect_time_us: 64388 - namelookup_time_us: 1983 - pretransfer_time_us: 129698 + scheme: https + appconnect_time_us: 63998 + connect_time_us: 31452 + namelookup_time_us: 1930 + pretransfer_time_us: 64066 redirect_time_us: 0 - starttransfer_time_us: 348261 - total_time_us: 348295 + starttransfer_time_us: 254483 + total_time_us: 254521 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: DELETE - url: 'https://api.easypost.com/v2/webhooks/hook_1fbb3ee2897611ee833a31086f34e684' + url: 'https://api.easypost.com/v2/webhooks/hook_3e3a2dbe5a6411ef9dfe27ee3e96c677' headers: Host: api.easypost.com Accept-Encoding: '' @@ -89,8 +91,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -99,21 +100,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911a655e6524e7885d5e002010eb + x-ep-request-uuid: e181587666bcebf6e2b8ff720086f288 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '2' - x-runtime: '0.318120' - x-node: bigweb34nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.361566' + x-node: bigweb39nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb3nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' body: '[]' curl_info: - url: 'https://api.easypost.com/v2/webhooks/hook_1fbb3ee2897611ee833a31086f34e684' + url: 'https://api.easypost.com/v2/webhooks/hook_3e3a2dbe5a6411ef9dfe27ee3e96c677' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 686 @@ -121,33 +122,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.514991 - namelookup_time: 0.001748 - connect_time: 0.06464 - pretransfer_time: 0.132849 + total_time: 0.469073 + namelookup_time: 0.002441 + connect_time: 0.035983 + pretransfer_time: 0.071698 size_upload: 0.0 size_download: 2.0 - speed_download: 3.0 + speed_download: 4.0 speed_upload: 0.0 download_content_length: 2.0 upload_content_length: 0.0 - starttransfer_time: 0.514973 + starttransfer_time: 0.468999 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53531 + local_ip: 192.168.1.75 + local_port: 52722 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 132777 - connect_time_us: 64640 - namelookup_time_us: 1748 - pretransfer_time_us: 132849 + scheme: https + appconnect_time_us: 71665 + connect_time_us: 35983 + namelookup_time_us: 2441 + pretransfer_time_us: 71698 redirect_time_us: 0 - starttransfer_time_us: 514973 - total_time_us: 514991 + starttransfer_time_us: 468999 + total_time_us: 469073 + effective_method: DELETE + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/webhooks/retrieve.yml b/test/cassettes/webhooks/retrieve.yml index ddc627bf..f0d06979 100644 --- a/test/cassettes/webhooks/retrieve.yml +++ b/test/cassettes/webhooks/retrieve.yml @@ -14,8 +14,7 @@ body: '{"webhook":{"url":"http:\/\/example.com"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,19 +23,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef9120655e6526e7885d6100201234 + x-ep-request-uuid: e181587d66bcebf3e2b8ff530086ef65 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '161' - x-runtime: '0.148540' - x-node: bigweb36nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.137467' + x-node: bigweb42nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"hook_20c9d776897611eea9da39bbcdf9dbf0","object":"Webhook","mode":"test","url":"http:\/\/example.com","created_at":"2023-11-22T20:31:34Z","disabled_at":null}' + body: '{"id":"hook_3ce0bf785a6411efa4985b3e43583382","object":"Webhook","mode":"test","url":"http:\/\/example.com","created_at":"2024-08-14T17:40:04Z","disabled_at":null}' curl_info: url: 'https://api.easypost.com/v2/webhooks' content_type: 'application/json; charset=utf-8' @@ -46,40 +45,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.342788 - namelookup_time: 0.001754 - connect_time: 0.063759 - pretransfer_time: 0.129737 + total_time: 0.242166 + namelookup_time: 0.001734 + connect_time: 0.034486 + pretransfer_time: 0.069134 size_upload: 42.0 size_download: 161.0 - speed_download: 469.0 - speed_upload: 122.0 + speed_download: 664.0 + speed_upload: 173.0 download_content_length: 161.0 upload_content_length: 42.0 - starttransfer_time: 0.342747 + starttransfer_time: 0.242143 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53534 + local_ip: 192.168.1.75 + local_port: 52714 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 129642 - connect_time_us: 63759 - namelookup_time_us: 1754 - pretransfer_time_us: 129737 + scheme: https + appconnect_time_us: 69094 + connect_time_us: 34486 + namelookup_time_us: 1734 + pretransfer_time_us: 69134 redirect_time_us: 0 - starttransfer_time_us: 342747 - total_time_us: 342788 + starttransfer_time_us: 242143 + total_time_us: 242166 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: GET - url: 'https://api.easypost.com/v2/webhooks/hook_20c9d776897611eea9da39bbcdf9dbf0' + url: 'https://api.easypost.com/v2/webhooks/hook_3ce0bf785a6411efa4985b3e43583382' headers: Host: api.easypost.com Accept-Encoding: '' @@ -89,8 +91,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -99,21 +100,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911e655e6526e7885d620020128d + x-ep-request-uuid: e181587d66bcebf3e2b8ff540086efa1 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '161' - x-runtime: '0.027548' - x-node: bigweb34nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.028386' + x-node: bigweb39nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"hook_20c9d776897611eea9da39bbcdf9dbf0","object":"Webhook","mode":"test","url":"http:\/\/example.com","created_at":"2023-11-22T20:31:34Z","disabled_at":null}' + body: '{"id":"hook_3ce0bf785a6411efa4985b3e43583382","object":"Webhook","mode":"test","url":"http:\/\/example.com","created_at":"2024-08-14T17:40:04Z","disabled_at":null}' curl_info: - url: 'https://api.easypost.com/v2/webhooks/hook_20c9d776897611eea9da39bbcdf9dbf0' + url: 'https://api.easypost.com/v2/webhooks/hook_3ce0bf785a6411efa4985b3e43583382' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 688 @@ -121,40 +122,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.22739 - namelookup_time: 0.001388 - connect_time: 0.064372 - pretransfer_time: 0.134961 + total_time: 0.13549 + namelookup_time: 0.001952 + connect_time: 0.035193 + pretransfer_time: 0.07062 size_upload: 0.0 size_download: 161.0 - speed_download: 708.0 + speed_download: 1188.0 speed_upload: 0.0 download_content_length: 161.0 upload_content_length: 0.0 - starttransfer_time: 0.227361 + starttransfer_time: 0.13547 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53535 + local_ip: 192.168.1.75 + local_port: 52715 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 134832 - connect_time_us: 64372 - namelookup_time_us: 1388 - pretransfer_time_us: 134961 + scheme: https + appconnect_time_us: 70569 + connect_time_us: 35193 + namelookup_time_us: 1952 + pretransfer_time_us: 70620 redirect_time_us: 0 - starttransfer_time_us: 227361 - total_time_us: 227390 + starttransfer_time_us: 135470 + total_time_us: 135490 + effective_method: GET + capath: '' + cainfo: '' index: 0 - request: method: DELETE - url: 'https://api.easypost.com/v2/webhooks/hook_20c9d776897611eea9da39bbcdf9dbf0' + url: 'https://api.easypost.com/v2/webhooks/hook_3ce0bf785a6411efa4985b3e43583382' headers: Host: api.easypost.com Accept-Encoding: '' @@ -164,8 +168,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -174,56 +177,58 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911b655e6527e7885d63002012d2 + x-ep-request-uuid: e181587866bcebf3e2b8ff550086efc5 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '2' - x-runtime: '0.345948' - x-node: bigweb43nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.355311' + x-node: bigweb38nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-canary: direct - x-proxied: ['intlb2nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' body: '[]' curl_info: - url: 'https://api.easypost.com/v2/webhooks/hook_20c9d776897611eea9da39bbcdf9dbf0' + url: 'https://api.easypost.com/v2/webhooks/hook_3ce0bf785a6411efa4985b3e43583382' content_type: 'application/json; charset=utf-8' http_code: 200 - header_size: 704 + header_size: 686 request_size: 326 filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.541859 - namelookup_time: 0.001092 - connect_time: 0.06402 - pretransfer_time: 0.130909 + total_time: 0.466483 + namelookup_time: 0.004841 + connect_time: 0.037867 + pretransfer_time: 0.072918 size_upload: 0.0 size_download: 2.0 - speed_download: 3.0 + speed_download: 4.0 speed_upload: 0.0 download_content_length: 2.0 upload_content_length: 0.0 - starttransfer_time: 0.541821 + starttransfer_time: 0.466442 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53536 + local_ip: 192.168.1.75 + local_port: 52716 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 130816 - connect_time_us: 64020 - namelookup_time_us: 1092 - pretransfer_time_us: 130909 + scheme: https + appconnect_time_us: 72878 + connect_time_us: 37867 + namelookup_time_us: 4841 + pretransfer_time_us: 72918 redirect_time_us: 0 - starttransfer_time_us: 541821 - total_time_us: 541859 + starttransfer_time_us: 466442 + total_time_us: 466483 + effective_method: DELETE + capath: '' + cainfo: '' index: 0 diff --git a/test/cassettes/webhooks/update.yml b/test/cassettes/webhooks/update.yml index 161da548..14d6bcab 100644 --- a/test/cassettes/webhooks/update.yml +++ b/test/cassettes/webhooks/update.yml @@ -14,8 +14,7 @@ body: '{"webhook":{"url":"http:\/\/example.com"}}' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -24,19 +23,19 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 71ef911f655e6527e7885d640020135e + x-ep-request-uuid: e181587a66bcebf4e2b8ff570086f070 cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '161' - x-runtime: '0.154018' - x-node: bigweb42nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.145559' + x-node: bigweb34nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb2nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"hook_217ab9d8897611ee8f2b0768d12ea7ff","object":"Webhook","mode":"test","url":"http:\/\/example.com","created_at":"2023-11-22T20:31:36Z","disabled_at":null}' + body: '{"id":"hook_3d79c2f45a6411efba792797cf0cc7f3","object":"Webhook","mode":"test","url":"http:\/\/example.com","created_at":"2024-08-14T17:40:05Z","disabled_at":null}' curl_info: url: 'https://api.easypost.com/v2/webhooks' content_type: 'application/json; charset=utf-8' @@ -46,40 +45,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.346619 - namelookup_time: 0.00182 - connect_time: 0.065148 - pretransfer_time: 0.12902 + total_time: 0.253566 + namelookup_time: 0.002006 + connect_time: 0.034163 + pretransfer_time: 0.071522 size_upload: 42.0 size_download: 161.0 - speed_download: 464.0 - speed_upload: 121.0 + speed_download: 634.0 + speed_upload: 165.0 download_content_length: 161.0 upload_content_length: 42.0 - starttransfer_time: 0.346584 + starttransfer_time: 0.253487 redirect_time: 0.0 redirect_url: '' primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53537 + local_ip: 192.168.1.75 + local_port: 52718 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 128992 - connect_time_us: 65148 - namelookup_time_us: 1820 - pretransfer_time_us: 129020 + scheme: https + appconnect_time_us: 71450 + connect_time_us: 34163 + namelookup_time_us: 2006 + pretransfer_time_us: 71522 redirect_time_us: 0 - starttransfer_time_us: 346584 - total_time_us: 346619 + starttransfer_time_us: 253487 + total_time_us: 253566 + effective_method: POST + capath: '' + cainfo: '' index: 0 - request: method: PATCH - url: 'https://api.easypost.com/v2/webhooks/hook_217ab9d8897611ee8f2b0768d12ea7ff' + url: 'https://api.easypost.com/v2/webhooks/hook_3d79c2f45a6411efba792797cf0cc7f3' headers: Host: api.easypost.com Expect: '' @@ -91,8 +93,7 @@ body: '[]' response: status: - http_version: '1.1' - code: '201' + code: 201 message: Created headers: x-frame-options: SAMEORIGIN @@ -101,21 +102,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f876655e6527e7885d65001f2a88 + x-ep-request-uuid: e181587966bcebf4e2b8ff580086f0ac cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '161' - x-runtime: '0.567292' - x-node: bigweb35nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.429617' + x-node: bigweb34nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' - body: '{"id":"hook_217ab9d8897611ee8f2b0768d12ea7ff","object":"Webhook","mode":"test","url":"http:\/\/example.com","created_at":"2023-11-22T20:31:36Z","disabled_at":null}' + body: '{"id":"hook_3d79c2f45a6411efba792797cf0cc7f3","object":"Webhook","mode":"test","url":"http:\/\/example.com","created_at":"2024-08-14T17:40:05Z","disabled_at":null}' curl_info: - url: 'https://api.easypost.com/v2/webhooks/hook_217ab9d8897611ee8f2b0768d12ea7ff' + url: 'https://api.easypost.com/v2/webhooks/hook_3d79c2f45a6411efba792797cf0cc7f3' content_type: 'application/json; charset=utf-8' http_code: 201 header_size: 693 @@ -123,40 +124,43 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.764982 - namelookup_time: 0.001066 - connect_time: 0.063178 - pretransfer_time: 0.133881 + total_time: 0.530259 + namelookup_time: 0.001766 + connect_time: 0.03135 + pretransfer_time: 0.066325 size_upload: 2.0 size_download: 161.0 - speed_download: 210.0 - speed_upload: 2.0 + speed_download: 303.0 + speed_upload: 3.0 download_content_length: 161.0 upload_content_length: 2.0 - starttransfer_time: 0.764953 + starttransfer_time: 0.5302 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53538 + local_ip: 192.168.1.75 + local_port: 52719 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 133834 - connect_time_us: 63178 - namelookup_time_us: 1066 - pretransfer_time_us: 133881 + scheme: https + appconnect_time_us: 66266 + connect_time_us: 31350 + namelookup_time_us: 1766 + pretransfer_time_us: 66325 redirect_time_us: 0 - starttransfer_time_us: 764953 - total_time_us: 764982 + starttransfer_time_us: 530200 + total_time_us: 530259 + effective_method: PATCH + capath: '' + cainfo: '' index: 0 - request: method: DELETE - url: 'https://api.easypost.com/v2/webhooks/hook_217ab9d8897611ee8f2b0768d12ea7ff' + url: 'https://api.easypost.com/v2/webhooks/hook_3d79c2f45a6411efba792797cf0cc7f3' headers: Host: api.easypost.com Accept-Encoding: '' @@ -166,8 +170,7 @@ User-Agent: '' response: status: - http_version: '1.1' - code: '200' + code: 200 message: OK headers: x-frame-options: SAMEORIGIN @@ -176,21 +179,21 @@ x-download-options: noopen x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin - x-ep-request-uuid: 6c53f872655e6528e7885d66001f2b42 + x-ep-request-uuid: e181587666bcebf5e2b8ff700086f17e cache-control: 'private, no-cache, no-store' pragma: no-cache expires: '0' content-type: 'application/json; charset=utf-8' content-length: '2' - x-runtime: '0.360132' - x-node: bigweb42nuq - x-version-label: easypost-202311212221-a0f06fbc2c-master + x-runtime: '0.357419' + x-node: bigweb41nuq + x-version-label: easypost-202408141633-8ef9a7bcc9-master x-backend: easypost - x-proxied: ['intlb1nuq b3de2c47ef', 'extlb1nuq 003ad9bca0'] + x-proxied: ['intlb4nuq c0f5e722d1', 'extlb2nuq b6e1b5034c'] strict-transport-security: 'max-age=31536000; includeSubDomains; preload' body: '[]' curl_info: - url: 'https://api.easypost.com/v2/webhooks/hook_217ab9d8897611ee8f2b0768d12ea7ff' + url: 'https://api.easypost.com/v2/webhooks/hook_3d79c2f45a6411efba792797cf0cc7f3' content_type: 'application/json; charset=utf-8' http_code: 200 header_size: 686 @@ -198,33 +201,36 @@ filetime: -1 ssl_verify_result: 0 redirect_count: 0 - total_time: 0.568619 - namelookup_time: 0.001169 - connect_time: 0.065906 - pretransfer_time: 0.138797 + total_time: 0.461477 + namelookup_time: 0.002329 + connect_time: 0.036521 + pretransfer_time: 0.070082 size_upload: 0.0 size_download: 2.0 - speed_download: 3.0 + speed_download: 4.0 speed_upload: 0.0 download_content_length: 2.0 upload_content_length: 0.0 - starttransfer_time: 0.568587 + starttransfer_time: 0.46142 redirect_time: 0.0 redirect_url: '' - primary_ip: 169.62.110.131 + primary_ip: 169.62.110.130 certinfo: { } primary_port: 443 - local_ip: 10.130.6.39 - local_port: 53539 + local_ip: 192.168.1.75 + local_port: 52720 http_version: 2 protocol: 2 ssl_verifyresult: 0 - scheme: HTTPS - appconnect_time_us: 138671 - connect_time_us: 65906 - namelookup_time_us: 1169 - pretransfer_time_us: 138797 + scheme: https + appconnect_time_us: 70018 + connect_time_us: 36521 + namelookup_time_us: 2329 + pretransfer_time_us: 70082 redirect_time_us: 0 - starttransfer_time_us: 568587 - total_time_us: 568619 + starttransfer_time_us: 461420 + total_time_us: 461477 + effective_method: DELETE + capath: '' + cainfo: '' index: 0