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://YOUR_INSTANCE.salesforce.com/services/data/v68.0/game/participant/0lMRM0000004FHX2A2/games
1https://YOUR_INSTANCE.salesforce.com/services/data/v68.0/game/participant/0lMRM0000004FHX2A2/games?definitionId=3GDxx0000004CAeGAM
1https://YOUR_INSTANCE.salesforce.com/services/data/v68.0/game/participant/0lMRM0000004FHX2A2/games?gameParticipantRewardId=3PRSB0000000hjJ4AQ

Available Version 

60.0

HTTP Methods 

GET

Query Parameters for GET 

Parameter NameTypeDescriptionRequired or OptionalAvailable Version
definitionIdStringID of the game definition associated with the game whose details are to be fetched.Optional60.0
gameParticipantRewardIdStringID of the participant’s game reward associated with the game whose details are to be fetched.Optional60.0

Response Body for GET 

Games List