Closed tilman closed 2 years ago
https://github.com/trieb-work/zoho-ts/blob/f86ffbdeb18566c6e130f8528d5f12fd5ccfb721/src/service/salesOrder.ts#L149
If it is a hard limit please close the issue otherwise I would suggest to increase it to at least 100 and make the option configurable via an optional argument like this:
public async confirm(ids: string[], chunkSize: number = 100): Promise<void> {
@JannikZed ?
API handles max 25 salesorders at once, that's why we created this chunk size :) 25 is a hard limit.
https://github.com/trieb-work/zoho-ts/blob/f86ffbdeb18566c6e130f8528d5f12fd5ccfb721/src/service/salesOrder.ts#L149
If it is a hard limit please close the issue otherwise I would suggest to increase it to at least 100 and make the option configurable via an optional argument like this: