curl --request GET \
--url https://loyalty-admin.appstle.com/api/external/customer-loyalty \
--header 'X-API-Key: <x-api-key>'{
"availablePoints": 250,
"pendingPoints": 50,
"creditedPoints": 500,
"spentAmount": 1250.99,
"storeCreditBalance": 25,
"currentVipTier": "Gold",
"vipTierExpiredAt": "2025-12-31T23:59:59Z",
"achievableTierId": 2,
"createAt": "2024-01-15T10:00:00Z",
"rewardedForFacebook": true,
"rewardedForInstagram": false,
"rewardedForTwitter": false,
"rewardedForPinterest": false,
"rewardedForYoutube": false,
"rewardedForTiktok": false,
"rewardedForNewsLetter": true,
"rewardedForSms": false,
"rewardedForCreatingAccount": true,
"rewardedForSharingOnFacebook": false,
"rewardedForSharingOnX": false,
"referredCompleted": 3,
"referralLink": "https://yourstore.com/r/abc123",
"customerStatus": "ACTIVE",
"dob": "1990-05-15",
"rewards": [
{
"id": 12345,
"discountCode": "LOYALTY10OFF",
"discountType": "PERCENTAGE",
"discountValue": 10,
"status": "UNUSED",
"expiryDate": "2025-06-30T23:59:59Z",
"pointsRedeemed": 100
}
]
}Documentation Index
Fetch the complete documentation index at: https://developers.appstle.com/llms.txt
Use this file to discover all available pages before exploring further.
API key for authentication
Shopify customer ID (optional if customerEmail provided)
Customer email address (optional if customerId provided)
Filter rewards by status (comma-separated: ACTIVE, USED, UNUSED)
Successfully retrieved customer loyalty details
ACTIVE, INACTIVE, EXCLUDED, EXCLUDED_BY_CUSTOMER Show child attributes
curl --request GET \
--url https://loyalty-admin.appstle.com/api/external/customer-loyalty \
--header 'X-API-Key: <x-api-key>'{
"availablePoints": 250,
"pendingPoints": 50,
"creditedPoints": 500,
"spentAmount": 1250.99,
"storeCreditBalance": 25,
"currentVipTier": "Gold",
"vipTierExpiredAt": "2025-12-31T23:59:59Z",
"achievableTierId": 2,
"createAt": "2024-01-15T10:00:00Z",
"rewardedForFacebook": true,
"rewardedForInstagram": false,
"rewardedForTwitter": false,
"rewardedForPinterest": false,
"rewardedForYoutube": false,
"rewardedForTiktok": false,
"rewardedForNewsLetter": true,
"rewardedForSms": false,
"rewardedForCreatingAccount": true,
"rewardedForSharingOnFacebook": false,
"rewardedForSharingOnX": false,
"referredCompleted": 3,
"referralLink": "https://yourstore.com/r/abc123",
"customerStatus": "ACTIVE",
"dob": "1990-05-15",
"rewards": [
{
"id": 12345,
"discountCode": "LOYALTY10OFF",
"discountType": "PERCENTAGE",
"discountValue": 10,
"status": "UNUSED",
"expiryDate": "2025-06-30T23:59:59Z",
"pointsRedeemed": 100
}
]
}