POST
/
v1
/
redeem
/
cancel
curl --request POST \
  --url https://vanilla-dev02-loyalty.fabric.zone/api/v1/redeem/cancel \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "profileId": "67460e74-02e3-11e8-b443-00163e990bdb",
  "redemptionCode": "04c229d7-03cb-421f-9d77-1c0ff1fc2641",
  "cancelAuditUser": "Joe"
}'
{
  "status": 200,
  "message": "Reward cancelled successfully.",
  "errors": {},
  "data": "<any>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Details to cancel reward

Response

200
application/json
OK

The response is of type object.