Page History
...
Code Block |
---|
POST /companies/:id/incentives/pools { "name": "Test Pool", "issuance_allowed": true, "redemption_allowed": true, "incentive_codes": { "low_threshold": 1000, "max_characters": 10 }, "distribution": { "method": "unique" }, "notification_email_address": "your.name@your.company.com" } |
Request Elements
Data Element | Required | Description |
---|---|---|
name | Yes | The name for the incentive pool |
issuance_allowed | No | Whether this pool can issue codes. |
redemption_allowed | No | Whether codes in this pool can be redeemed. |
incentive_codes | No | An object describing incentive code properties. |
incentive_codes.low_threshold | No | The threshold for available codes notifications. |
incentive_codes.max_characters | No | The maximum length of each incentive code. |
notification_email_address | No | The email address for all notifications. |
Update an Incentive Pool
Code Block |
---|
PUT /companies/:id/incentives/pools/:pool_id { "name": "Test Pool", "issuance_allowed": true, "redemption_allowed": true, "incentive_codes": { "low_threshold": 1000, "max_characters": 10 }, "distribution": { "method": "unique" }, "notification_email_address": "your.name@your.company.com" } |
Request Elements
...
name
...
Whether this pool can issue codes.
...
redemption_allowed
...
incentive_codes
...
Overview
Content Tools