shipstation-node
shipstation-node copied to clipboard
orders.get() not working properly
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)
.