Creating a new reward points entry for a customer

POST {{api-url}}/reward-points/customer/{{customerId}}?siteCode=main

Creates a new reward points entry for a given customer for a given tenant. Tenant is retrieved from the access token.


Required scopes * rewardspoints.rewardpoints_manage

Request Params

KeyDatatypeRequiredDescription
siteCodestringSite code, defined when a site is created.

Request Body

{"customerId"=>"{{customerId}}", "startPoints"=>{"points"=>60, "reference-id"=>"<string>", "description"=>"<string>", "validUntil"=>"2025-05-08T11:45:54.486Z"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring