--- title: "Limit Coupon Usage Using Shopify's Customer Segmentation" slug: "limit-coupon-usage-using-shopifys-customer-segmentation" tags: ["Loyalty and Referrals", "Shopify Plus", "Shopify"] updated: 2024-04-02T11:32:03Z published: 2024-04-02T11:32:03Z canonical: "support.yotpo.com/limit-coupon-usage-using-shopifys-customer-segmentation" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.yotpo.com/llms.txt > Use this file to discover all available pages before exploring further. # Limit Coupon Usage Using Shopify's Customer Segmentation Products Loyalty & Referrals ###### Supported plans Premium, Enterprise ###### eCommerce Platform Shopify, Shopify Plus Shopify allows merchants to [create customer segments](https://help.shopify.com/en/manual/customers/customer-segmentation) based on a filtered search. This feature allows merchants to segment their customers, and then limit the usage of a discount code given via the Loyalty & Referrals program (either converted from points or rewarded for completing an action) to these predefined customer segments. ## Finding the segment ID After creating a customer segment, the new segment will appear in the Customers page of your Shopify admin. To view existing segments or create a new one, click the **All customers** dropdown on the top left.![](https://cdn.document360.io/f3c2ab59-fe4c-4f93-9614-2872f40e8aa7/Images/Documentation/34356d0e-1135-46d2-9f93-dfc587f968b8.png?sv=2026-02-06&spr=https&st=2026-11-04T21%3A25%3A31Z&se=2026-11-04T22%3A25%3A31Z&sr=c&sp=r&sig=HjgpK9jX3k005NeIEvKT52o8JoifxdMo8XiC7SyBTNk%3D)Once you click on the customer segment, you will see the segment ID at the end of the page URL. ## Using the customer segment ID to limit coupon usage Please note: This setting limits the usage of the coupon to **only customers that fit the customer segment filter.** If customers not in the segment get access to such a coupon, it will not work for them at checkout. To use the segment ID to limit the discount usage that was given through the Yotpo Loyalty & Referrals program, please follow these steps: 1. In your Yotpo Loyalty & Referrals admin, navigate to **Rewards** > **Redeeming Points** 2. Select **Customize** on the coupon you would like to limit the usage of: ![](https://cdn.document360.io/f3c2ab59-fe4c-4f93-9614-2872f40e8aa7/Images/Documentation/cb0b825b-e4ad-4a00-be47-6c9fe0242533.png?sv=2026-02-06&spr=https&st=2026-11-04T21%3A25%3A31Z&se=2026-11-04T22%3A25%3A31Z&sr=c&sp=r&sig=HjgpK9jX3k005NeIEvKT52o8JoifxdMo8XiC7SyBTNk%3D) 3. Scroll down and paste the segment ID into the **Only applies to these segment IDs** field. Please note: It's important to input the correct **segment ID** into the coupon settings in the admin, otherwise the generated codes will not be usable. 4. Save your changes