v2

latestOpenAPI 3.1.02026-08-01244220427.0 KB
Loyalty

Update Loyalty Program Customer Points

Add Reward Points to Customer Account

Adds a specified number of reward points to a customer's account within a loyalty program.

Path Parameters:

  • programId: UUID of the loyalty program
  • customerId: UUID of the customer

Request Body:

  • points: Number of points to add

Returns:

  • Updated customer details with new points total as a JSON object.
post/v2/loyalty/programs/{programId}/customers/{customerId}/points/add

Path parameters

string required
OR
string required
Example:5eb7cf5a86d9755df3a6c593
string required
OR
string required
Example:5eb7cf5a86d9755df3a6c593

Headers

authorizationstring nullable

Request body

pointsinteger required

Response

Successful Response

{"stackTrail":"paths:/v2/loyalty/programs/{programId}/customers/{customerId}/points/add:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}