RE: Is there a documentation for SuiteScript 2.x Batch to avoid API reach limit
We are having a problem in our system, we have lots of suitescript, cancel, update. Lots of agents update the orders at the same time. It causes Netsuite API reach limit.
What we want to do is to minimize our Netsuite API call. Using a batch.
But I cant find a sample code in the internet.
Our systems uses Node.js.
Since RESTlets are completely custom endpoints, you will not find any documentation to cover this.
I am assuming that rather than sending one request at a time you would be able to wrap a couple of them in an array and loop through them in the RESTlet.
I would be happy to take a look at any code, if you like.
I have you also considered retry strategies as an alternative to batches?