Skip to main content
Problem Solver I
December 15, 2023
Solved

Klaviyo Custom Properties Create and Update Profile

  • December 15, 2023
  • 3 replies
  • 460 views

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": "..."                                        }                         }                  }';

 

    This topic has been closed for replies.
    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 

    3 replies

    Brian Turcotte
    Klaviyo Alum
    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 

    Problem Solver I
    December 21, 2023

    Try @Brian Turcotte for the response. 

     

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

     

    Problem Solver I
    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