customerio-ruby icon indicating copy to clipboard operation
customerio-ruby copied to clipboard

Add support for batch api

Open MrTin opened this issue 2 years ago • 1 comments

Our use case is to update user properties daily. We batch-load hundreds of users at a time from DB but send one request per user using this library.

It's not a significant pain as we are in the low thousands, but we are growing steadily, which will become a problem. I'm hoping you have a chance to add this before it does, or I'll have to resort to either submitting a PR or making a httparty :-)

Relevant news article: https://www.customer.io/docs/release-notes/2023-01-10-track-v2-api/

MrTin avatar Sep 15 '23 22:09 MrTin

Hello, I'm in the same boat and would love to be able to send batch instead of single requests for performance reasons. This would help us avoid ever hitting the rate limits.

ishields avatar Nov 16 '23 17:11 ishields

Bump if anyone's reading these.

Looks like it's still not possible to use batch API using this library. I'm considering just directly calling /batch endpoint as a workaround. @MrTin @ishields curious if you ended up going the same route?

nikitaulybin avatar Aug 12 '25 18:08 nikitaulybin