---
title: "Read subscription details"
method: GET
path: "/2023-10/subscription/{subscriptionId}"
---

# Read subscription details

`GET /2023-10/subscription/{subscriptionId}`

## Request

- Base URL: `https://api.loopsubscriptions.com/admin`
- URL: `https://api.loopsubscriptions.com/admin/2023-10/subscription/{subscriptionId}`
- Auth: API key in header `X-Loop-Token`

This endpoint allows you to retrieve comprehensive details of a specific subscription, including billing, delivery, products, and status.

## Path parameters

- `subscriptionId` string, required

## Response `200`

200

- object
  - `success` boolean
  - `message` string
  - `data` object
    - `id` integer
    - `shopifyId` integer
    - `originOrderShopifyId` integer
    - `createdAt` string
    - `updatedAt` string
    - `totalLineItemPrice` number
    - `totalLineItemDiscountedPrice` integer
    - `deliveryPrice` integer
    - `currencyCode` string
    - `status` string
    - `cancellationReason` string
    - `cancellationComment` unknown
    - `completedOrdersCount` integer
    - `pausedAt` unknown
    - `cancelledAt` string
    - `isPrepaid` boolean
    - `nextBillingDateEpoch` integer
    - `deliveryMethod` object
      - `code` string
      - `title` string
    - `billingPolicy` object
      - `maxCycles` unknown
      - `minCycles` unknown
      - `interval` string
      - `intervalCount` integer
      - `anchorDay` unknown
      - `anchorMonth` unknown
      - `anchorType` unknown
    - `deliveryPolicy` object
      - `interval` string
      - `intervalCount` integer
    - `shippingAddress` object
      - `firstName` string
      - `lastName` string
      - `phone` unknown
      - `company` unknown
      - `address1` string
      - `address2` unknown
      - `city` string
      - `zip` string
      - `countryCode` string
      - `provinceCode` string
    - `lines` object[]
      - `id` integer
      - `productShopifyId` integer
      - `variantShopifyId` integer
      - `variantTitle` unknown
      - `productTitle` string
      - `name` string
      - `price` string
      - `basePrice` number
      - `discountedPrice` integer
      - `quantity` integer
      - `sku` string
      - `isOneTimeAdded` boolean
      - `isOneTimeRemoved` boolean
      - `bundleTransactionId` unknown
      - `attributes` object[]
        - `key` string
        - `value` string
      - `weightInGrams` integer
    - `customer` object
      - `id` integer
      - `shopifyId` integer
    - `discounts` object[]
      - `shopifyId` string
      - `title` string
      - `isActive` boolean
      - `type` string
      - `value` object
        - `amount` object
          - `amount` string
          - `currencyCode` string
        - `appliesOnEachItem` boolean
  - `code` string
  - `pageInfo` unknown

---

[API](https://skmtc.dev/loopwork/apis/loop-admin.md) - [All operations](https://skmtc.dev/loopwork/apis/loop-admin/llms.txt) - [OpenAPI document](https://skmtc.dev/loopwork/apis/loop-admin/revisions/1eaf81bcb1ea?raw)
