get https://loyalty.yotpo.com/api/v2/redemption_codes
This endpoint lets you fetch the email address of a customer who redeemed a discount by providing a third party_id
or the discount code
. This enables merchants to validate (at checkout) if the shopper placing the order is different than the shopper who redeemed and used the discount.
You must pass either a third_party_id
or a discount code
.