HIWHen apply discount showing 401 error.
Please checking what i do something wrong.
Attachments: Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.
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.
HiChecked with all apiBut i am using ecom api same issue . when i am try to get discount to entire order. showing 401 errorand 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.
i am using actual Clover merchant uuid and the Clover order uuid. its just for not show to public
2 People are following this question.
Clover Api payment with apple/google pay or paypal web.
How to do order payment using application tender via ECommerce API?
Google pay and apple pay for online payments
Clover Hosted Payment Page - HTML
are trying to figure out why we keep receiving “401 Unauthorized” in both Sandbox and Live environment.