From Dev.to
A Refund Changed the Customer’s Eligibility. How Does the API Know?
A customer has Gold membership and three completed purchases. That's enough to qualify for a rewards offer. Then one of those purchases is refunded. The business decision has changed. But what happens...
