# 

"\[{"message":"Managing coupons is not permitted. instanceId=6522526c-2489-49c4-8bb6-f66a2a6da251","details":{}}\]"

**URL:** <https://forum.wixstudio.com/t/message-managing-coupons-is-not-permitted-instanceid-6522526c-2489-49c4-8bb6-f66a2a6da251-details/32686>\
**Category:** Ask the community\
**Tags:** question, code\
**Created:** [March 3, 2020, 12:04am UTC](https://forum.wixstudio.com/t/message-managing-coupons-is-not-permitted-instanceid-6522526c-2489-49c4-8bb6-f66a2a6da251-details/32686 "2020-03-03T00:04:43Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ross5525](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@ross5525](https://forum.wixstudio.com/u/ross5525)\
**Post date:** [March 3, 2020, 12:04am UTC](https://forum.wixstudio.com/t/message-managing-coupons-is-not-permitted-instanceid-6522526c-2489-49c4-8bb6-f66a2a6da251-details/32686/1 "2020-03-03T00:04:43Z")

</div>

I have a server side function that gets called from my shopping cart page if the user is a club member. It generates a custom 15% off code for them.

Since about March 1st, it has stopped working and I get the message above when debugging it.

Did something in the API change? Is there a permission change that i need to set to allow this?

---

<div class="post-metadata">

**Author:** ![ross5525](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@ross5525](https://forum.wixstudio.com/u/ross5525)\
**Post date:** [March 3, 2020, 12:05am UTC](https://forum.wixstudio.com/t/message-managing-coupons-is-not-permitted-instanceid-6522526c-2489-49c4-8bb6-f66a2a6da251-details/32686/2 "2020-03-03T00:05:46Z")

</div>

Skipped the most important Part, this is returned from createCoupon. This code has been working for months.

---

<div class="post-metadata">

**Author:** ![ross5525](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@ross5525](https://forum.wixstudio.com/u/ross5525)\
**Post date:** [March 3, 2020, 12:42am UTC](https://forum.wixstudio.com/t/message-managing-coupons-is-not-permitted-instanceid-6522526c-2489-49c4-8bb6-f66a2a6da251-details/32686/3 "2020-03-03T00:42:27Z")

</div>

Here is the coupondata that I am passing in  
{“name”:“SCD:Intrigue Webmaster”,“code”:“SCD0911736654”,“startTime”:“2020-03-03T00:37:44.046Z”,“expirationTime”:“2020-03-04T00:00:00.000Z”,“usageLimit”:1,“limitedToOneItem”:false,“active”:true,“percentOffRate”:15,“scope”:{“namespace”:“stores”,“group”:{“name”:“collection”,“entityId”:“3841ade6-88c0-d3a2-0666-9173e446b677”}}}

---

<div class="post-metadata">

**Author:** ![yisrael-wix](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/yisrael-wix/32/1107_2.png) [@yisrael-wix](https://forum.wixstudio.com/u/yisrael-wix)\
**Post date:** [March 3, 2020, 8:59am UTC](https://forum.wixstudio.com/t/message-managing-coupons-is-not-permitted-instanceid-6522526c-2489-49c4-8bb6-f66a2a6da251-details/32686/4 "2020-03-03T08:59:15Z")

</div>

If you continue to have problems, please post the URL of your site. _Only authorized Wix personnel can get access to your site in the editor._ **Please include the name of the page involved. Also, provide whatever login credentials and coupon codes that are required to test (you can put this information as comments in your code).**

---

<div class="post-metadata">

**Author:** ![yisrael-wix](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/yisrael-wix/32/1107_2.png) [@yisrael-wix](https://forum.wixstudio.com/u/yisrael-wix)\
**Post date:** [March 11, 2020, 12:44pm UTC](https://forum.wixstudio.com/t/message-managing-coupons-is-not-permitted-instanceid-6522526c-2489-49c4-8bb6-f66a2a6da251-details/32686/5 "2020-03-11T12:44:05Z")

</div>

There is currently an issue with createCoupon() and updateCoupon(). A ticket has been opened and the development team is working on the fix.

---

<div class="post-metadata">

**Author:** ![yisrael-wix](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/yisrael-wix/32/1107_2.png) [@yisrael-wix](https://forum.wixstudio.com/u/yisrael-wix)\
**Post date:** [March 11, 2020, 2:21pm UTC](https://forum.wixstudio.com/t/message-managing-coupons-is-not-permitted-instanceid-6522526c-2489-49c4-8bb6-f66a2a6da251-details/32686/6 "2020-03-11T14:21:43Z")

</div>

Hey Ross, the problem has been fixed. I tried this out myself and all is good. Please try again.

---

<div class="post-metadata">

**Author:** ![ross5525](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@ross5525](https://forum.wixstudio.com/u/ross5525)\
**Post date:** [March 11, 2020, 5:10pm UTC](https://forum.wixstudio.com/t/message-managing-coupons-is-not-permitted-instanceid-6522526c-2489-49c4-8bb6-f66a2a6da251-details/32686/7 "2020-03-11T17:10:45Z")

</div>

thank you. Do you know if there are plans to implement a way apply discounts to orders without having to have the user enter a coupon code. Even being able to apply a coupon to a store order in code would be better than having to get the user to enter a code to get a discount.

---

<div class="post-metadata">

**Author:** ![info10686](https://avatars.discourse-cdn.com/v4/letter/i/a183cd/32.png) [@info10686](https://forum.wixstudio.com/u/info10686)\
**Post date:** [July 30, 2022, 11:43am UTC](https://forum.wixstudio.com/t/message-managing-coupons-is-not-permitted-instanceid-6522526c-2489-49c4-8bb6-f66a2a6da251-details/32686/8 "2022-07-30T11:43:05Z")

</div>

Hi, has this been solved? I’m having the same issue

---

<div class="post-metadata">

**Author:** ![user2734](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/user2734/32/94371_2.png) [@user2734](https://forum.wixstudio.com/u/user2734)\
**Post date:** [February 12, 2025, 3:30am UTC](https://forum.wixstudio.com/t/message-managing-coupons-is-not-permitted-instanceid-6522526c-2489-49c4-8bb6-f66a2a6da251-details/32686/9 "2025-02-12T03:30:16Z")

</div>

Has this been solved? I have been working on this for 48 hours straight now and I’m tempted to take to social media about my issues… Here is what I’m receiving as well!

applicationError:  
description: Managing coupons is not permitted. instanceId=a0191490-a789-48ed-90d1-02326839a1d4  
code: UNAUTHORIZED  
data: {}

---

<div class="post-metadata">

**Author:** ![user2734](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/user2734/32/94371_2.png) [@user2734](https://forum.wixstudio.com/u/user2734)\
**Post date:** [February 12, 2025, 3:32am UTC](https://forum.wixstudio.com/t/message-managing-coupons-is-not-permitted-instanceid-6522526c-2489-49c4-8bb6-f66a2a6da251-details/32686/10 "2025-02-12T03:32:05Z")

</div>

Hello, I am getting this error as well. Please help. 😥
