# Get available ways to earn loyalty points Returns all active point earning campaigns and rules that the customer can participate in. This shows customers how they can earn more points. Common Earning Methods: - Points per dollar spent on purchases - Bonus points for first subscription - Points for referring friends - Birthday bonus points - Social media follows (Instagram, Facebook, Twitter) - Product reviews - Account creation bonus Response includes: - Campaign name and description - Points awarded - Action required (e.g., 'Follow on Instagram') - Icon/image URL - Terms and conditions Use Cases: - Display 'Ways to Earn' section in customer portal - Show earning opportunities on product pages - Encourage customer engagement Authentication: Customer must be logged in via Shopify customer session Endpoint: GET /subscriptions/cp/api/loyalty-integration/earn-options Version: 0.0.1 ## Query parameters: - `customerId` (string) Customer ID (optional, auto-detected from session) ## Response 401 fields (*/*): - `id` (integer) - `type` (string) - `name` (string) - `createAt` (string) - `updateAt` (string) - `details` (string) - `reward_text` (string) - `productData` (string) - `basePoints` (integer) ## Response 200 fields