Open syedasif11 opened 1 year ago
Kindly let us know if you are still facing this issue. If yes, please share the response of Place Order API and Modify Order API.
Why do you need response of
Place Order API and Modify Order API
when I am saying the issue was with cancelling the AMO order?
It seems you have placed these orders from Mobile/Web and trying to cancel from API. If that's not the case please share your client code we will contact you.
It seems you have placed these orders from Mobile/Web and trying to cancel from API.
No, as I mentioned in my very first comment, the order was placed via API. Here is the AMO order that I was trying to cancel:
Order number 230830001381765
placed at 2023-08-30 17:00:28.537
. Was trying to cancel the order at 2023-08-31 09:16:04.777361
.
I placed some AMO orders yesterday via API and when I tried to cancel those today I got this error. Note that I was able to cancel orders which were placed today, problem is with AMO orders only.
Error:
{'data': {'error': [{'code': '91400', 'message': 'Request not allowed. Cancel, Modify and OrderHistory will only be available if order was placed via API'}]}}