Get Pack Session Shipping Rates
GET/api/v2/pack/sessions/:packSession/rates
Quote Shippo rates for the session's cartons, one parcel per carton, from the warehouse to the order's ship-to address. The session must be packed_ready (cartons set).
warehouses:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Authentication: Requires Bearer token. Scope: warehouses:read. Permission: packing.pack.
Response data: shipment_object_id, rates[] (as Get Shipping Rates in the Shippo integration), messages[] from the carriers, is_complete, is_test, integration_instance_id, and preselected_rate_id — the rate for the order's requested shipping method when one can be bought, else the first purchasable rate. Pass the chosen rate's object_id as rate_id (and echo shipment_object_id and the rate) to Complete Pack Session.
Errors: 422 {message} when the session is not ready; 422 {message, reason} when the order cannot buy a Shippo label (for example an international address); 422 {message, messages[]} when Shippo refuses the request; 502 when Shippo cannot be reached.
The quote is remembered on the session (its shipment and the cartons it priced). Buying a label needs a quote for the current cartons.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
- 502
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.
Bad Gateway