{
  "success": true,
  "customer": {
    "id": "gid://shopify/Customer/123",
    "email": "customer@example.com"
  },
  "loyalty": {
    "info": {
      "barcode": "10001000000000465606",
      "currentPoints": 248,
      "tier": {
        "current": "GOLD",
        "name": "Gold Member",
        "benefits": ["10% extra points", "Free shipping"]
      },
      "nextTier": {
        "name": "PLATINUM",
        "pointsRequired": 500,
        "pointsToNext": 252
      },
      "expiringPoints": {
        "amount": 50,
        "date": "2025-12-31"
      },
      "lifetime": {
        "pointsEarned": 1548,
        "pointsSpent": 1300
      }
    },
    "promotions": [
      {
        "id": 58019,
        "name": "Sconto Compleanno",
        "description": "20% di sconto nel mese del compleanno",
        "type": "PERSONAL",
        "validFrom": "2025-07-01",
        "validTo": "2025-07-31",
        "couponCode": "BDAY20",
        "imageUrl": "https://cdn.example.com/promo/bday.jpg",
        "terms": ["Non cumulabile", "Minimo €30"]
      },
      {
        "id": 58020,
        "name": "Riscatta 200 punti",
        "description": "Ottieni €10 di sconto",
        "type": "POINTS_REDEMPTION",
        "pointsRequired": 200,
        "value": 10.00,
        "available": true
      }
    ],
    "movements": {
      "items": [
        {
          "id": 233458798,
          "date": "2025-07-01T16:48:01.053Z",
          "type": "PURCHASE",
          "points": 48,
          "description": "Acquisto online #1001",
          "orderId": "gid://shopify/Order/1001",
          "shopCode": "WEB",
          "balanceAfter": 248
        },
        {
          "id": 233458797,
          "date": "2025-06-28T10:30:00.000Z",
          "type": "REDEMPTION",
          "points": -200,
          "description": "Riscatto buono €10",
          "couponCode": "POINTS10",
          "balanceAfter": 200
        },
        {
          "id": 233458798,
          "date": "2025-07-01T16:48:01.053Z",
          "type": "PURCHASE",
          "points": 48,
          "description": "Acquisto online #1001",
          "orderId": "gid://shopify/Order/1001",
          "shopCode": "WEB",
          "balanceAfter": 248
        },
        {
          "id": 233458798,
          "date": "2025-07-01T16:48:01.053Z",
          "type": "PURCHASE",
          "points": 48,
          "description": "Acquisto online #1001",
          "orderId": "gid://shopify/Order/1001",
          "shopCode": "WEB",
          "balanceAfter": 248
        },
        {
          "id": 233458798,
          "date": "2025-07-03T16:48:01.053Z",
          "type": "PURCHASE",
          "points": 48,
          "description": "Acquisto online #1001",
          "orderId": "gid://shopify/Order/1001",
          "shopCode": "WEB",
          "balanceAfter": 248
        },
        {
          "id": 233458798,
          "date": "2025-07-02T16:48:01.053Z",
          "type": "PURCHASE",
          "points": 48,
          "description": "Acquisto online #1001",
          "orderId": "gid://shopify/Order/1001",
          "shopCode": "WEB",
          "balanceAfter": 248
        },
        {
          "id": 233458798,
          "date": "2025-07-02T16:48:01.053Z",
          "type": "PURCHASE",
          "points": 48,
          "description": "Acquisto online #1001",
          "orderId": "gid://shopify/Order/1001",
          "shopCode": "WEB",
          "balanceAfter": 248
        }
      ],
      "pagination": {
        "page": 1,
        "limit": 20,
        "total": 156,
        "totalPages": 8,
        "hasNext": true,
        "hasPrev": false
      }
    }
  },
  "performance": {
    "responseTime": 125,
    "cached": true,
    "cacheKeys": [
      "loyalty:info:123",
      "loyalty:promos:123", 
      "loyalty:movements:123:1"
    ]
  }
}