Question:
Is it possible to create a coupon on wix dashboard and allow customer to use it for my site which is built on wix headless ecom
Product:
wix headless ecom along with next js and wix sdk
What are you trying to achieve:
i would like to give coupons to customer but i cant find any coupon related apis in wix sdk ecom. the only ones available are for events. but i am using ecom and want to allow few coupons for my products
What have you already tried:
i tried to create coupons on wix dashboard by navigating to link provided in coupons docs, but i dont see any api in ecom to check the validity of coupons and or apply the coupons in docs of wix sdk ecom section. there is one in event section but it requires event id. and i am selling products on ecom not using event