bulk update profile though api is possible?
bulk update profile though api

Best answer by alex.hong
Hi there
Welcome to the Community!
The Klaviyo API Identify endpoint only allows for updates of one profile at a time - the idea here would be to use a loop to make multiple calls. This is the method I would recommend using.
Still, if you would like to bulk update profiles, there exists our List API V2, specifically the POST https://a.klaviyo.com/api/v2/list/{LIST_ID}/members endpoint
This endpoint is meant to add profiles to a list without subscribing them - but we can use the same endpoint to update properties for profiles that may already exist in the list.
For example, in a test list of mine I had cstestklaviyo@gmail.com and cstestklaviyo@outlook.com as members. Yet, I could make the following call to add "test_property" as a property with values of "valueA" and "valueB" respectively:
This led to the property being created on the profile:
If the property already exists, this endpoint will update the value as well.
Hope that helped,
Alex
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.