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.
Promotion Enrollment (POST)
Enrolls a customer in an enrollment-eligible promotion.
- Resource
-
1/global-promotions-management/promotion-enrollments - Resource example
-
1https://yourInstance.salesforce.com/services/data/v68.0/global-promotions-management/promotion-enrollments - Available version
- 67.0
- HTTP methods
- POST
- Request body for POST
-
- JSON example
-
1{ 2 "inputParameters": [ 3 { 4 "contact": { 5 "id": "003xx000004TmiQAAS", 6 "lastName": "Diaz", 7 "email": "diaz@example.com" 8 }, 9 "promotion": { 10 "id": "0cDxx0000004ABC", 11 "code": "PROMO-1001" 12 }, 13 "enrollmentOffer": { 14 "id": "0kWxx0000007XYZ", 15 "code": "OFFER-101" 16 }, 17 "enrollmentEffectiveDateTime": "2026-05-01T00:00:00Z", 18 "enrollmentExpirationDateTime": "2026-05-31T23:59:59Z" 19 } 20 ] 21} - Properties
-
Name Type Description Required or Optional Available Version inputParameters Enrollment Details Input[] Details of the customer for the promotion enrollment request. Required 67.0
- Response body for POST
- Promotion Enrollment