Validate multiple coupons at once and optionally lock them for exclusive use.
lock flag to True reserves eligible coupons by creating hold references. This ensures that locked coupons cannot be used by others during the lock session, preventing conflicts or double usage. By default, the lock flag is False, allowing only validation without reserving the coupons.
Unique identifier for the customer that you can reference across the customer's whole lifetime. Could be a database ID, random string, email or anything that uniquely identifies the customer.
A list of coupon codes to validate.
Customer's email address. Required if your account uses email-based channel merging.
Customer's mobile number. Required if your account uses mobile-based channel merging.
Indicates whether the request is intended to validate the coupon or to lock it for a future redemption.
Required only if the lock flag is set to True and you need to validate and lock a new or updated list of coupons within an existing lock session.
Represents the number of minutes for which a coupon will be locked if the lock flag is set to True.
This parameter is required only if the coupon is designed to apply to specific merchants.
This parameter is required only if the coupon is configured to apply to specific collections.
This parameter is required only when the coupon is configured to apply to specific collections.
This parameter represents the total value of the purchase where the coupon will be applied.
Coupons validated successfully
Indicates whether the coupons are valid.
An array containing the details of the coupons that need to be locked or validated in the request.
The unique reference code associated with the coupon lock session.
The exact date and time when the coupon lock will expire.