Points & Earn Rules
Track customer store visit
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.
post/loyalty/cp/api/customer-visit-store
Request
- Base URLhttps://your-store.myshopify.com/apps
- URLhttps://your-store.myshopify.com/apps/loyalty/cp/api/customer-visit-store
- Authnone declared
Response
Store visit recorded successfully
Changes
No recorded changes to this operation across all 14 revisions of this API.