---
title: "GET /subscriptions/{id}/plan"
method: GET
path: "/subscriptions/{id}/plan"
tags: ["Subscriptions"]
---

# GET /subscriptions/{id}/plan

`GET /subscriptions/{id}/plan`

Retrieve a plan for a subscription

## Path parameters

- `id` integer, required

## Query parameters

- `created_at_min` string, date-time
- `created_at_max` string, date-time

## Response `200`

Successful operation

- SubscriptionPlanService — Subscription Plan
  - `id` integer — The SamCart ID for the subscription plan
  - `product_id` integer — The SamCart ID for the product
  - `plan_status` 'active' | 'archived' — The current status of the subscription plan
  - `plan_archived_date` string, date-time, nullable — The UTC date and time for when the subscription plan was archived
  - `plan_duration` integer — For a limited subscription, this indicates the number of rebills
  - `plan_frequency` 'days' | 'weekly' | 'monthly' | 'quarterly' | 'yearly' — Indicates how frequently the subscription will rebill
  - `plan_price` integer — The recurring price of subscription exclusing tax and shipping fees
  - `trial_period` integer — The number of days that the subscription has for a trial
  - `rebill_days` integer — The number of days between each subscription rebill, used for 'days' frequency only
  - `stripe_compatible` boolean — Indicates whether the subscription will be Stripe-managed
  - `stripe_plan_id` string, nullable — For Stripe-managed subscriptions, this is the plan ID from within Stripe
  - `on_stripe_sandbox` boolean — Indicates whether the subscription is associated with a Stripe testing environment
  - `recurring_shipping` boolean — Indicates whether the shipping prices for the subscription will be charged at every subscription rebill

## Other responses

- `404` — Subscription could not be found

---

[API](https://skmtc.dev/samcart/apis/samcart-public-api.md) · [All operations](https://skmtc.dev/samcart/apis/samcart-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/samcart/samcart-public-api/revisions/80296f7a00d0/schema)
