# Finding a loyalty reward coupon by its code

**URL:** <https://forum.wixstudio.com/t/finding-a-loyalty-reward-coupon-by-its-code/69818>\
**Category:** Ask the community\
**Tags:** wix-loyalty-v2, wix-loyalty-program, wix-members-area, question, code\
**Created:** [March 23, 2025, 12:44pm UTC](https://forum.wixstudio.com/t/finding-a-loyalty-reward-coupon-by-its-code/69818 "2025-03-23T12:44:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Baksheesh](https://avatars.discourse-cdn.com/v4/letter/b/71c47a/32.png) [@Baksheesh](https://forum.wixstudio.com/u/Baksheesh)\
**Post date:** [March 23, 2025, 12:44pm UTC](https://forum.wixstudio.com/t/finding-a-loyalty-reward-coupon-by-its-code/69818/1 "2025-03-23T12:44:24Z")

</div>

I’ve built my own checkout and custom promo code system which is working fine. But I also want to integrate the Wix loyalty app to allow our site members to use their redeemed loyalty coupons at checkout, ie. having earned enough loyalty points they cashed them in for a reward and received a reference coupon with a unique Wix-generated code such as 6TLA4SKDC85Z. By entering this one-time-use code at checkout, they get a % discount.

I’ve read thru the [loyalty coupon API](https://dev.wix.com/docs/rest/crm/loyalty-program/coupons/introduction) documentation, and it seems fairly straightforward to find a coupon by its ID or the member ID. But how do I find the individual coupon by the code a site visitor has entered, 6TLA4SKDC85Z in this case?

And how to then let Wix know that the coupon has been used?

---

<div class="post-metadata">

**Author:** ![Baksheesh](https://avatars.discourse-cdn.com/v4/letter/b/71c47a/32.png) [@Baksheesh](https://forum.wixstudio.com/u/Baksheesh)\
**Post date:** [May 9, 2025, 10:11am UTC](https://forum.wixstudio.com/t/finding-a-loyalty-reward-coupon-by-its-code/69818/3 "2025-05-09T10:11:53Z")

</div>

Still stuck on querying and updating a reference loyalty coupon as used. The only similar [example](https://dev.wix.com/docs/rest/business-management/marketing/coupons/coupons/query-coupons) I could find requires authenticating then posting to a Wix Cart URL. But I’m not using a cart.
