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
/- Get logged-in customer ID
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
Track customer store visit
Claim social media reward points
Generate customer referral URL
Accept referral offer (GET)
Accept referral offer (POST)
Get customer point transaction history
Get customer referral history
Get customer loyalty information
Get product reviews by product ID
Get logged-in customer ID
Storefront APIs
Download OpenAPI description
Languages
Servers
https://loyalty-admin.appstle.com
Request
Retrieves paginated list of point transactions for the authenticated customer, ordered by ID descending (most recent first). Each transaction includes details about points earned or spent, transaction type, status (PENDING, APPROVED, REJECTED), associated order information, and timestamps. Useful for displaying transaction history to customers.
- https://loyalty-admin.appstle.com/loyalty/cp/api/transaction-by-shop
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://loyalty-admin.appstle.com/loyalty/cp/api/transaction-by-shop?page=0&size=1&sort=string'Response
application/json
[ { "id": 12345, "shop": "example-store.myshopify.com", "customerId": 67890, "points": 50, "pointType": "EARNED", "note": "Points earned for purchase", "status": "APPROVED", "transactionRule": "ORDER_PLACED", "createAt": "2025-01-15T10:30:00Z", "spentAmount": 99.99 } ]
- https://loyalty-admin.appstle.com/loyalty/cp/api/logged-in-customer
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://loyalty-admin.appstle.com/loyalty/cp/api/logged-in-customerResponse
application/json
12345
- https://loyalty-admin.appstle.com/loyalty/cp/api/customer-referrals
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://loyalty-admin.appstle.com/loyalty/cp/api/customer-referrals?page=0&size=1&sort=string'Response
application/json
[ { "id": 12345, "shop": "example-store.myshopify.com", "customerId": 67890, "referredEmailId": "friend@example.com", "description": "Referred friend via email", "referralRuleId": 1, "status": "PENDING", "createAt": "2025-01-15T10:30:00Z" } ]