---
title: "Get Subscription By Subscription Id"
method: GET
path: "/v1/subscriptions/{subId}"
tags: ["Retrieve Subscription"]
---

# Get Subscription By Subscription Id

`GET /v1/subscriptions/{subId}`

Get subscription details by subscription Id

## Path parameters

- `subId` string, required

## Headers

- `token` string, required

## Response `200`

OK

- SubscriptionInfo — The subscription information of the item.
  - `freeTrial` boolean — If <code>true</code>, indicates that this is a free trial.
  - `autoRenewal` boolean — If <code>true</code>, indicates that renewals for this subscription are automatic rather than manual.
  - `terms` string — For auto renewal subscriptions, the terms displayed to the customer at acquisition.
  - `planId` string — The unique identifier of the plan
  - `subscriptionId` string — The subscription identifier.
  - `billingAgreementId` string — The Digital River billing agreement identifier.
  - `startTime` string, date-time — The start date and time of the subscription.
  - `endTime` string, date-time — The <code>startTime</code> plus the subscription duration.

## Other responses

- `400` — * Bad request
- `401` — * Please verify your API key and secret (if applicable) is correct.
- `404` — * Not found
- `409` — * Conflict

---

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