---
title: "Read all past orders"
method: GET
path: "/2023-10/order"
---

# Read all past orders

`GET /2023-10/order`

This endpoint allows you to retrieves a list of subscription orders for all the subscriptions.

## Query parameters

- `pageNo` integer
- `pageSize` integer
- `shopifyCreatedAtStartEpoch` integer
- `shopifyCreatedAtEndEpoch` integer
- `updatedAtStartEpoch` integer
- `updatedAtEndEpoch` integer

## Response `200`

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
    - `shippingAddress` object
      - `firstName` string
      - `lastName` string
      - `phone` unknown
      - `company` unknown
      - `address1` string
      - `address2` unknown
      - `city` string
      - `zip` string
      - `provinceCode` string
      - `countryCode` string
    - `discountCodes` object[]
    - `customer` object
      - `id` integer
      - `shopifyId` integer
    - `subscription` object
      - `id` integer
      - `shopifyId` integer
    - `lines` object[]
      - `productShopifyId` integer
      - `variantShopifyId` integer
      - `productTitle` string
      - `variantTitle` string
      - `name` string
      - `sku` unknown
      - `quantity` integer
      - `price` integer
      - `isOneTime` boolean
      - `currentQuantity` integer
      - `customAttributes` object[]
    - `updatedAt` string
    - `isCheckoutOrder` boolean
    - `orderType` string
  - `code` string
  - `pageInfo` object
    - `hasNextPage` boolean
    - `hasPreviousPage` boolean

---

[API](https://skmtc.net/loopwork/apis/storefront-api.md) · [All operations](https://skmtc.net/loopwork/apis/storefront-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/loopwork/storefront-api/versions/1524500daa02/schema)
