Set Points

Set the points of a specific user

Point Definition
Select required
Default:
None

Choose the point definition you want to set points for

User
Select required
Default:
None

The username of the user you want to set points for (supports variables)

platform
String required
Default:
%userType%

The platform of the user you want to set points for (supports variables)

Amount
number required
Default:
0

The amount of points to set for the user (supports variables)

Destination Variable
String
Default:
userPoints

The argument variable name to store the users points after setting (supports variables)

public bool SetPoints(string userName, Platform platform, Guid pointId, long amount)
Read more in API > C# > Methods > Core > Points > Users > Set Points