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
/- Track customer store visit
Update customer loyalty status
Update customer birth date
Sync customer metafield data
Submit product review
Send customer referral email
Redeem customer loyalty points
Enroll customer in loyalty program
Enable loyalty program for customer
Claim social media reward points
Generate customer referral URL
Accept referral offer (GET)
Accept referral offer (POST)
Get customer point transaction history
Get logged-in customer ID
Get customer referral history
Get customer loyalty information
Get product reviews by product ID
Track customer store visi...
Storefront APIs
Download OpenAPI description
Languages
Servers
https://loyalty-admin.appstle.com
- https://loyalty-admin.appstle.com/loyalty/cp/api/enable-loyalty-program
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://loyalty-admin.appstle.com/loyalty/cp/api/enable-loyalty-programResponse
application/json
"Customer added successfully."
Request
Records a customer store visit and potentially awards loyalty points based on the shop's visit reward rules. This endpoint is typically called when a customer visits the storefront or specific pages. Includes rate limiting protection to prevent abuse - customers can only earn visit points up to a configured limit per day/period. The endpoint enforces a request limit (default 500) to prevent excessive API calls.
- https://loyalty-admin.appstle.com/loyalty/cp/api/customer-visit-store
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://loyalty-admin.appstle.com/loyalty/cp/api/customer-visit-store