---
schema_version: "1"
id: bd76b2b8c8955138ebbc7f15bcb0171626b85af0a7bfccd69917f8b549ccdf69
title: ConnectApi.CouponCodeRedemptionInput
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_coupon_code_redemption.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_coupon_code_redemption.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: f5029e354c4a8deb13fb62b11612f45ec98407b88e91abea26861bbfde6334fb
description: Input representation for coupon code redemption.
---
# ConnectApi.CouponCodeRedemptionInput

Input representation for coupon code redemption.

| Property | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| buyer | String | ID of the buyer account or email address for a guest user. | Required | 60.0 |
| couponCodes | [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<String\> | List of coupon codes. | Required | 58.0 |
| effectiveAccountId | String | ID of the account. | Required | 58.0–59.0 |
| transactionId | String | ID of the transaction, which must be a valid cart ID. | Required | 58.0 |