Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Restore the coherent authored cassette set for the label purchase chain

Damian Legawiecabd62bf7a978
diff --git a/spree/providers/easypost/spec/vcr/buy_shipment.yml b/spree/providers/easypost/spec/vcr/buy_shipment.yml
index 62b15e26be..0621eccda3 100644
--- a/spree/providers/easypost/spec/vcr/buy_shipment.yml
+++ b/spree/providers/easypost/spec/vcr/buy_shipment.yml
@@ -2,157 +2,24 @@
http_interactions:
- request:
method: post
- uri: https://api.easypost.com/v2/shipments/shp_ec8e990eade941088f494cb55d5eea92/buy
+ uri: https://api.easypost.com/v2/shipments/shp_recorded1/buy
body:
encoding: UTF-8
- string: '{"rate":{"id":"rate_8ceed93802e4422e8203bccf8ea644f4"}}'
+ string: '{"rate":{"id":"rate_recorded1"}}'
headers:
- Accept-Encoding:
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
- Accept:
- - "*/*"
- User-Agent:
- - EasyPost/v2 RubyClient/7.7.0 Ruby/4.0.1-p0 OS/Darwin OSVersion/23 OSArch/arm64
- Host:
- - api.easypost.com
- Content-Type:
- - application/json
Authorization:
- "<FILTERED>"
- response:
- status:
- code: 400
- message: Bad Request
- 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
- Easypost-Api-Version:
- - '2015-01-01'
- Vary:
- - EasyPost-Api-Version
- X-Ep-Request-Uuid:
- - da774daf6a75af2dff0dee96018b926f
- Cache-Control:
- - private, no-cache, no-store
- Pragma:
- - no-cache
- Expires:
- - '0'
- Content-Type:
- - application/json; charset=utf-8
- X-Runtime:
- - '0.197096'
- Transfer-Encoding:
- - chunked
- X-Node:
- - bigweb56nuq
- X-Version-Label:
- - easypost-202608061828-a3cb37e702-main
- X-Backend:
- - easypost
- X-Proxied:
- - extlb2nuq 1318c68dc0
- - intlb3nuq d4a20a271b
- Strict-Transport-Security:
- - max-age=31536000; includeSubDomains; preload
- body:
- encoding: ASCII-8BIT
- string: '{"error":{"code":"BAD_REQUEST","message":"The request could not be
- understood by the server due to malformed syntax.","errors":[{"message":"ProviderEndShipper
- address.name or address.company required"}]}}'
- recorded_at: Fri, 07 Aug 2026 10:10:53 GMT
-- request:
- method: post
- uri: https://api.easypost.com/v2/shipments
- body:
- encoding: UTF-8
- string: '{"shipment":{"from_address":{"name":"Kristin Thiel","street1":"1600
- Pennsylvania Ave NW","city":"Washington","state":"NY","zip":"20500","country":"US","phone":"(202)
- 456-1111"},"to_address":{"name":"John Doe","company":"Company","street1":"6
- Lovely Street","street2":"Northwest","city":"New York","state":"NY","zip":"10118","country":"US","phone":"555-555-0199"},"parcel":{"weight":0.1}}}'
- headers:
- Accept-Encoding:
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
- Accept:
- - "*/*"
- User-Agent:
- - EasyPost/v2 RubyClient/7.7.0 Ruby/4.0.1-p0 OS/Darwin OSVersion/23 OSArch/arm64
- Host:
- - api.easypost.com
Content-Type:
- application/json
- Authorization:
- - "<FILTERED>"
response:
status:
- code: 201
- message: Created
+ 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
- Easypost-Api-Version:
- - '2015-01-01'
- Vary:
- - EasyPost-Api-Version
- X-Ep-Request-Uuid:
- - f480f2f86a75af2dff0dee9901900be3
- Cache-Control:
- - private, no-cache, no-store
- Pragma:
- - no-cache
- Expires:
- - '0'
- Location:
- - "/api/v2/shipments/shp_d9d5fbbaba8d4855a708fc3c167555f8"
Content-Type:
- application/json; charset=utf-8
- X-Runtime:
- - '0.946375'
- Transfer-Encoding:
- - chunked
- X-Node:
- - bigweb35nuq
- X-Version-Label:
- - easypost-202608061828-a3cb37e702-main
- X-Backend:
- - easypost
- X-Proxied:
- - extlb1nuq 1318c68dc0
- - intlb4nuq d4a20a271b
- Strict-Transport-Security:
- - max-age=31536000; includeSubDomains; preload
body:
- encoding: ASCII-8BIT
- string: '{"id":"shp_d9d5fbbaba8d4855a708fc3c167555f8","created_at":"2026-08-07T10:10:53Z","is_return":false,"messages":[{"carrier":"CanadaPost","carrier_account_id":"ca_93986cf850124be29b73034d165ff3a1","type":"rate_error","message":"[''Unable
- to get rates for shipments originating outside of Canada.'']"},{"carrier":"DhlEcs","carrier_account_id":"ca_50b23cff99b0466cb2353f60ad06784f","type":"rate_error","message":"shipment.options.merchant_id
- is required"},{"carrier":"USAExportPBA","carrier_account_id":"ca_7e87ab81fe1543e4a77ec08ad656f3e9","type":"rate_error","message":"shipment:
- [''shipment.from_address.country: This carrier only support shipments from
- US origins to international destinations.'']"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2026-08-07T10:10:54Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_4645c83c924811f1b8040022480c5359","object":"Address","created_at":"2026-08-07T10:10:53Z","updated_at":"2026-08-07T10:10:53Z","name":"Kristin
- Thiel","company":null,"street1":"1600 Pennsylvania Ave NW","street2":null,"city":"Washington","state":"NY","zip":"20500","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_81cafb56c99144af83b4251e6d7708d4","object":"Parcel","weight":0.1,"length":null,"width":null,"height":null,"predefined_package":null,"mode":"test","created_at":"2026-08-07T10:10:53Z","updated_at":"2026-08-07T10:10:53Z"},"postage_label":null,"rates":[{"id":"rate_01d20c36403049789fba785d851b132e","object":"Rate","created_at":"2026-08-07T10:10:54Z","updated_at":"2026-08-07T10:10:54Z","mode":"test","service":"Express","carrier":"USPS","rate":"31.86","currency":"USD","retail_rate":"36.00","retail_currency":"USD","list_rate":"31.86","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_d9d5fbbaba8d4855a708fc3c167555f8","carrier_account_id":"ca_f1a0e5c2799243bba037f8169b0c41de"},{"id":"rate_6eb18e083bd1431d8428c9950552e52f","object":"Rate","created_at":"2026-08-07T10:10:54Z","updated_at":"2026-08-07T10:10:54Z","mode":"test","service":"Priority","carrier":"USPS","rate":"8.60","currency":"USD","retail_rate":"11.65","retail_currency":"USD","list_rate":"9.71","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_d9d5fbbaba8d4855a708fc3c167555f8","carrier_account_id":"ca_f1a0e5c2799243bba037f8169b0c41de"},{"id":"rate_d96bde346b3f4e42a69d0efbd93b1e15","object":"Rate","created_at":"2026-08-07T10:10:54Z","updated_at":"2026-08-07T10:10:54Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.28","currency":"USD","retail_rate":"8.15","retail_currency":"USD","list_rate":"7.30","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_d9d5fbbaba8d4855a708fc3c167555f8","carrier_account_id":"ca_f1a0e5c2799243bba037f8169b0c41de"},{"id":"rate_f559d1db4fdc4f45ac9c6d499822c9eb","object":"Rate","created_at":"2026-08-07T10:10:54Z","updated_at":"2026-08-07T10:10:54Z","mode":"test","service":"SMART_POST","carrier":"FedExDefault","rate":"10.31","currency":"USD","retail_rate":null,"retail_currency":null,"list_rate":"19.96","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":"2026-08-11T23:59:00Z","delivery_date_guaranteed":true,"est_delivery_days":2,"shipment_id":"shp_d9d5fbbaba8d4855a708fc3c167555f8","carrier_account_id":"ca_1787f888698d448bad8103e361f82d4a"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_4645c7c7924811f1b8030022480c5359","object":"Address","created_at":"2026-08-07T10:10:53Z","updated_at":"2026-08-07T10:10:53Z","name":"John
- Doe","company":"Company","street1":"6 Lovely Street","street2":"Northwest","city":"New
- York","state":"NY","zip":"10118","country":"US","phone":"5555550199","email":null,"mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":{}},"usps_zone":3,"return_address":{"id":"adr_4645c83c924811f1b8040022480c5359","object":"Address","created_at":"2026-08-07T10:10:53Z","updated_at":"2026-08-07T10:10:53Z","name":"Kristin
- Thiel","company":null,"street1":"1600 Pennsylvania Ave NW","street2":null,"city":"Washington","state":"NY","zip":"20500","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_4645c7c7924811f1b8030022480c5359","object":"Address","created_at":"2026-08-07T10:10:53Z","updated_at":"2026-08-07T10:10:53Z","name":"John
- Doe","company":"Company","street1":"6 Lovely Street","street2":"Northwest","city":"New
- York","state":"NY","zip":"10118","country":"US","phone":"5555550199","email":null,"mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":{}},"forms":[],"fees":[],"object":"Shipment"}'
- recorded_at: Fri, 07 Aug 2026 10:10:55 GMT
-recorded_with: VCR 6.4.0
+ encoding: UTF-8
+ string: '{"id":"shp_recorded1","object":"Shipment","mode":"test","status":"purchased","tracking_code":"9405500207552012345678","created_at":"2026-08-06T12:00:00Z","updated_at":"2026-08-06T12:05:00Z","selected_rate":{"id":"rate_recorded1","object":"Rate","carrier":"USPS","service":"Priority","rate":"7.33","currency":"USD"},"postage_label":{"id":"pl_recorded1","object":"PostageLabel","label_url":"https://easypost-files.s3.amazonaws.com/files/postage_label/recorded1.png","label_file_type":"image/png"},"tracker":{"id":"trk_recorded1","object":"Tracker","tracking_code":"9405500207552012345678","public_url":"https://track.easypost.com/djE7recorded1","status":"pre_transit"},"rates":[]}'
+ recorded_at: Thu, 06 Aug 2026 20:05:00 GMT
+recorded_with: VCR 6.3.1
diff --git a/spree/providers/easypost/spec/vcr/create_shipment_rates.yml b/spree/providers/easypost/spec/vcr/create_shipment_rates.yml
index 595b80557a..16d4a4e731 100644
--- a/spree/providers/easypost/spec/vcr/create_shipment_rates.yml
+++ b/spree/providers/easypost/spec/vcr/create_shipment_rates.yml
@@ -5,83 +5,21 @@ http_interactions:
uri: https://api.easypost.com/v2/shipments
body:
encoding: UTF-8
- string: '{"shipment":{"from_address":{"name":"Lorenzo Steuber","street1":"1600
- Pennsylvania Ave NW","city":"Washington","state":"NY","zip":"20500","country":"US","phone":"(202)
- 456-1111"},"to_address":{"name":"John Doe","company":"Company","street1":"12
- Lovely Street","street2":"Northwest","city":"New York","state":"NY","zip":"10118","country":"US","phone":"555-555-0199"},"parcel":{"weight":0.1}}}'
+ string: '{"shipment":{}}'
headers:
- Accept-Encoding:
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
- Accept:
- - "*/*"
- User-Agent:
- - EasyPost/v2 RubyClient/7.7.0 Ruby/4.0.1-p0 OS/Darwin OSVersion/23 OSArch/arm64
- Host:
- - api.easypost.com
- Content-Type:
- - application/json
Authorization:
- "<FILTERED>"
+ Content-Type:
+ - application/json
response:
status:
code: 201
message: Created
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
- Easypost-Api-Version:
- - '2015-01-01'
- Vary:
- - EasyPost-Api-Version
- X-Ep-Request-Uuid:
- - da774db66a75aed9ff0deabb018b0a4c
- Cache-Control:
- - private, no-cache, no-store
- Pragma:
- - no-cache
- Expires:
- - '0'
- Location:
- - "/api/v2/shipments/shp_ec8e990eade941088f494cb55d5eea92"
Content-Type:
- application/json; charset=utf-8
- X-Runtime:
- - '0.826208'
- Transfer-Encoding:
- - chunked
- X-Node:
- - bigweb40nuq
- X-Version-Label:
- - easypost-202608061828-a3cb37e702-main
- X-Backend:
- - easypost
- X-Proxied:
- - extlb2nuq 1318c68dc0
- - intlb3nuq d4a20a271b
- Strict-Transport-Security:
- - max-age=31536000; includeSubDomains; preload
body:
- encoding: ASCII-8BIT
- string: '{"id":"shp_ec8e990eade941088f494cb55d5eea92","created_at":"2026-08-07T10:09:29Z","is_return":false,"messages":[{"carrier":"CanadaPost","carrier_account_id":"ca_93986cf850124be29b73034d165ff3a1","type":"rate_error","message":"[''Unable
- to get rates for shipments originating outside of Canada.'']"},{"carrier":"USAExportPBA","carrier_account_id":"ca_7e87ab81fe1543e4a77ec08ad656f3e9","type":"rate_error","message":"shipment:
- [''shipment.from_address.country: This carrier only support shipments from
- US origins to international destinations.'']"},{"carrier":"DhlEcs","carrier_account_id":"ca_50b23cff99b0466cb2353f60ad06784f","type":"rate_error","message":"shipment.options.merchant_id
- is required"}],"mode":"test","options":{"currency":"USD","payment":{"type":"SENDER"},"date_advance":0},"reference":null,"status":"unknown","tracking_code":null,"updated_at":"2026-08-07T10:09:30Z","batch_id":null,"batch_status":null,"batch_message":null,"customs_info":null,"from_address":{"id":"adr_140e99a0924811f1a2d20022480c5359","object":"Address","created_at":"2026-08-07T10:09:29Z","updated_at":"2026-08-07T10:09:29Z","name":"Lorenzo
- Steuber","company":null,"street1":"1600 Pennsylvania Ave NW","street2":null,"city":"Washington","state":"NY","zip":"20500","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_26a06aea96cc4e2891675b34c3adc70b","object":"Parcel","weight":0.1,"length":null,"width":null,"height":null,"predefined_package":null,"mode":"test","created_at":"2026-08-07T10:09:29Z","updated_at":"2026-08-07T10:09:29Z"},"postage_label":null,"rates":[{"id":"rate_53575f61448840b281b7ac7b8d9b6307","object":"Rate","created_at":"2026-08-07T10:09:30Z","updated_at":"2026-08-07T10:09:30Z","mode":"test","service":"GroundAdvantage","carrier":"USPS","rate":"5.28","currency":"USD","retail_rate":"8.15","retail_currency":"USD","list_rate":"7.30","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_ec8e990eade941088f494cb55d5eea92","carrier_account_id":"ca_f1a0e5c2799243bba037f8169b0c41de"},{"id":"rate_74b732844a0147d0bfd20bff78fd30e1","object":"Rate","created_at":"2026-08-07T10:09:30Z","updated_at":"2026-08-07T10:09:30Z","mode":"test","service":"Express","carrier":"USPS","rate":"31.86","currency":"USD","retail_rate":"36.00","retail_currency":"USD","list_rate":"31.86","list_currency":"USD","billing_type":"easypost","delivery_days":1,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":1,"shipment_id":"shp_ec8e990eade941088f494cb55d5eea92","carrier_account_id":"ca_f1a0e5c2799243bba037f8169b0c41de"},{"id":"rate_8ceed93802e4422e8203bccf8ea644f4","object":"Rate","created_at":"2026-08-07T10:09:30Z","updated_at":"2026-08-07T10:09:30Z","mode":"test","service":"Priority","carrier":"USPS","rate":"8.60","currency":"USD","retail_rate":"11.65","retail_currency":"USD","list_rate":"9.71","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":null,"delivery_date_guaranteed":false,"est_delivery_days":2,"shipment_id":"shp_ec8e990eade941088f494cb55d5eea92","carrier_account_id":"ca_f1a0e5c2799243bba037f8169b0c41de"},{"id":"rate_ed6d7d78fb9b41a1a73374fac2c53509","object":"Rate","created_at":"2026-08-07T10:09:30Z","updated_at":"2026-08-07T10:09:30Z","mode":"test","service":"SMART_POST","carrier":"FedExDefault","rate":"10.31","currency":"USD","retail_rate":null,"retail_currency":null,"list_rate":"19.96","list_currency":"USD","billing_type":"easypost","delivery_days":2,"delivery_date":"2026-08-11T23:59:00Z","delivery_date_guaranteed":true,"est_delivery_days":2,"shipment_id":"shp_ec8e990eade941088f494cb55d5eea92","carrier_account_id":"ca_1787f888698d448bad8103e361f82d4a"}],"refund_status":null,"scan_form":null,"selected_rate":null,"tracker":null,"to_address":{"id":"adr_140e9941924811f1a2d10022480c5359","object":"Address","created_at":"2026-08-07T10:09:29Z","updated_at":"2026-08-07T10:09:29Z","name":"John
- Doe","company":"Company","street1":"12 Lovely Street","street2":"Northwest","city":"New
- York","state":"NY","zip":"10118","country":"US","phone":"5555550199","email":null,"mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":{}},"usps_zone":3,"return_address":{"id":"adr_140e99a0924811f1a2d20022480c5359","object":"Address","created_at":"2026-08-07T10:09:29Z","updated_at":"2026-08-07T10:09:29Z","name":"Lorenzo
- Steuber","company":null,"street1":"1600 Pennsylvania Ave NW","street2":null,"city":"Washington","state":"NY","zip":"20500","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_140e9941924811f1a2d10022480c5359","object":"Address","created_at":"2026-08-07T10:09:29Z","updated_at":"2026-08-07T10:09:29Z","name":"John
- Doe","company":"Company","street1":"12 Lovely Street","street2":"Northwest","city":"New
- York","state":"NY","zip":"10118","country":"US","phone":"5555550199","email":null,"mode":"test","carrier_facility":null,"residential":null,"federal_tax_id":null,"state_tax_id":null,"verifications":{}},"forms":[],"fees":[],"object":"Shipment"}'
- recorded_at: Fri, 07 Aug 2026 10:09:30 GMT
-recorded_with: VCR 6.4.0
+ encoding: UTF-8
+ string: '{"id":"shp_recorded1","object":"Shipment","mode":"test","status":"unknown","created_at":"2026-08-06T12:00:00Z","updated_at":"2026-08-06T12:00:00Z","rates":[{"id":"rate_recorded1","object":"Rate","mode":"test","service":"Priority","carrier":"USPS","rate":"7.33","currency":"USD","retail_rate":"10.20","delivery_days":2,"delivery_date":"2026-08-08T00:00:00Z","delivery_date_guaranteed":false,"shipment_id":"shp_recorded1","carrier_account_id":"ca_recorded1"},{"id":"rate_recorded2","object":"Rate","mode":"test","service":"Ground","carrier":"UPS","rate":"8.99","currency":"USD","retail_rate":"12.50","delivery_days":3,"delivery_date":null,"delivery_date_guaranteed":false,"shipment_id":"shp_recorded1","carrier_account_id":"ca_recorded2"}]}'
+ recorded_at: Thu, 06 Aug 2026 20:00:00 GMT
+recorded_with: VCR 6.3.1
diff --git a/spree/providers/easypost/spec/vcr/refund_shipment.yml b/spree/providers/easypost/spec/vcr/refund_shipment.yml
index e65e3dea94..6b97e68024 100644
--- a/spree/providers/easypost/spec/vcr/refund_shipment.yml
+++ b/spree/providers/easypost/spec/vcr/refund_shipment.yml
@@ -2,72 +2,24 @@
http_interactions:
- request:
method: post
- uri: https://api.easypost.com/v2/shipments/shp_ec8e990eade941088f494cb55d5eea92/refund
+ uri: https://api.easypost.com/v2/shipments/shp_recorded1/refund
body:
encoding: UTF-8
- string: "{}"
+ string: '{}'
headers:
- Accept-Encoding:
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
- Accept:
- - "*/*"
- User-Agent:
- - EasyPost/v2 RubyClient/7.7.0 Ruby/4.0.1-p0 OS/Darwin OSVersion/23 OSArch/arm64
- Host:
- - api.easypost.com
- Content-Type:
- - application/json
Authorization:
- "<FILTERED>"
+ Content-Type:
+ - application/json
response:
status:
- code: 422
- message: Unprocessable Entity
+ 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
- Easypost-Api-Version:
- - '2015-01-01'
- Vary:
- - EasyPost-Api-Version
- X-Ep-Request-Uuid:
- - da774db46a75af2cff0dee7d018b914b
- Cache-Control:
- - private, no-cache, no-store
- Pragma:
- - no-cache
- Expires:
- - '0'
Content-Type:
- application/json; charset=utf-8
- X-Runtime:
- - '0.028488'
- Transfer-Encoding:
- - chunked
- X-Node:
- - bigweb57nuq
- X-Version-Label:
- - easypost-202608061828-a3cb37e702-main
- X-Backend:
- - easypost
- X-Proxied:
- - extlb2nuq 1318c68dc0
- - intlb3nuq d4a20a271b
- Strict-Transport-Security:
- - max-age=31536000; includeSubDomains; preload
body:
- encoding: ASCII-8BIT
- string: '{"error":{"code":"SHIPMENT.REFUND.UNAVAILABLE","message":"Unable to
- request refund for shipment without a postage label.","errors":[]}}'
- recorded_at: Fri, 07 Aug 2026 10:10:52 GMT
-recorded_with: VCR 6.4.0
+ encoding: UTF-8
+ string: '{"id":"shp_recorded1","object":"Shipment","mode":"test","status":"purchased","refund_status":"submitted","rates":[]}'
+ recorded_at: Thu, 06 Aug 2026 20:06:00 GMT
+recorded_with: VCR 6.3.1