v1

latestOpenAPI 3.1.02026-07-241120379.1 KB

Read subscriptions for customer via email address

get/2023-10/customer/{customerEmailAddress}/subscription

Path parameters

customerEmailAddressstring required

Email address of the customer

Response

200

successboolean
messagestring
codestring
{"stackTrail":"paths:/2023-10/customer/{customerEmailAddress}/subscription:get:responses:200:content:application/json:schema:properties:pageInfo","oasType":"schema","type":"unknown"}

Example response

{
  "success": true,
  "message": "Subscriptions fetched successfully",
  "data": [
    {
      "id": 26538255,
      "shopifyId": 17624039601,
      "totalLineItemPrice": 640,
      "totalLineItemDiscountedPrice": 640,
      "currencyCode": "INR",
      "nextBillingDateEpoch": 1780765200,
      "status": "ACTIVE",
      "billingAttemptSuccessCount": 1,
      "lastPaymentStatus": "SUCCESS",
      "paymentMethodId": 28880010,
      "createdAt": "2026-05-28T17:48:54.000Z",
      "customer": {
        "id": 549611349,
        "shopifyId": 9234367348913,
        "email": "cjnnnbizz01@gmail.com"
      },
      "billingPolicy": {
        "interval": "MONTH",
        "intervalCount": 1,
        "anchorDay": 6,
        "anchorType": "MONTHDAY"
      },
      "deliveryPolicy": {
        "interval": "MONTH",
        "intervalCount": 1
      },
      "lines": [
        {
          "id": 70959554,
          "productShopifyId": 8424626618545,
          "variantShopifyId": 45667614589105,
          "sellingPlanShopifyId": 2479554737,
          "sellingPlanName": "Deliver every month",
          "sellingPlanGroupName": "Plan 02 no anchor",
          "sellingPlanGroupMerchantCode": "Plan 02 no anchor",
          "variantTitle": "Default Title",
          "productTitle": "Monthly Box (May)",
          "name": "Monthly Box (May)",
          "price": "100.00",
          "basePrice": 100,
          "discountedPrice": 200,
          "quantity": 2,
          "bundleTransactionId": 4745509,
          "loopBundleId": "01KH0P8FX4CH8BHV6NZSCMAJMM",
          "attributes": [
            {
              "key": "_bundleId",
              "value": "01KSQV8A9ET2HM55F1C4ASFH1P"
            }
          ],
          "weightInGrams": 45,
          "variantImage": "https://cdn.shopify.com/s/files/1/0669/3984/6833/files/box_a297b43e-950b-4359-b872-8a573cf1497a.jpg?v=1736940989"
        }
      ],
      "billingAddress": {
        "zip": "96789",
        "city": "Mililani",
        "country": "US",
        "address1": "Aaahi St",
        "province": "HI",
        "countryCode": "US",
        "provinceCode": "HI"
      },
      "updatedAt": "2026-05-28T17:48:59.000Z",
      "paymentMethod": {
        "id": 28880010,
        "type": "CustomerCreditCard",
        "card": {
          "brand": "bogus",
          "expiryYear": 71,
          "expiryMonth": 12,
          "lastDigits": "1"
        },
        "status": "safe",
        "source": "Credit card (Primary gateway)"
      },
      "originOrderShopifyId": 6517065056433
    }
  ],
  "code": "SUCCESS"
}