Buy a shipping label
easypost_buy_shipmentPURCHASE a shipping label for a shipment at a chosen rate. WARNING: this CHARGES the EasyPost account balance and is irreversible except by requesting a refund (easypost_refund_shipment). Pick a rate_id from the rates returned by easypost_create_shipment or easypost_get_shipment. API: POST /shipments/{id}/buy (body { rate: { id }, insurance? }).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate_id | Yes | Rate id to purchase (from create_shipment / get_shipment rates). | |
| insurance | No | Dollar amount to insure the shipment for, e.g. "249.99". | |
| shipment_id | Yes | Shipment id to buy, e.g. shp_... |