tag:support.getcheddar.com,2009-06-01:/discussions/problems/9881-fetch-user-who-used-promocodeCheddar: Discussion 2018-07-11T15:19:15Ztag:support.getcheddar.com,2009-06-01:Comment/455890002018-06-29T12:51:22Z2018-06-29T13:05:38Zfetch user who used promocode<div><p>I want to fetch user who used promocode while subscribing but i'm not able to fetch number of user who used promocode<br>
I am trying to used by php SDK</p></div>jayeshtag:support.getcheddar.com,2009-06-01:Comment/455890002018-06-29T14:41:08Z2018-06-29T14:41:08Zfetch user who used promocode<div><p>Hi Jayesh,</p>
<p>There are a couple of ways to find all users who've used a promo code. In the UI, you can go into the <a href="https://www.getcheddar.com/admin/customers/search">Customers Search</a>, and in the Advanced menu, there's a field for Coupon Code. You can enter the redemption code for the promo there and you'll see all the customers who have used it.</p>
<p>Via the API, you can look at the response of a <code>customers/get</code> call. Any customer that applied a promo code will have the promotion data listed in a <code>promotions</code> node in the response.</p>
<p>Hope this helps! Let me know if you have any other questions.</p></div>Marcela Poffald