Create a shipment (get rates)
easypost_create_shipmentCreate a shipment from a to_address, from_address, and parcel, returning the available RATES from all enabled carriers. This only RATES the shipment — it does NOT purchase a label and does NOT charge the account; buying is a separate step (easypost_buy_shipment). API: POST /shipments (body { shipment }).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parcel | Yes | Package dimensions and weight. | |
| reference | No | Your internal reference string for the shipment. | |
| to_address | Yes | Destination address. | |
| from_address | Yes | Origin/return address. | |
| carrier_accounts | No | Restrict rating to these carrier_account ids. |