Buy rate
POST/shipments/{shipment_id}/rates/{shipping_rate_id}
Buy a shipping rate for a shipment and create a shipping label.
Headers
AuthorizationRequired
Bearer authentication of the form Bearer <token>, where token is your auth token
Path parameters
shipment_idstringRequired
Shipment ID
shipping_rate_idstringRequired
Shipping rate ID
Request
Buy rate params
insurance_amountnumber
Insurance amount in USD
Example Request
curl -X POST https://api.parsel.app/shipments/123e4567-e89b-12d3-a456-426614174000/rates/123e4567-e89b-12d3-a456-426614174000
-H "Authorization: Bearer <bearer_token>"
-H "Content-Type: application/json"
-d '{
"insurance_amount": 100
}'