Add points to customer profile

PUT {{baseUrl}}/v1/loyalty_programs/:loyaltyProgramId/profile/:integrationId/add_points

Add points in the specified loyalty program for the given customer.

To get the integrationId of the profile from a sessionId, use the Update customer session endpoint.

Request Body

{"points"=>300, "name"=>"Compensation", "validityDuration"=>"5D", "validUntil"=>"2021-07-20T22:00:00Z", "pendingDuration"=>"12h", "pendingUntil"=>"2021-07-20T22:00:00Z", "subledgerId"=>"sub-123", "applicationId"=>322}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring