Deduct points from customer profile
PUT {{baseUrl}}/v1/loyalty_programs/:loyaltyProgramId/profile/:integrationId/deduct_points
Deduct points from the specified loyalty program and specified customer profile.
Important:
Only active points can be deducted.
Only pending points are rolled back when a session is cancelled or reopened.
To get the integrationId
of the profile from a sessionId
, use the Update customer session endpoint.
Request Body
{"points"=>300, "name"=>"Penalty", "subledgerId"=>"sub-123", "applicationId"=>322}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |