Get Member's Active Segments
For more information about how the getMemberActiveSegments action can be used to process transaction journals and apply promotions, see Get a List of Member's Active Segments for a Member in Salesforce Help.
This action is available in API version 55.0 and later for users in orgs where either B2C - Loyalty, B2C - Loyalty Plus, Loyalty Management - Growth, or Loyalty Management - Plus license and Data Cloud are enabled.
Supported REST HTTP Methods
- URI
- /services/data/vXX.X/actions/standard/getMemberActiveSegments
- Formats
- JSON, XML
- HTTP Methods
- POST
- Authentication
- Authorization: Bearer token
Inputs
Input | Details |
---|---|
loyaltyProgramMemberID |
|
segmentIds |
|
Outputs
Output | Details |
---|---|
memberSegmentIDs |
|
Example
Sample Request
{
"inputs": [ {
"loyaltyProgramMemberID":"0lVxx000000016GMAQ"
} ]
}
Sample Response
{
"errors":null,
"isSuccess":true,
"outputValues":{
"memberSegmentIDs":"0lvxx00004000001AAB"}
}
}