A POST
to the /rewards/extend
endpoint allows your application to extend the expiry date of a Reward.
Extending a reward modifies the expiry date according to the specified parameters in the payload.
The Extend Reward endpoint allows developers to specify either an extend_days
or extend_date
Provide an array of ID's and search the specified profile_id for eligible rewards.
Each eligible reward will be extended according to either the extend_days
or extend_date
Attribute | Description |
---|---|
| The profile ID containing the rewards to extend |
| An array of reward id's. Each reward id specified will be extended. |
| The amount of days to extend. This will be added to the existing |
| This date-time string will replace the existing |
Eligible Rewards for extension
Rewards can only be extended once
This means theextended_at
field must be null to be eligible for an extension