Apply for a bonus campaign. The customer opts into a campaign that requires explicit application.
| HTTP Status | Error Code | Description |
|---|---|---|
| 403 | security_error | User is not authenticated |
| 400 | PARAMETER_ERROR | Missing or invalid bonus_id parameter |
| 403 | not_eligible | The customer's bonus group (customers.groupid) may not take part in this campaign (bonus.included_customertype / excluded_customertype) |
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 |