Name | Type | Description | Notes |
---|---|---|---|
startDate | OffsetDateTime | Timestamp at which point the referral code becomes valid. | [optional] |
expiryDate | OffsetDateTime | Expiration date of the referral code. Referral never expires if this is omitted, zero, or negative. | [optional] |
usageLimit | Integer | The number of times a referral code can be used. `0` means no limit but any campaign usage limits will still apply. | |
campaignId | Integer | The ID of the campaign from which the referral received the referral code. | |
advocateProfileIntegrationIds | List<String> | An array containing all the respective advocate profiles. | |
attributes | Object | Arbitrary properties associated with this referral code. | [optional] |
validCharacters | List<String> | List of characters used to generate the random parts of a code. By default, the list of characters is equivalent to the `[A-Z, 0-9]` regular expression. | [optional] |
referralPattern | String | The pattern used to generate referrals. The character `#` is a placeholder and is replaced by a random character from the `validCharacters` set. | [optional] |