Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ConnectApi.CouponCodeRedemptionResult

Coupon code redemption result.
Property Name Type Description Available Version
availableRedemptions Integer Number of coupon code redemptions available. 58.0
couponCode String Coupon code. 58.0
errorMsg String Error message when coupon code redemption isn’t successful. 58.0
isSuccess Boolean Specifies whether increasing or decreasing the coupon code redemption is successful (true) or not (false). 58.0
redemptionLimit Integer Number of coupon code redemptions allowed. 58.0