Mark a gift as handed over, by its code
post/loyalty/gifts/use
Before you call
- Credential
Authorization: Bearer $KEY- Scope
contacts:write- Sdk
contacts.loyalty.useGift- Cli
contacts loyalty use gift
Request bodyapplication/json, required
- codestringrequiredPattern: ^[A-Za-z0-9-]{6,40}$.
Responses
- 200application/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