Set bonus points for a customer. Admin only. Replaces the current point balance.
| HTTP Status | Error Code | Description |
|---|---|---|
| 403 | security_error | User is not authenticated or not an admin |
| 400 | PARAMETER_ERROR | Missing or invalid bonus_id, cid or points parameter |
Result of a bonus action (apply, claim or admin set)
| # | Field | Type | Description |
|---|---|---|---|
| 0 | action | string | the action that was performed |
| 1 | result | string | the exit/result code of the action |
Data (1 record)
| action | result |
|---|---|
| Bonus | security_error |