Inventory events

This endpoint allows you to retrieve subscription data for which an inventory action has taken place.

get/2026-04/inventoryAction

Request

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

Query parameters

afterCursorstring

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

pageSizeinteger
inventoryAction'DELAYED' | 'SKIPPED' | 'PARTIAL_BILLED'
createdAtStartEpochinteger
createdAtEndEpochinteger

Response

Inventory Events fetched successfully

successboolean
messagestring
codestring

Example response

{
  "success": true,
  "message": "Inventory Events fetched successfully",
  "data": [
    {
      "subscription": {
        "id": 5703340,
        "shopifyId": 29944971443
      },
      "order": {
        "id": 49290877,
        "billingDate": "2025-04-07T19:05:00.000Z"
      },
      "inventoryAction": "PARTIALLY_BILLED",
      "storeCurrencyActualSubtotal": 739.95,
      "storeCurrencyBilledSubtotal": 10,
      "lineItemList": [
        {
          "id": 19382034,
          "name": "Gift Card - $10",
          "quantity": 1,
          "productTitle": "Gift Card",
          "variantTitle": "$10",
          "discountedPrice": 10,
          "productShopifyId": 8171909218483,
          "variantShopifyId": 44411542077619,
          "storeCurrencyDiscountedPrice": 10
        }
      ]
    }
  ],
  "code": "SUCCESS"
}

Changes

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