This API validates a single coupon identified by {code} and checks its eligibility for use by a customer. It also supports a locking feature, where setting the lock flag to True reserves the coupon by creating a lock reference. This ensures the coupon 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 coupon.
post/api/v4.0/integrations/coupons/{code}/validate
Path parameters
codestring required
The coupon code you want to validate.
Request body
Response
Coupon validated successfully