Skip to main content
Solved

Klaviyo Custom Properties Create and Update Profile

  • December 15, 2023
  • 3 replies
  • 342 views

Forum|alt.badge.img+2

Hi ,

 

I am trying to insert or update a profile with custom properties ($value1,$value2,$value3,$value4,$value5) but it seems it does not being display / written on the profile. Never mind the “...” this is a value. Can someone help me?

 

{                 "data": {                         "type": "profile",                         "attributes": {                            "email": "...",                            "external_id": "...",                            "first_name": "...",                            "last_name": "...",                            "organization": "...",                            "title": "...",                            "image": "...",                            "location": {                                      "country": "...",                                      "zip": "...",                                      "region": "..."                                        }                          },                         "properties" : {                                        "$value1": "...",                                        "$value2": "...",                                        "$value3": "...",                                        "$value4": "...",                                        "$value5": "...",                                        "$value6": "..."                                        }                         }                  }';

 

Best answer by Brian Turcotte

Hi @Edmar Cruz!

Are you using the APIs to accomplish this?

If so, have you tried testing this same API call in a testing tool like Postman? This would help determine if the issue is in your API call structure. Also, are you receiving any errors when you submit the API call?

Best,

Brian 

View original
Did this topic or the replies in the thread help you find an answer to your question?

3 replies

Brian Turcotte
Forum|alt.badge.img+37
  • Klaviyo Alum
  • 1393 replies
  • Answer
  • December 19, 2023

Hi @Edmar Cruz!

Are you using the APIs to accomplish this?

If so, have you tried testing this same API call in a testing tool like Postman? This would help determine if the issue is in your API call structure. Also, are you receiving any errors when you submit the API call?

Best,

Brian 


Forum|alt.badge.img+2
  • Author
  • Problem Solver I
  • 6 replies
  • December 21, 2023

Try @Brian Turcotte for the response. 

 

I converted the latest version of Klaviyo API and it works.

 


Forum|alt.badge.img+2
  • Problem Solver I
  • 9 replies
  • December 29, 2023

@Edmar Cruz 

Thank you for sharing this information, did you change anything about the custom properties to get this to work and would you be able to share any of the code? Thank you