List subscriptions

Changed on

This endpoint allows you to retrieve a list of all subscriptions for the customer.

get/2026-04/subscription

Request

  • Base URL
    https://api.loopsubscriptions.com/storefront
  • URL
    https://api.loopsubscriptions.com/storefront/2026-04/subscription
  • Auth
    API key in header Authorization

Query parameters

status'ACTIVE' | 'PAUSED' | 'CANCELLED' | 'EXPIRED'

Response

Subscriptions list fetched successfully

successboolean
messagestring
codestring
pageInfounknown

Example response

{
  "success": true,
  "message": "Fetched list of subscriptions successfully",
  "data": [
    {
      "id": 12710342,
      "shopifyId": 43969577139,
      "discounts": [
        {
          "shopifyId": "7d06b548-7180-4676-bcff-973f8a1c6259",
          "title": "LPBNDLu5cl0",
          "isActive": true,
          "type": "MANUAL",
          "value": {
            "percentage": 10
          },
          "usageCount": 1,
          "targetType": "LINE_ITEM"
        }
      ],
      "totalLineItemPrice": 791.94,
      "totalLineItemDiscountedPrice": 686.03,
      "currencyCode": "USD",
      "status": "ACTIVE",
      "nextBillingDate": "2026-01-03T06:05:00.000Z",
      "nextBillingDateEpoch": 1767420300,
      "billingAttemptSuccessCount": 2,
      "paymentMethodId": 14195231,
      "chargeOffsetDays": 7,
      "lastPaymentStatus": "SUCCESS",
      "createdAt": "2025-11-10T13:39:21.000Z",
      "billingPolicy": {
        "interval": "MONTH",
        "intervalCount": 1
      },
      "deliveryPolicy": {
        "interval": "MONTH",
        "intervalCount": 1
      },
      "shippingAddress": {
        "firstName": "jashsdkj",
        "lastName": "jfkdkajnsdf",
        "address1": "1200 Waters Place",
        "city": "Bronx",
        "zip": "10461",
        "provinceCode": "NY",
        "countryCode": "US"
      },
      "lines": [
        {
          "id": 38607575,
          "productShopifyId": 8173228130483,
          "variantShopifyId": 44415927877811,
          "productTitle": "product 01 (byob 03)",
          "name": "product 01 (byob 03)",
          "price": "98.90",
          "basePrice": 100,
          "discountedPrice": 240.32,
          "quantity": 3,
          "sku": "TUY",
          "bundleTransactionId": 38607575,
          "attributes": [
            {
              "key": "_bundleName",
              "value": "BYOB"
            }
          ],
          "weightInGrams": 9072
        }
      ],
      "deliveryMethod": {
        "code": "Express",
        "title": "Express"
      }
    }
  ],
  "code": "SUCCESS"
}

Changes