Closed bandraszyk closed 5 years ago
@bandraszyk I created a PR which adds new methods to the SDK https://github.com/voucherifyio/voucherify-nodejs-sdk/pull/95
@frakti Let's make a review in advance so that we have time to introduce any improvements that you propose. Particularly noteworthy are the methods for redeeming rewards and adding points in the loyalties
namespace.
@bandraszyk I guess we can close the ticket, can't we?
Add support for new methods related to Loyalty Programs.
Validation namespace:
/validation-rules/:rule-id/validation
- DocsRewards namespace:
/rewards
- Docs/rewards
- Docs/rewards/:rewardId
- Docs/rewards/:rewardId
- Docs/rewards/:rewardId
- Docs/rewards/:rewardId/assignments
- Docs/rewards/:rewardId/assignments
- Docs/rewards/:rewardId/assignments/:assignmentId
- Docs/rewards/:rewardId/assignments/:assignmentId
- DocsLoyalties namespace:
/loyalties
- Docs/loyalties
- Docs/loyalties/:campaignId
- Docs/loyalties/:campaignId
- Docs/loyalties/:campaignId
- Docs/loyalties/:campaignId/rewards
- Docs/loyalties/:campaignId/rewards
- Docs/loyalties/:campaignId/rewards/:assignmentId
- Docs/loyalties/:campaignId/rewards/:assignmentId
- Docs/loyalties/{campaignId}/earning-rules
- Docs/loyalties/:campaignId/earning-rules
- Docs/loyalties/:campaignId/earning-rules/:earningRuleId
- Docs/loyalties/:campaignId/earning-rules/:earningRuleId
- Docs/loyalties/:campaignId/members
- Docs/loyalties/:campaignId/members
- Docs/loyalties/:campaignId/members/:memberId
- Docs/loyalties/:campaignId/members/:memberId/balance
- Docs/loyalties/:campaignId/members/:memberId/redemption
- Docs