Hi @nicolecentgraf ,
Your code looks correct.
You can try to create a coupon in the original interface provided in the Wix dashboard, then query the coupon with API, see if the coupon object structure is different from yours.
Hi @nicolecentgraf ,
Your code looks correct.
You can try to create a coupon in the original interface provided in the Wix dashboard, then query the coupon with API, see if the coupon object structure is different from yours.