Award points to a customer.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Your internal ID

Body Params
integer
> 0

The number of points to award to the customer. This is required if you are not passing an earn rule ID. If an earn rule ID is passed, this field will override points awarded.

string

A brief summary of why the customer is being awarded points

string

The ID of the earn rule that is being used to award points. This is optional, but if included, it will be used to determine the points awarded.

boolean

If set to false, the lastSeenAt timestamp will remain unchanged. The lastSeenAt timestamp controls which a customer's pointBalance will expire. If not set, this value will default to the value set within earn rule settings. If no earnRuleId is provided, the default will be true.

Responses

404

Customer not found

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json