v2

latestOpenAPI 3.1.02026-08-01244220427.0 KB
Loyalty

Update Loyalty Program Customer

Update Loyalty Program Customer

Updates details of a specific customer within a loyalty program.

Path Parameters:

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

Request Body:

  • data: Updated customer data

Returns:

  • Updated customer details as a JSON object.
put/v2/loyalty/programs/{programId}/customers/{customerId}

Path parameters

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

Headers

authorizationstring nullable

Request body

firstNamestring nullable
lastNamestring nullable
phonestring phone nullable
pointsinteger
currentMessagestring nullable
customFieldsobject nullable

Response

Successful Response

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