--- http_interactions: - request: method: post uri: https://api.easypost.com/v2/addresses body: encoding: UTF-8 string: '{"address":{"street1":"131 S 8th Ave","city":"Manville","zip":"08835","phone":"(202) 456-1111","name":"NY Warehouse","company":"NY Warehouse","state":"NJ","country":"US"}}' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - EasyPost/v2 RubyClient/3.1.3 Ruby/2.7.1-p83 Content-Type: - application/json Authorization: - Basic Q3Z6WXR1ZGE2S1JJOUpqRzdTQUhiQTo= response: status: code: 201 message: Created headers: X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff X-Ep-Request-Uuid: - 937dbd635f6b55deee812b080003fc20 Cache-Control: - no-cache, no-store, must-revalidate, private Pragma: - no-cache Expires: - '0' Location: - "/api/v2/addresses/adr_78ab1c350ab541c099e8d7dca2a6d6f3" Content-Type: - application/json; charset=utf-8 X-Runtime: - '0.148401' Transfer-Encoding: - chunked X-Node: - bigweb2sj X-Version-Label: - easypost-202009222104-7ce76ac125-master X-Backend: - easypost X-Proxied: - extlb1wdc a561deb64e - intlb2sj 8df81f0396 - intlb2wdc 8df81f0396 Strict-Transport-Security: - max-age=15768000; includeSubDomains; preload body: encoding: ASCII-8BIT string: '{"id":"adr_78ab1c350ab541c099e8d7dca2a6d6f3","object":"Address","created_at":"2020-09-23T14:04:14Z","updated_at":"2020-09-23T14:04:14Z","name":"NY Warehouse","company":"NY Warehouse","street1":"131 S 8th Ave","street2":null,"city":"Manville","state":"NJ","zip":"08835","country":"US","phone":"2024561111","email":null,"mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":{}}' recorded_at: Wed, 23 Sep 2020 14:04:14 GMT - request: method: post uri: https://api.easypost.com/v2/addresses body: encoding: UTF-8 string: '{"address":{"street1":"A Different Road","street2":"Northwest","city":"Manville","zip":"08835","phone":"555-555-0199","company":"Company","name":"John Doe","state":"NJ","country":"US"}}' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - EasyPost/v2 RubyClient/3.1.3 Ruby/2.7.1-p83 Content-Type: - application/json Authorization: - Basic Q3Z6WXR1ZGE2S1JJOUpqRzdTQUhiQTo= response: status: code: 201 message: Created headers: X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff X-Ep-Request-Uuid: - 937dbd635f6b55deee6f30ab0003fc49 Cache-Control: - no-cache, no-store, must-revalidate, private Pragma: - no-cache Expires: - '0' Location: - "/api/v2/addresses/adr_079c8206e86f4163a1f6efa83cf5ee1e" Content-Type: - application/json; charset=utf-8 X-Runtime: - '0.052933' Transfer-Encoding: - chunked X-Node: - bigweb9sj X-Version-Label: - easypost-202009222104-7ce76ac125-master X-Backend: - easypost X-Proxied: - extlb1wdc a561deb64e - intlb1sj 8df81f0396 - intlb2wdc 8df81f0396 Strict-Transport-Security: - max-age=15768000; includeSubDomains; preload body: encoding: ASCII-8BIT string: '{"id":"adr_079c8206e86f4163a1f6efa83cf5ee1e","object":"Address","created_at":"2020-09-23T14:04:15Z","updated_at":"2020-09-23T14:04:15Z","name":"John Doe","company":"Company","street1":"A Different Road","street2":"Northwest","city":"Manville","state":"NJ","zip":"08835","country":"US","phone":"5555550199","email":null,"mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":{}}' recorded_at: Wed, 23 Sep 2020 14:04:15 GMT - request: method: post uri: https://api.easypost.com/v2/parcels body: encoding: UTF-8 string: '{"parcel":{"weight":10}}' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - EasyPost/v2 RubyClient/3.1.3 Ruby/2.7.1-p83 Content-Type: - application/json Authorization: - Basic Q3Z6WXR1ZGE2S1JJOUpqRzdTQUhiQTo= response: status: code: 201 message: Created headers: X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff X-Ep-Request-Uuid: - 937dbd625f6b55dfee6f1f050003fc7e Cache-Control: - no-cache, no-store, must-revalidate, private Pragma: - no-cache Expires: - '0' Location: - "/api/v2/parcels/prcl_da01bd8f5d924d17a96da73bcacaa247" Content-Type: - application/json; charset=utf-8 X-Runtime: - '0.032663' Transfer-Encoding: - chunked X-Node: - bigweb9sj X-Version-Label: - easypost-202009222104-7ce76ac125-master X-Backend: - easypost X-Proxied: - extlb1wdc a561deb64e - intlb1sj 8df81f0396 - intlb2wdc 8df81f0396 Strict-Transport-Security: - max-age=15768000; includeSubDomains; preload body: encoding: ASCII-8BIT string: '{"id":"prcl_da01bd8f5d924d17a96da73bcacaa247","object":"Parcel","created_at":"2020-09-23T14:04:15Z","updated_at":"2020-09-23T14:04:15Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":10.0,"mode":"test"}' recorded_at: Wed, 23 Sep 2020 14:04:15 GMT - request: method: post uri: https://api.easypost.com/v2/shipments body: encoding: UTF-8 string: '{"shipment":{"from_address":{"id":"adr_78ab1c350ab541c099e8d7dca2a6d6f3"},"to_address":{"id":"adr_079c8206e86f4163a1f6efa83cf5ee1e"},"parcel":{"id":"prcl_da01bd8f5d924d17a96da73bcacaa247"},"is_return":true}}' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - EasyPost/v2 RubyClient/3.1.3 Ruby/2.7.1-p83 Content-Type: - application/json Authorization: - Basic Q3Z6WXR1ZGE2S1JJOUpqRzdTQUhiQTo= response: status: code: 201 message: Created headers: X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff X-Ep-Request-Uuid: - 937dbd625f6b55e0ee715dad0003fcb0 Cache-Control: - no-cache, no-store, must-revalidate, private Pragma: - no-cache Expires: - '0' Location: - "/api/v2/shipments/shp_d05f260d382d48cea1e62472d169eb59" Content-Type: - application/json; charset=utf-8 X-Runtime: - '0.184911' Transfer-Encoding: - chunked X-Node: - bigweb12sj X-Version-Label: - easypost-202009222104-7ce76ac125-master X-Backend: - easypost X-Proxied: - extlb1wdc a561deb64e - intlb1wdc 8df81f0396 - intlb2sj 8df81f0396 Strict-Transport-Security: - max-age=15768000; includeSubDomains; preload body: encoding: ASCII-8BIT string: '{"created_at":"2020-09-23T14:04:16Z","is_return":true,"messages":[],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2020-09-23T14:04:16Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_78ab1c350ab541c099e8d7dca2a6d6f3","object":"Address","created_at":"2020-09-23T14:04:14Z","updated_at":"2020-09-23T14:04:14Z","name":"NY Warehouse","company":"NY Warehouse","street1":"131 S 8th Ave","street2":null,"city":"Manville","state":"NJ","zip":"08835","country":"US","phone":"2024561111","email":null,"mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":{}},"insurance":null,"order_id":null,"parcel":{"id":"prcl_da01bd8f5d924d17a96da73bcacaa247","object":"Parcel","created_at":"2020-09-23T14:04:15Z","updated_at":"2020-09-23T14:04:15Z","length":null,"width":null,"height":null,"predefined_package":null,"weight":10.0,"mode":"test"},"postage_label":null,"rates":[{"id":"rate_d39c45d3b89b4cf8acd313ef13507eb4","object":"Rate","created_at":"2020-09-23T14:04:16Z","updated_at":"2020-09-23T14:04:16Z","mode":"test","service":"Express","carrier":"USPS","rate":"23.00","currency":"USD","retail_rate":"26.75","retail_currency":"USD","list_rate":"23.00","list_currency":"USD","delivery_days":null,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":null,"shipment_id":"shp_d05f260d382d48cea1e62472d169eb59","carrier_account_id":"ca_mtb51Ve0"},{"id":"rate_cfa4646b92844d01b9af3e1aa1da4afd","object":"Rate","created_at":"2020-09-23T14:04:16Z","updated_at":"2020-09-23T14:04:16Z","mode":"test","service":"Priority","carrier":"USPS","rate":"7.02","currency":"USD","retail_rate":"7.50","retail_currency":"USD","list_rate":"7.02","list_currency":"USD","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_d05f260d382d48cea1e62472d169eb59","carrier_account_id":"ca_mtb51Ve0"},{"id":"rate_c0558049b08b4ac68b0affe87e937356","object":"Rate","created_at":"2020-09-23T14:04:16Z","updated_at":"2020-09-23T14:04:16Z","mode":"test","service":"First","carrier":"USPS","rate":"3.93","currency":"USD","retail_rate":"5.30","retail_currency":"USD","list_rate":"3.93","list_currency":"USD","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_d05f260d382d48cea1e62472d169eb59","carrier_account_id":"ca_mtb51Ve0"},{"id":"rate_b8f4316d65624742bfe244e104ed6d0f","object":"Rate","created_at":"2020-09-23T14:04:16Z","updated_at":"2020-09-23T14:04:16Z","mode":"test","service":"ParcelSelect","carrier":"USPS","rate":"6.92","currency":"USD","retail_rate":"6.92","retail_currency":"USD","list_rate":"6.92","list_currency":"USD","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_d05f260d382d48cea1e62472d169eb59","carrier_account_id":"ca_mtb51Ve0"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_079c8206e86f4163a1f6efa83cf5ee1e","object":"Address","created_at":"2020-09-23T14:04:15Z","updated_at":"2020-09-23T14:04:15Z","name":"John Doe","company":"Company","street1":"A Different Road","street2":"Northwest","city":"Manville","state":"NJ","zip":"08835","country":"US","phone":"5555550199","email":null,"mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":{}},"usps_zone":1,"return_address":{"id":"adr_78ab1c350ab541c099e8d7dca2a6d6f3","object":"Address","created_at":"2020-09-23T14:04:14Z","updated_at":"2020-09-23T14:04:14Z","name":"NY Warehouse","company":"NY Warehouse","street1":"131 S 8th Ave","street2":null,"city":"Manville","state":"NJ","zip":"08835","country":"US","phone":"2024561111","email":null,"mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":{}},"buyer_address":{"id":"adr_079c8206e86f4163a1f6efa83cf5ee1e","object":"Address","created_at":"2020-09-23T14:04:15Z","updated_at":"2020-09-23T14:04:15Z","name":"John Doe","company":"Company","street1":"A Different Road","street2":"Northwest","city":"Manville","state":"NJ","zip":"08835","country":"US","phone":"5555550199","email":null,"mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":{}},"forms":[],"fees":[],"id":"shp_d05f260d382d48cea1e62472d169eb59","object":"Shipment"}' recorded_at: Wed, 23 Sep 2020 14:04:16 GMT recorded_with: VCR 6.0.0