Update Profile

PATCH {{baseUrl}}/api/profiles/:id/

Update the profile with the given profile ID. If you use a phone number as the profile identifier and SMS is not set up in the Klaviyo account, you'll need to include at least one other identifier attribute (email or external_id) in addition to the phone_number attribute for the API call to work.

Rate limits:
Burst: 75/s
Steady: 700/m

Scopes: Profiles Write

Request Body

{"data"=>{"type"=>"profile", "id"=>"labore ex sunt", "attributes"=>{"email"=>"nostrud amet", "phone_number"=>"sint est", "external_id"=>"amet esse Excepteur", "anonymous_id"=>"mollit", "first_name"=>"nulla ad ut", "last_name"=>"sed ad", "organization"=>"fugiat exercitation", "title"=>"nisi", "image"=>"s", "location"=>{"address1"=>"amet Duis", "address2"=>"officia", "city"=>"exerc", "country"=>"esse", "latitude"=>"quis eiusmod Duis ipsum", "longitude"=>"sed occaecat deserunt in sunt", "region"=>"ad", "zip"=>"eu dolore amet", "timezone"=>"dolor enim ea"}}}}

HEADERS

KeyDatatypeRequiredDescription
revisionstring(Required) API endpoint revision (format: YYYY-MM-DD[.suffix])
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"data":{"type":"profile","id":"dolor magna sed aliquip culpa","attributes":{"email":"cupidatat ad dolor ven","phone_number":"mollit non","external_id":"in dolore","anonymous_id":"ad ut sit culpa","first_name":"fugiat tempor elit","last_name":"laboris Excepteur","organization":"ipsum esse enim sunt molli","title":"deserunt consectetu","image":"irure esse","created":"2022-11-08T00:00:00","updated":"2022-11-08T00:00:00","last_event_date":"2022-11-08T00:00:00","location":{"address1":"do laborum","address2":"laboris do cillum sit commodo","city":"exercitation sunt","country":"anim officia Lorem id","latitude":"aute mollit in","longitude":"dolore nulla veniam exercitation","region":"ut ea adipisicing sunt cillum","zip":"tempor","timezone":"ut nisi est aute"},"properties":{}},"links":{"self":"http://rdhA.lsn6FL8PsJbBbO1oXMTpcEPzWSkFT.n0nx1czzw0+qpWcqtyaLD.wxPmnrgSZyyb-"}}}