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.
What APIs are you using REST Web Services, SOAP, RESTlets?
It should be possible to amend the RESTlet script to accommodate batches of data. Is the system sending the data in your control too? Are you able to amend the data that is sent?
We are not using batches. Can I ask where can I find a documentation or sample code? We are using Nodejs
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?
We are using SuiteSQL api call
example:
Is your data being sent to our from NetSuite?
You had said that you were using RESTlets which is the reason for the response.
Could you please explain exactly what error you are seeing and when.
Yes we are requesting data from Netsuite from our Nodejs App. Apologies, we are using SuiteSQL api.
Netsuite error we have is: Netsuite API request reach limit





