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.

Games

Get a list of eligible, expired, and played games, such as Spin the Wheel, or Scratch card, for a loyalty program member, an account, or a contact.
Resource
1/game/participant/${participantId}/games
Resource Example
1https://yourInstance.salesforce.com/services/data/v68.0/game/participant/0lMRM0000004FHX2A2/games
1https://yourInstance.salesforce.com/services/data/v68.0/game/participant/0lMRM0000004FHX2A2/games?definitionId=3GDxx0000004CAeGAM
1https://yourInstance.salesforce.com/services/data/v68.0/game/participant/0lMRM0000004FHX2A2/games?gameParticipantRewardId=3PRSB0000000hjJ4AQ
Available version
60.0
HTTP methods
GET
Query parameters for GET
Parameter Name Type Description Required or Optional Available Version
definitionId String ID of the game definition associated with the game whose details are to be fetched. Optional 60.0
gameParticipantRewardId String ID of the participant's game reward associated with the game whose details are to be fetched. Optional 60.0
Response body for GET
Games List