Skip to main content

Casa Loyalty External API — Developer Reference

Public API endpoints for integrating Casa Loyalty data into external apps, headless storefronts, or custom tools. Includes customer data, rewards, earning rules, and activity.

Written by Ateeb

Casa Loyalty provides a set of public API endpoints that allow you to read loyalty data from external applications, headless storefronts, or custom tools.

⚠️ These are read-only GET endpoints. They are intended for displaying loyalty data externally, not for triggering events or modifying customer records.


Base URL

All endpoints are relative to your store's Shopify domain:

https://[your-store].myshopify.com


Available Endpoints

Get Available Rewards

GET /api/external/rewards

Returns the list of active rewards available in your loyalty program.


Get Customer Data

GET /api/external/customer?email=CUSTOMER_EMAIL

Returns a customer's loyalty data including:

  • Current points balance

  • VIP tier (if applicable)

  • Referral details


Get Customer Order History

GET /api/external/customer/orders?email=CUSTOMER_EMAIL

Returns the loyalty-related order history for a specific customer.


Get Customer Activity

GET /api/external/customer/activity?email=CUSTOMER_EMAIL

Returns a customer's full activity log — points earned, rewards redeemed, etc.


Get Earning Rules

GET /api/external/earning-rules

Returns the configured earning rules for your loyalty program (e.g., points per dollar, signup bonus, etc.).


⚠️ Internal Endpoints (Not for External Use)

The following endpoints are used internally by the Casa Loyalty app and are not part of the public API. Do not integrate with these directly:

  • /apps/casa-loyalty/get-widget-data

  • /apps/casa-loyalty/landing

  • /apps/casa-loyalty/redeem-reward

These endpoints may change without notice and are not intended for third-party use.


Need Help?

If you're a developer building a custom integration and need assistance, reach out to our support team and we'll help you get set up.

Did this answer your question?