Create a Discount through API: Insufficient rights?

MaksDevMaksDev Member Posts: 7

Hi there,

We have authenticated our app with this right: employee:admin_purchases

This is the only one related to discounts as per manual:

View, create, update, and archive payment types, discounts, and taxes.

However, when we POST a new discount we get an error 403: InsufficientRightsException - Not Authorized: Insufficient rights to perform the request

What else is needed for this to work?




  • MaksDevMaksDev Member Posts: 7

    It turns out that employee:admin is also needed for this to work.

    Not very clear in the docs, but it works now. I just hope that our customers still allow all those rights 😏

Sign In or Register to comment.