Take a reward for a customer who asked
post/loyalty/members/{contactId}/redeem
Take a reward for a customer who asked: the points are spent and a one-use code is made.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
contacts:write- Sdk
contacts.loyalty.redeem- Cli
contacts loyalty redeem
Parameters
- contactIdstring (uuid)requiredIn the path
Request bodyapplication/json, required
- rewardIdstring (uuid)required
Responses
- 201application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring