---
title: "Get Subscription"
method: GET
path: "/v1/shops/{shopId}/subscriptions/{subscriptionId}"
tags: ["Subscriptions"]
---

# Get Subscription

`GET /v1/shops/{shopId}/subscriptions/{subscriptionId}`

Retrieves a specific subscription with its recent invoices.

## Response `200`

- object
  - `subscription` object
    - `id` integer
    - `shop_id` integer
    - `customer_id` integer
    - `product_id` integer
    - `variant_id` integer
    - `product_name` string
    - `variant_name` string
    - `initial_invoice_id` integer
    - `open_renewal_invoice_id` string
    - `gateway` string
    - `renewal_method` string
    - `payment_method_id` string
    - `status` string
    - `interval` string
    - `interval_count` integer
    - `trial_days` integer
    - `trial_ends_at` string
    - `quantity` integer
    - `currency` string
    - `recurring_price` string
    - `recurring_price_usd` string
    - `renewal_delivery` string
    - `current_period_start` string
    - `current_period_end` string
    - `cycles_completed` integer
    - `cancel_at_period_end` boolean
    - `cancelled_at` string
    - `expired_at` string
    - `cancellation_reason` string
    - `external_id` string
    - `external_customer_id` string
    - `last_renewal_reminder_at` string
    - `failed_payment_count` integer
    - `suspended_at` string
    - `metadata` string
    - `created_at` string
    - `updated_at` string
    - `deleted_at` string
    - `customer` object
      - `id` integer
      - `email` string
    - `product` object
      - `id` integer
      - `name` string
      - `stock_count` integer
    - `variant` object
      - `id` integer
      - `name` string
  - `invoices` unknown[]
    - unknown

---

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