Customer-facing loyalty program APIs for storefront operations. These endpoints allow customers to manage their loyalty account, earn and redeem points, submit reviews, handle referrals, and track their rewards. All endpoints require customer authentication via JWT token.
Storefront APIs
Download OpenAPI description
Languages
Servers
https://loyalty-admin.appstle.com
Request
Updates the loyalty program status for the authenticated customer. Allows customers to opt-in, opt-out, or exclude themselves from the loyalty program. Status changes are logged in the activity log with appropriate event types (CUSTOMER_EXCLUDED, CUSTOMER_INCLUDED). When a customer is excluded, they stop earning points but retain existing points and rewards.
- https://loyalty-admin.appstle.com/loyalty/cp/api/update-customer-status
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://loyalty-admin.appstle.com/loyalty/cp/api/update-customer-status \
-H 'Content-Type: application/json' \
-d '{
"customerId": 0,
"dob": "2026-01-12",
"status": "ACTIVE"
}'Response
application/json
{ "id": 0, "shop": "string", "customerId": 0, "firstName": "string", "lastName": "string", "email": "string", "status": "ACTIVE", "createAt": "2019-08-24T14:15:22Z", "dob": "2019-08-24", "enableEmail": true, "token": "string", "redeemLimit": 0, "redeemLimitOnce": 0, "vipTier": "string", "vipTierId": 0, "vipTierSummary": "string", "availablePoints": 0.1, "pendingPoints": 0.1, "displayName": "string", "vipTierExpiredAt": "2019-08-24T14:15:22Z", "spentAmount": 0.1, "lastActivity": "2019-08-24T14:15:22Z", "ordersCount": 0, "lastMonthlyReminderSentDate": "2019-08-24T14:15:22Z", "redeemedPoints": 0.1, "lastRewardExpiryReminderSentDate": "2019-08-24T14:15:22Z", "vipAssignType": "MANUAL", "phone": "string", "loyaltyProgramEnabled": true, "emailSetting": "string", "skipReview": true, "updatedSettings": "string", "storeCreditAccountId": "string", "emailBouncedOrFailed": true, "availableStoreCredits": 0.1, "isDeletedFromShopify": true, "enableEmailMarketing": true, "enableSmsMarketing": true, "tags": "string", "vipTierAmount": 0.1 }
- https://loyalty-admin.appstle.com/loyalty/cp/api/update-customer-birth-date
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://loyalty-admin.appstle.com/loyalty/cp/api/update-customer-birth-date \
-H 'Content-Type: application/json' \
-d '{
"customerId": 0,
"dob": "2026-01-12",
"status": "ACTIVE"
}'Response
application/json
{ "id": 0, "shop": "string", "customerId": 0, "firstName": "string", "lastName": "string", "email": "string", "status": "ACTIVE", "createAt": "2019-08-24T14:15:22Z", "dob": "2019-08-24", "enableEmail": true, "token": "string", "redeemLimit": 0, "redeemLimitOnce": 0, "vipTier": "string", "vipTierId": 0, "vipTierSummary": "string", "availablePoints": 0.1, "pendingPoints": 0.1, "displayName": "string", "vipTierExpiredAt": "2019-08-24T14:15:22Z", "spentAmount": 0.1, "lastActivity": "2019-08-24T14:15:22Z", "ordersCount": 0, "lastMonthlyReminderSentDate": "2019-08-24T14:15:22Z", "redeemedPoints": 0.1, "lastRewardExpiryReminderSentDate": "2019-08-24T14:15:22Z", "vipAssignType": "MANUAL", "phone": "string", "loyaltyProgramEnabled": true, "emailSetting": "string", "skipReview": true, "updatedSettings": "string", "storeCreditAccountId": "string", "emailBouncedOrFailed": true, "availableStoreCredits": 0.1, "isDeletedFromShopify": true, "enableEmailMarketing": true, "enableSmsMarketing": true, "tags": "string", "vipTierAmount": 0.1 }
- https://loyalty-admin.appstle.com/loyalty/cp/api/update-customer
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://loyalty-admin.appstle.com/loyalty/cp/api/update-customer