Get Merchandise API

GetMerchandise API enables the user to retrieve a list of merchandise products available in the Xoxoday catalog, with support for desired filters.

Get Voucher API Schema

ParameterTypeDescription
limitIntNumber of results to return per page (used for pagination).
pageIntPage number of results to fetch when using pagination.
includeProductsStringComma-separated list of product IDs to explicitly include in the response.
excludeProductsStringComma-separated list of product IDs to explicitly exclude from the response.
sortSortDataSorting configuration (e.g., by price, name, popularity).
sort.fieldStringThe field name to sort by (e.g., "name")
sort.orderStringSorting order → "ASC" for ascending or "DESC" for descending.
filtersArray of ObjectList of filters to apply. Each filter object should contain a key and value.
filters.keyStringThe filter key (e.g., country, currency, product_category).
filters.valueStringThe filter value corresponding to the key (e.g., IN, USD, Electronics).

Filter Reference Table

KeyValue TypeDescription
productNameStringProduct names to be included
countryStringCountries to be included
priceStringPrice range filters to be included
minPriceStringMinimum price of the products looked for
maxPriceStringMaximum price of the products looked for
currencyCodeStringCurrency codes to be included
deliveryTypeStringDelivery type to the voucher (realtime or delayed

Implementation Notes

  1. To fetch exchangeRate in the GetVouchersAPI, pass "exchangeRate": 1 in the request body
  2. To fetch the list of filters, use GetFiltersAPI
  3. If the value type for a product is "open_value", please refer to the "minValue" and the "maxValue" parameters
  4. To fetch the merchandise catalog, pass "category_type": "merchandise" in the request body. If this parameter is not passed, the API will return the default Gift Card catalog.
  5. The values passed in the "fee" and "discount" parameters are in percentage (%)
  6. We recommend you cache the response from GetVouchersAPI in your database every time you sync our catalog
  7. Use filters “minPrice” and “maxPrice” along with “currencyCode”, as this allows you to search prices with respect to a specific currency. If "currencyCode" code is not added, the filter will be applicable for all currencies.

Learn about Error Handling, Rate limiting and Best Practice .

Language
Credentials
OAuth2
Click Try It! to start a request and see the response here!