---
title: "Read customer details"
method: GET
path: "/2026-04/customer/{customerShopifyId}"
---

# Read customer details

`GET /2026-04/customer/{customerShopifyId}`

## Request

- Base URL: `https://api.loopsubscriptions.com/admin`
- URL: `https://api.loopsubscriptions.com/admin/2026-04/customer/{customerShopifyId}`
- Auth: API key in header `X-Loop-Token`

This endpoint allows you to retrieve the customer details using their Shopify Customer ID. This endpoint returns the customer's subscription details and loyalty account information.

## Path parameters

- `customerShopifyId` integer, required

## Response `200`

OK

- object
  - `success` boolean
  - `message` string
  - `data` object
    - `id` integer
    - `customerShopifyId` integer
    - `firstName` string
    - `lastName` string
    - `email` string
    - `activeSubscriptions` integer
    - `pausedSubscriptions` integer
    - `cancelledSubscriptions` integer
    - `expiredSubscriptions` integer
    - `fullName` string
    - `loyaltyPointsBalance` number
    - `loyaltyCreditBalance` number
    - `loyaltyCouponBalance` integer
    - `loyaltyCoupons` object[]
      - `discountTitle` string
      - `discountValue` string
      - `expiringIn` integer
    - `milestoneJourney` object[]
      - `milestoneInternalName` string
      - `milestoneType` string
      - `lastMilestone` integer
      - `currentMilestone` integer
      - `currentMilestoneReward` string
      - `lastMilestoneReward` string
      - `upcomingReward` string
    - `referralLink` string
    - `paymentMethods` object[]
      - `id` integer
      - `type` string
      - `card` object
        - `brand` string
        - `expiryYear` integer
        - `expiryMonth` integer
        - `lastDigits` string
      - `payPal` unknown
      - `status` string
      - `source` string
    - `addresses` object[]
      - `id` integer
      - `firstName` string
      - `lastName` string
      - `company` unknown
      - `address1` string
      - `address2` unknown
      - `city` string
      - `province` string
      - `country` string
      - `zip` string
      - `phone` unknown
      - `provinceCode` string
      - `countryCode` string
      - `isDefault` boolean
  - `code` string
  - `pageInfo` unknown

## Other responses

- `404`: Customer not found

---

[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)
