---
title: "Get a shipping option by ID"
method: GET
path: "/v1/shoppers/me/carts/active/shipping-options/{shippingOptionsId}"
tags: ["Shipping Options"]
---

# Get a shipping option by ID

`GET /v1/shoppers/me/carts/active/shipping-options/{shippingOptionsId}`

To get a shipping option by ID, specify the shipping option ID in the {id} URI path parameter.

## Path parameters

- `shippingOptionsId` string, required

## Query parameters

- `token` string
- `expand` string
- `fields` string

## Response `200`

Successful response.

- union
  - DefaultShippingOption
    - `shippingOption` object
      - `uri` string
      - `id` integer — The shipping option identifier.
      - `description` string — The description of the shipping option.
      - `cost` DefaultCurrency
        - `currency` string
        - `value` string
      - `formattedCost` string — The sum of the shipping cost in the locale currency format. It displays a currency symbol such as the dollar sign, a decimal separator, and the number of fractional digits. Contact your Digital River team to set up the formatted cost.
      - `applyShippingOptionToCart` object
        - `uri` string
  - ExpandedShippingOption
    - `shippingOption` object
      - `uri` string
      - `id` integer — The shipping option identifier.
      - `description` string — The description of the shipping option.
      - `cost` DefaultCurrency
        - `currency` string
        - `value` string
      - `formattedCost` string — The sum of the shipping cost in the locale currency format. It displays a currency symbol such as the dollar sign, a decimal separator, and the number of fractional digits. Contact your Digital River team to set up the formatted cost.
      - `costWithDiscount` object — The shipping fee for the shipping option with a shipping discount.
        - `currency` string
        - `value` string
      - `formattedCostWithDiscount` string — The sum of the shipping cost with a discount in the locale currency format. It displays a currency symbol such as the dollar sign, a decimal separator, and the number of fractional digits. Contact your Digital River team to set up the formatted cost with a discount.
      - `applyShippingOptionToCart` object
        - `uri` string

## Other responses

- `401` — * Invalid Token
- `404` — * resource-not-found

---

[API](https://skmtc.net/digitalriver/apis/commerce-api-suite-shopper-apis.md) · [All operations](https://skmtc.net/digitalriver/apis/commerce-api-suite-shopper-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalriver/commerce-api-suite-shopper-apis/revisions/4b69392f93b9/schema)
