Skip to main content

Discount API Settings — Casa Loyalty

The Discount API setting controls how discount codes are generated when customers redeem loyalty rewards. Learn when and why to change it.

Written by Ateeb

Overview

The Discount API setting (Casa Loyalty → Settings → Discount API) controls how discount codes are generated when customers redeem loyalty rewards. Choosing the right method ensures discounts apply correctly at checkout for your store's setup.


How to Access

  1. Open the Casa Loyalty app from your Shopify admin.

  2. Click Settings in the left menu.

  3. Click the Discount API card.


Why It Matters

When a customer redeems points for a reward (e.g. a percentage-off coupon), Casa Loyalty generates a Shopify discount code behind the scenes. The Discount API setting determines which Shopify API method is used to create that code. Depending on your Shopify plan and any third-party discount apps you use, one method may work better than another.

If customers are reporting that their reward codes aren't applying at checkout, or if you're using Shopify Functions for discounts, changing this setting may resolve the issue.


Note

If you're unsure which setting to use, contact our support team — we can check your store configuration and recommend the correct method.

Did this answer your question?