Check coupon page support
Use thecheckCouponPageSupport() method to manually check whether the current page supports coupon auto-apply.
This method can only be called after the SDK’s automatic page load check has completed, and can be called a maximum of 3 times per page load.
It returns a CouponPageSupportResult with:
supported- whether the current page supports coupon entry.autoApplyAvailable- whether automatic coupon application is available on this page.
Start coupon auto-apply
Use thestartCouponAutoApply(codes: string[]) method provided by the SDK to start the coupon application on a page.
View TypeDoc
Browse the reference TypeDoc for the SDK.

