GetVouchers API
GetVouchers API enables the user to get a list of vouchers with desired filters available with the Xoxoday catalog
Base URL :
Staging :
https://stagingaccount.xoxoday.com/chef
Production
: https://accounts.xoxoday.com/chef
The GetVouchers API can only be called up to 500 times in a 24-hour period.
Currently, we do not support adding multiple filters in a single GetVouchersAPI call
Parameters
Body Parameters
Body Parameters
Property
Type
Description
limit
*
Integer
Number of products desired per page
page
*
Integer
Offset with respect to the limit provided(starts from 1),
includeProducts
String
Comma-separated product ids of products to be included
excludeProducts
String
Comma-separated product ids of products to be excluded
field
String
Fields to sort by, Eg: name, last update date
order
String
fields to order by. Eg: ASC, DESC
filters
Array
An array of optional filter property objects having key and value as keys mentioned below:
filter.productName
String
Product names to be included
filter.country
String
Countries to be included
filter.price
String
Price range filters to be included
filter.minPrice
String
The minimum price of the products looked for
filter.maxPrice
String
Maximum price of the products looked for
filter.currencyCode
String
Currency codes to be included
filter.deliveryType
String
Delivery type to the voucher (realtime or delayed)
"*" means the paramter is mandatory
filter.xyz=optional filter property objects
Last updated
Was this helpful?