post https://api.trifft.io/v1/member//coupon/redeem
This endpoint allows redeem a coupon on a member account.
The client must provide at least one identifier to specify the coupon to be redeemed:
- a user-specific coupon ID (user_coupon_id)
- a general coupon ID (coupon_id)
- or a coupon code (coupon_code, such as a barcode or QR code)
The server will attempt to locate and redeem the correct coupon based on the provided input.
If multiple identifiers are provided, the user_coupon_id
takes precedence, followed by the coupon_code
, and finally the coupon_id
.