Loading
Slack製品の問い合わせ先はSalesforce Helpへ統合・変更されます続きを読む
PHPの脆弱性に関する監視状況について 続きを読む
Partner Cloud
Partner Cloud | Get Referral Codes

Partner Cloud | Get Referral Codes

Retrieves the referral codes associated with a user's contact. Use this action when a user wants to apply a referral code during deal registration. This action returns a list of referral codes including code name, description, and relevant details that the user can select from.

Action Details

API Name GetReferralCodes
Loading Text Fetching referral codes

Inputs

Label API Name Description
Contact ID contactId The ID of the partner user whose referral codes are to be retrieved.

Mapped to Variable: Contact ID

Outputs

Label API Name Description
Lead Record Types leadRecordTypes A JSON string of referral code objects available to the user's contact. Each object contains referralCode (the code string to apply to the Lead), programName (name of the loyalty program the code belongs to), expirationDate (ISO date string of when the code expires, empty if no expiration), voucherType (type of voucher, for example, FixedValue, DiscountPercentage, ProductService), and incentiveDescription (human-readable description of the benefit). Only includes codes whose voucher EffectiveDate is on or after today and haven't yet expired. Present these to the user so they can select one to apply to the lead.
 
読み込み中
Salesforce Help | Article