HI
WHen apply discount showing 401 error.
Please checking what i do something wrong.
HI
WHen apply discount showing 401 error.
Please checking what i do something wrong.
https://clover.com is not the correct base url, you need to be using https://api.clover.com.. This is discussed in the link I previously sent - https://docs.clover.com/docs/401-unauthorized.
The Orders Write permission is required to add a discount. More information on solving 401s can be found here - https://docs.clover.com/docs/401-unauthorized.
Hi
Checked with all api
But i am using ecom api same issue . when i am try to get discount to entire order. showing 401 error
and unable to checked this checkbox.
All that is required is Orders write, I just tested. In the screenshot in your original post you have hard-coded "mid" and "orderid" in the url. Those are obviouisly not valid, so I assume that is your problem. You need to pass the actual Clover merchant uuid and the Clover order uuid.
1 Person is following this question.