---
title: "Read customer order history"
method: GET
path: "/2026-04/customer/{customerId}/order/history"
---

# Read customer order history

`GET /2026-04/customer/{customerId}/order/history`

## Request

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

This endpoint allows you to fetch order history for a customer.

## Path parameters

- `customerId` string, required

## Response `200`

- object
  - `success` boolean
  - `message` string
  - `data` object[]
    - `id` integer
    - `shopifyId` integer
    - `status` string
    - `billingDateEpoch` integer
    - `fulfillmentStatus` unknown
    - `financialStatus` string
    - `shopifyCreatedAt` string
    - `shopifyProcessedAt` string
    - `shopifyUpdatedAt` string
    - `currencyCode` string
    - `totalPriceUsd` string
    - `totalDiscount` string
    - `totalLineItemsPrice` string
    - `totalShippingPrice` string
    - `shopifyOrderNumber` integer
    - `totalPrice` string
    - `totalTax` string
    - `orderType` string
    - `shippingAddress` object
      - `firstName` string
      - `lastName` string
      - `phone` string
      - `company` unknown
      - `address1` string
      - `address2` unknown
      - `city` string
      - `zip` string
      - `provinceCode` string
      - `countryCode` string
    - `discountCodes` object[]
    - `subscription` object
      - `id` integer
      - `shopifyId` integer
      - `status` string
    - `lines` object[]
      - `productShopifyId` integer
      - `variantShopifyId` integer
      - `productTitle` string
      - `variantTitle` string
      - `name` string
      - `sku` unknown
      - `quantity` integer
      - `price` number
      - `isOneTime` boolean
      - `currentQuantity` integer
    - `updatedAt` string
  - `code` string
  - `pageInfo` object
    - `hasNextPage` boolean
    - `hasPreviousPage` boolean

## Other responses

- `404`: 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)
