docs/ValidationsApi.md in voucherify-5.0.0 vs docs/ValidationsApi.md in voucherify-6.0.0
- old
+ new
@@ -33,10 +33,10 @@
# config.api_key_prefix['X-App-Token'] = 'Bearer'
end
api_instance = VoucherifySdk::ValidationsApi.new
opts = {
- validations_validate_request_body: VoucherifySdk::ValidationsValidateRequestBody.new({redeemables: [VoucherifySdk::RedeemGiftCard.new({object: 'voucher', id: 'id_example'})]}) # ValidationsValidateRequestBody |
+ validations_validate_request_body: VoucherifySdk::ValidationsValidateRequestBody.new # ValidationsValidateRequestBody |
}
begin
# Validate Stackable Discounts
result = api_instance.validate_stacked_discounts(opts)