-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
006 - Loyalties, Rewards #491
006 - Loyalties, Rewards #491
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add type material and validation_rules
pls
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not removed the |
4_obj_reward_assignment_object - same situation, still used in 7 places in the code |
visit: https://docs.voucherify.io/v2018-08-01-wk-491/reference to see the changes.
Rewards
New models
reward
reward_base
reward_identity
reward_response_data
reward_parameters
reward_parameters_CAMPAIGN
reward_parameters_COIN
reward_parameters_MATERIAL
reward_assignment
reward_assignment_base
reward_assignment_identity
reward_assignment_response_data
rewards_list_assignments_response_body
rewards_create_assignment_request_body
rewards_create_assignment_coin_reward_request_body
rewards_create_assignment_main_reward_request_body
rewards_update_assignment_request_body
Endpoint changes
/v1/rewards/{rewardId)}/assignments/{assignmentId}
reward_assignment
/v1/rewards/{rewardId}/assignments
(listAssignments)rewards_list_assignments_response_body
(old one:4_res_list_reward_assignments
)/v1/rewards/{rewardId}/assignments
(createAssignment)rewards_create_assignment_request_body
(old one:4_req_create_reward_assignment
)reward_assignment
(old one:4_obj_reward_assignment_object
)/v1/rewards/{rewardId}/assignments/{assignmentId}
(updateAssignment)rewards_update_assignment_request_body
(old one:4_req_update_reward_assignment
)reward_assignment
(old one:4_obj_reward_assignment_object
)Loyalties
New models
reward
reward_base
reward_identity
reward_response_data
reward_parameters
reward_parameters_CAMPAIGN
reward_parameters_COIN
reward_parameters_MATERIAL
reward_assignment
reward_assignment_base
reward_assignment_identity
reward_assignment_response_data
loyalties_list_loyalty_tier_rewards_response_body
loyalties_loyalty_tier_reward (old one:
8_obj_loyalty_tier_reward_object
)Endpoint changes
/v1/loyalties/{campaignId)}/rewards/{assignmentId}
reward_assignment
/v1/loyalties/{campaignId)}/tiers/{tierId}/rewards
loyalties_list_loyalty_tier_rewards_response_body