Skip to main content
GET
/
subscriptions
/
cp
/
api
/
loyalty-integration
/
earn-options
Get available ways to earn loyalty points
curl --request GET \
  --url https://www.myshop.com/apps/subscriptions/cp/api/loyalty-integration/earn-options
[
  {
    "name": "Purchase Rewards",
    "description": "Earn 5 points for every $1 spent",
    "pointsAmount": 5,
    "action": "Make a purchase"
  },
  {
    "name": "Refer a Friend",
    "description": "Earn 500 points when your friend makes their first purchase",
    "pointsAmount": 500,
    "action": "Share referral link"
  }
]

Documentation Index

Fetch the complete documentation index at: https://appstleinc-aeca3e0a.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Query Parameters

customerId
string

Customer ID (optional, auto-detected from session)

Response

Earning options retrieved successfully