# Get a shipping estimate

```http
GET https://secure.yoprint.com/v2/api/store/{team_slug}/v2/shipment_estimate/{hash_id}
```

- API version: v2
- Operation ID: `v2_public_shipment_estimate_show`
- Section: Shipping › [Shipping rates and estimates](https://developer.yoprint.com/reference/shipping-rates-and-estimates.md)
- Web page: https://developer.yoprint.com/reference/shipping-rates-and-estimates/v2-shipment-estimate-show/
- Authentication: `Authorization: Bearer YOUR_API_KEY`

Returns one saved shipping estimate: its shipment and order, the Shippo shipment and selected rate ids, and the stored addresses, parcels and rates. Doesn't call Shippo.

## Permission

Any member of the team. No sales order permission is checked.

## Path parameters

- `team_slug` (string, required): Your team slug, shown as Team ID next to your API key in Profile. Example `your-team`.
- `hash_id` (string, required): The shipping estimate's hash id. Hash ids only: a unique key or a document number gives 404. Example `tVjoZLKlSwZFF5`.

## Request body

This operation takes no request body.

### Example request

```bash
curl 'https://secure.yoprint.com/v2/api/store/your-team/v2/shipment_estimate/tVjoZLKlSwZFF5' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Accept: application/json' \
  -H 'X-Yoprint-Decimal-Format: exact-v1'
```

## Response

`200` Successful response.

Fields:

- `data` (object, required): A saved shipping estimate.
  - `created_at` (string (date-time), optional)
  - `frontend_data` (object | array, optional): What you sent as `frontend_data`; an empty list `[]` when you sent none.
  - `frontend_data_version` (any, optional): What you sent, or null.
  - `goshippo_selected_rate_id` (string | null, optional): The rate chosen when it was saved.
  - `goshippo_shipment_id` (string | null, optional): The Shippo shipment.
  - `id` (string, optional): The estimate.
  - `order_id` (string, optional): The order.
  - `order_object_type` (string | null, optional)
  - `order_quote` (boolean, optional)
  - `order_scoped_id` (string | null, optional)
  - `shipment_id` (string, optional): The shipment.
  - `shipment_scoped_id` (string | null, optional)
  - `shippo_address_from` (object, optional)
  - `shippo_address_to` (object, optional)
  - `shippo_carrier_accounts` (array of strings, optional)
  - `shippo_extra` (any, optional): The label options, or null.
  - `shippo_object_id` (string | null, optional)
  - `shippo_parcels` (array of objects, optional)
  - `shippo_rates` (array of objects, optional): Every rate of that Shippo shipment, as saved (`amount` is a decimal string).
    - Each item:
      - `amount` (string, optional)
      - `amount_local` (string, optional)
      - `arrives_by` (string | null, optional)
      - `attributes` (array of strings, optional): Shippo's tags, for example `CHEAPEST`.
      - `carrier_account` (string, optional)
      - `currency` (string, optional)
      - `currency_local` (string, optional)
      - `duration_terms` (string | null, optional)
      - `estimated_days` (integer | null, optional)
      - `included_insurance_price` (string | null, optional)
      - `messages` (array of objects, optional)
      - `object_created` (string, optional)
      - `object_id` (string, optional): The rate id. Send it as `rate_id` to buy this label.
      - `object_updated` (string, optional)
      - `provider` (string, optional)
      - `provider_image_200` (string, optional)
      - `provider_image_75` (string, optional): A URL of the carrier logo.
      - `servicelevel` (object, optional): Exactly these four keys; null when Shippo sends no service level.
        - `extended_token` (string, optional)
        - `name` (string, optional)
        - `terms` (string, optional)
        - `token` (string, optional)
      - `shipment` (string, optional): The Shippo shipment this rate belongs to.
  - `shippo_shipment_date` (string | null, optional)
  - `shippo_status` (string | null, optional)
  - `type` (string, optional)
- `status` (integer, required)
- `success` (boolean, required)

Example response:

```json
{
  "data": {
    "created_at": "2026-11-03T15:00:00+00:00",
    "frontend_data": [],
    "frontend_data_version": null,
    "goshippo_selected_rate_id": "rate_0001",
    "goshippo_shipment_id": "shipment_0001",
    "id": "tVjoZLKlSwZFF5",
    "order_id": "sFbALVSYD55eXe",
    "order_object_type": "sales_order",
    "order_quote": false,
    "order_scoped_id": "SO1001",
    "shipment_id": "MQyJUnd3oty75h",
    "shipment_scoped_id": "SHIP-12",
    "shippo_address_from": {
      "city": "Austin",
      "company": "",
      "country": "US",
      "email": "",
      "name": "Northwind Apparel",
      "phone": "+1 201 555 0123",
      "state": "TX",
      "street1": "100 Example Street",
      "street2": "",
      "zip": "78701"
    },
    "shippo_address_to": {
      "city": "Denver",
      "company": "",
      "country": "US",
      "email": "alex@example.com",
      "name": "Alex Rivera",
      "phone": "",
      "state": "CO",
      "street1": "100 Example Street",
      "street2": "",
      "zip": "80202"
    },
    "shippo_carrier_accounts": [],
    "shippo_extra": null,
    "shippo_object_id": "shipment_0001",
    "shippo_parcels": [
      {
        "distance_unit": "in",
        "height": "4",
        "length": "12",
        "mass_unit": "lb",
        "weight": "2",
        "width": "10"
      }
    ],
    "shippo_rates": [
      {
        "amount": "12.40",
        "amount_local": "12.40",
        "arrives_by": null,
        "attributes": [
          "CHEAPEST"
        ],
        "carrier_account": "carrier_0001",
        "currency": "USD",
        "currency_local": "USD",
        "duration_terms": "Delivery in 2 to 5 days.",
        "estimated_days": 3,
        "included_insurance_price": null,
        "messages": [],
        "object_created": "2026-11-03T15:00:00Z",
        "object_id": "rate_0001",
        "object_updated": "2026-11-03T15:00:00Z",
        "provider": "USPS",
        "provider_image_200": "https://example.com/usps_200.png",
        "provider_image_75": "https://example.com/usps_75.png",
        "servicelevel": {
          "extended_token": "usps_ground_advantage",
          "name": "Ground Advantage",
          "terms": "",
          "token": "usps_ground_advantage"
        },
        "shipment": "shipment_0001"
      }
    ],
    "shippo_shipment_date": "2026-11-03T15:00:00Z",
    "shippo_status": "SUCCESS",
    "type": "integration_shippo"
  },
  "status": 200,
  "success": true
}
```

## Errors

- `401` The API key is missing or wrong (`unauthenticated`).
- `403` You are not allowed to do this. `api_access_not_in_plan`: your team's plan doesn't include API access (Pro and above, with an active subscription or trial), so every request answers this until the team upgrades. When your role lacks the permission the operation needs, the body is only `{"message": "Insufficient Permission"}`. Other refusals use the error envelope, with `unauthorized` or `user_is_not_authorized`.
- `404` Not found. `page_not_found`: the team slug is unknown, you are not a member of the team, or an id in the path is not one of this team's. `code: null`, with a message that starts "No query results for": there is no record with that id.
  - When: The estimate isn't your team's, or was deleted. Fix: Check the id.

## Related

- [List the shipping estimates of a shipment](https://developer.yoprint.com/reference/shipping-rates-and-estimates/v2-shipment-estimate-index.md): `GET /v2/api/store/{team_slug}/v2/shipment/{hash_id}/estimates`
- [Delete a shipping estimate](https://developer.yoprint.com/reference/shipping-rates-and-estimates/v2-shipment-estimate-destroy.md): `DELETE /v2/api/store/{team_slug}/v2/shipment_estimate/{hash_id}`
