Adding reward points for a customer
POST {{api-url}}/reward-points/customer/{{customerId}}/addPoints?siteCode=main
Adds reward points to a specific customer's account for a given tenant. Tenant is retrieved from the access token.
Note: Only employees are authorized to perform this action.
Required scopes
* rewardspoints.rewardpoints_manage
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
siteCode | string | Site code, defined when a site is created. |
Request Body
{"points"=>40, "reference-id"=>"<string>", "description"=>"<string>", "validUntil"=>"2025-05-08T11:45:54.486Z"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |