shipstation-node icon indicating copy to clipboard operation
shipstation-node copied to clipboard

orders.get() not working properly

Open matevzsenlab opened this issue 8 months ago • 0 comments

I tried using the library in Nest JS. orders.getAll() worked fine, while orders.get() had 2 issues. First issue is that the order was not found when passing number of the order like described in documentation: orders.get(1244). Order was found when not using this library with: https://ssapi.shipstation.com/orders?orderNumber=1244. Second issue is that when order was not found, instead of throwing an error or returning an error object, app just froze. I was then able to figure out what the problem was with: retryCondition(error).

matevzsenlab avatar May 28 '24 10:05 matevzsenlab