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.

Enrollment Details Input

Details required to enroll a customer in a promotion.
JSON example
1{
2  "account": {
3    "id": "001xx000003DHPQAA4"
4  },
5  "promotion": {
6    "id": "0cDxx0000004ABC",
7    "code": "PROMO-1001"
8  },
9  "enrollmentOffer": {
10    "id": "0kWxx0000007XYZ",
11    "code": "OFFER-101"
12  },
13  "enrollmentEffectiveDateTime": "2026-05-01T00:00:00Z",
14  "enrollmentExpirationDateTime": "2026-05-31T23:59:59Z"
15}
Properties
Name Type Description Required or Optional Available Version
account Account Identifier Input Details of the account to enroll in the promotion. Required if contact isn't provided 67.0
contact Contact Identifier Input Contact details for the enrollment request. Required if account isn't provided 67.0
enrollmentEffectiveDateTime DateTime Start date and time of the promotion enrollment. Optional 67.0
enrollmentExpirationDateTime DateTime Expiration date and time of the promotion enrollment. Optional 67.0
enrollmentOffer Offer Identifier Input Offer associated with the promotion enrollment. Optional 67.0
promotion Promotion Identifier Input Details of the promotion the customer is being enrolled in. Required 67.0