List order history

Changed on

This endpoint allows you to retrieve the complete order history for a specific subscription, including their statuses and details.

get/2026-04/subscription/{subscriptionId}/order/history

Request

  • Base URL
    https://api.loopsubscriptions.com/storefront
  • URL
    https://api.loopsubscriptions.com/storefront/2026-04/subscription/{subscriptionId}/order/history
  • Auth
    API key in header Authorization

Path parameters

subscriptionIdinteger required

The unique identifier for a subscription in Loop.

Response

Order history fetched successfully

successboolean
messagestring
codestring

Example response

{
  "success": true,
  "message": "Order history fetched successfully",
  "data": [
    {
      "id": 63892058,
      "shopifyId": 5806745583925,
      "status": "PROCESSED",
      "billingDate": "2023-11-01T22:25:46.000Z",
      "financialStatus": "paid",
      "shopifyCreatedAt": "2023-11-01T22:25:49.000Z",
      "shopifyProcessedAt": "2023-11-01T22:25:49.000Z",
      "shopifyUpdatedAt": "2023-11-01T22:25:52.000Z",
      "currencyCode": "USD",
      "totalPriceUsd": "31.86",
      "totalDiscount": "3.00",
      "totalLineItemsPrice": "30.00",
      "totalShippingPrice": "0.00",
      "shopifyOrderNumber": 2274,
      "lines": [
        {
          "productShopifyId": 8353507115317,
          "variantShopifyId": 45306180829493,
          "name": "aged-river - black / rubber",
          "productTitle": "aged-river",
          "variantTitle": "black / rubber",
          "price": 30,
          "quantity": 1
        }
      ],
      "shippingAddress": {
        "name": "Manas Oswal",
        "city": "Pune",
        "zip": "411002",
        "address1": "Pune",
        "address2": "Pune",
        "provinceCode": "MH",
        "countryCode": "IN"
      }
    }
  ],
  "code": "SUCCESS"
}

Changes