Skip to content

Bugfix resolving filter object to query params

Compare
Choose a tag to compare
@tpindel tpindel released this 30 Jul 11:45
· 73 commits to master since this release

Bugfix resolving filter object to query params. Thanks to this it will be possible to pass advanced filters to a method for listing vouchers.

Voucherify.listVouchers({
  filters: {
   "junction": "and",
   "redemption.redeemed_quantity": {
     "conditions": {
       "$more_than": 0
     }
   },
   "expiration_date": {
     "conditions": {
       "$more_than": 0
     }
   },
 }
}, function callback (response) { })