POST
/
v1
/
members
/
points-activate
curl --request POST \
  --url https://vanilla-dev02-loyalty.fabric.zone/api/v1/members/points-activate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "profileId": "f90a1da5-c072-48b7-a9ea-eb35c5dd506b",
  "startDate": "2020-02-08 00:00:00",
  "endDate": "2020-02-08 00:00:00"
}'
{
  "message": "Member points activated",
  "errors": {},
  "data": null,
  "status": 200
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Details required to activate points

profileId
string
required

Profile ID of the member. It is generated in the response of the Enroll Member endpoint - POST /v1/members.

startDate
string | null

Beginning of the date range, in UTC format

endDate
string | null

Ending of the date range, in UTC format

Response

200
application/json
OK

Response Details

message
string

Message corresponding to the call

Minimum length: 1
errors
object

A dictionary of lists with different number of errors or exceptions.

data
object

Returns data in the form of a list of dictionaries or null

status
integer

Status code of the call