API mid May 2026 improvements (1.6.5)
Additional API features, improvements and fixes that shipped to production in mid May 2026, on top of the earlier early May 2026 release.
- Added basket-level discount calculation and percentage-based basket voucher support for composable campaigns, extending composable campaigns to handle basket-discount reward flows.
- Added
win_chanceconfiguration to composable campaign reward methods, enabling probabilistic reward issuance so that only a configured percentage of interactions trigger a reward (for example a 5% chance per basket). - Changed
get-user-vouchersto return voucher campaign details in a nestedcampaignobject for API version 1.6.5 and above, including bounded campaign assignment rows with assigned business details,assignment_count,assignment_count_by_type, andassignment_types_excludedfields. Older versions keep the legacy flatcampaign_*fields. - Improved API response times for basket endpoints (
get-basket-priceandadd-basket) through caching improvements. - Improved
create-voucherwith concurrency protection to prevent duplicate voucher creation from simultaneous requests. - Improved robustness of API requests involving segment lookup through improved retry logic.
- Fixed campaign segment-restriction handling so that campaigns with segment restrictions correctly fail closed.
- Fixed
get-tags,get-assigned-groups, andget-reward-methodsendpoints returning server errors instead of proper API error responses when thechain_idparameter is missing.