Read all past orders

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

get/2026-04/orders

Request

  • Base URL
    https://api.loopsubscriptions.com/admin
  • URL
    https://api.loopsubscriptions.com/admin/2026-04/orders
  • Auth
    API key in header X-Loop-Token

Query parameters

shopifyCreatedAtStartEpochinteger

Start date epoch for filter based on order shopifyCreatedAt date.

shopifyCreatedAtEndEpochinteger

End date epoch for filter based on order shopifyCreatedAt date.

afterCursorstring

The cursor returned in the previous response. Use the nextCursor value from that response to fetch the next page of results.

pageSizeinteger

The number of records to return per page.

billingDateStartEpochinteger

Start date epoch for filtering based on the order's billingDate

billingDateEndEpochinteger

End date epoch for filtering based on the order's billingDate

updatedAtStartEpochinteger

Start date epoch for filter based on order updationAt date

updatedAtEndEpochinteger

End date epoch for filter based on order updationAt date

Response

Orders fetched successfully

successboolean
messagestring
codestring

Example response

{
  "success": true,
  "message": "Orders fetched successfully",
  "data": [
    {
      "id": 343867858,
      "shopifyId": 6667373543483,
      "status": "PROCESSED",
      "billingDateEpoch": 1787218541,
      "financialStatus": "paid",
      "shopifyCreatedAt": "2026-08-20T09:35:44.000Z",
      "shopifyProcessedAt": "2026-08-20T09:35:42.000Z",
      "shopifyUpdatedAt": "2026-08-20T09:35:45.000Z",
      "currencyCode": "USD",
      "totalPriceUsd": "480",
      "totalDiscount": "0.00",
      "totalLineItemsPrice": "480.00",
      "totalShippingPrice": "0.00",
      "shopifyOrderNumber": 1022,
      "totalPrice": "480.00",
      "totalTax": "0.00",
      "shippingAddress": {
        "firstName": "Devesh",
        "lastName": "Khilnani",
        "address1": "Householder Ln",
        "city": "Mc Connellstown",
        "zip": "16660",
        "provinceCode": "PA",
        "countryCode": "US"
      },
      "customer": {
        "id": 667585053,
        "shopifyId": 8333934723131
      },
      "subscription": {
        "id": 34978547,
        "shopifyId": 62561157179
      },
      "lines": [
        {
          "productShopifyId": 7685649104955,
          "variantShopifyId": 43709258694715,
          "productTitle": "The Collection Snowboard: Hydrogen",
          "name": "The Collection Snowboard: Hydrogen",
          "quantity": 1,
          "price": 480,
          "currentQuantity": 1
        }
      ],
      "updatedAt": "2026-08-20T09:35:48.000Z",
      "orderType": "RECURRING"
    }
  ],
  "code": "SUCCESS"
}

Changes

No recorded changes to this operation across all 1 revision of this API.