List order history

This endpoint allows to retrive a list of past orders of a specific subscription contract.

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

Request

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

Path parameters

subscriptionIdinteger required

The loop subscriptionId for which the order history has to be fetched

Response

Order history fetched successfully

successboolean
messagestring
codestring
pageInfounknown

Example response

{
  "success": true,
  "message": "Order history fetched successfully",
  "data": [
    {
      "id": 63774628,
      "shopifyId": 5808406954293,
      "status": "PROCESSED",
      "billingDate": "2024-01-12T05:00:46.000Z",
      "financialStatus": "paid",
      "shopifyCreatedAt": "2023-11-03T00:43:04.000Z",
      "shopifyProcessedAt": "2023-11-03T00:43:04.000Z",
      "shopifyUpdatedAt": "2023-11-03T00:43:08.000Z",
      "currencyCode": "USD",
      "totalPriceUsd": "77.92",
      "totalDiscount": "7.35",
      "totalLineItemsPrice": "54.05",
      "totalShippingPrice": "22.82",
      "shopifyOrderNumber": 2292,
      "lines": [
        {
          "productShopifyId": 8441396035893,
          "variantShopifyId": 45715132481845,
          "name": "Zero product",
          "productTitle": "Zero product",
          "quantity": 1
        }
      ],
      "shippingAddress": {
        "name": "Gautam Nirala",
        "city": "Delhi",
        "zip": "110009",
        "address1": "2346 Hudson Lane GTB Nagar",
        "provinceCode": "DL",
        "countryCode": "IN"
      }
    }
  ],
  "code": "SUCCESS"
}

Changes

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