Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/v2025-01-15/reference/update_profile.md. An index of every page is at https://developers.klaviyo.com/llms.txt.

KlaviyoKlaviyoDevelopers
v2025-01-15

You're reading the reference for API revision 2025-01-15. The latest revision is 2026-10-15. See this page in the latest revision.

Update Profile

PATCHhttps://a.klaviyo.com/api/profiles/{id}

Update the profile with the given profile ID.

Use the additional-fields parameter to include subscriptions and predictive analytics data in your response.

Note that setting a field to null will clear out the field, whereas not including a field in your request will leave it unchanged.

The maximum allowed payload size is 100KB.

Revision header
revision: 2025-01-15required
Scopes
profiles:write
Rate limits
Burst: 75/sSteady: 700/m

Path parameters

  • id#stringrequired

    Primary key that uniquely identifies this profile. Generated by Klaviyo.

    Example: 01GDDKASAP8TKDDA2GRZDSVP4H

Query parameters

  • additional-fields[profile]#string[]

    Request additional fields not included by default in the response. Supported values: 'subscriptions', 'predictive_analytics'

    Allowed values:
    • subscriptions
    • predictive_analytics

Headers

  • revision#stringrequired

    API endpoint revision (format: YYYY-MM-DD[.suffix])

    2025-01-15

Request body

Content type: application/vnd.api+jsonrequired

  • data#objectrequired
    Show 4 fields
    • type#stringrequired
      Allowed values:
      • profile
    • id#stringrequired

      Primary key that uniquely identifies this profile. Generated by Klaviyo.

      Example: 01GDDKASAP8TKDDA2GRZDSVP4H

    • attributes#objectrequired
      Show 12 fields
      • email#stringnullable

        Individual's email address

        Example: sarah.mason@klaviyo-demo.com

      • phone_number#stringnullable

        Individual's phone number in E.164 format

        Example: +15005550006

      • external_id#stringnullable

        A unique identifier used by customers to associate Klaviyo profiles with profiles in an external system, such as a point-of-sale system. Format varies based on the external system.

      • anonymous_id#stringnullable
      • first_name#stringnullable

        Individual's first name

        Example: Sarah

      • last_name#stringnullable

        Individual's last name

        Example: Mason

      • organization#stringnullable

        Name of the company or organization within the company for whom the individual works

        Example: Example Corporation

      • locale#stringnullable

        The locale of the profile, in the IETF BCP 47 language tag format like (ISO 639-1/2)-(ISO 3166 alpha-2)

        Example: en-US

      • title#stringnullable

        Individual's job title

        Example: Regional Manager

      • image#stringnullable

        URL pointing to the location of a profile image

        Example: https://images.pexels.com/photos/3760854/pexels-photo-3760854.jpeg

      • location#object
        Show 10 fields
        • address1#stringnullable

          First line of street address

          Example: 89 E 42nd St

        • address2#stringnullable

          Second line of street address

          Example: 1st floor

        • city#stringnullable

          City name

          Example: New York

        • country#stringnullable

          Country name

          Example: United States

        • latitude#string | numbernullable

          Latitude coordinate. We recommend providing a precision of four decimal places.

          Example: 40.7128

        • longitude#string | numbernullable

          Longitude coordinate. We recommend providing a precision of four decimal places.

          Example: 74.0060

        • region#stringnullable

          Region within a country, such as state or province

          Example: NY

        • zip#stringnullable

          Zip code

          Example: 10017

        • timezone#stringnullable

          Time zone name. We recommend using time zones from the IANA Time Zone Database.

          Example: America/New_York

        • ip#stringnullable

          IP Address

          Example: 127.0.0.1

      • properties#objectnullable

        An object containing key/value pairs for any custom properties assigned to this profile

    • meta#object
      Show 1 field
      • patch_properties#object
        Show 3 fields
        • append#objectnullable

          Append a simple value or values to this property array

        • unappend#objectnullable

          Remove a simple value or values from this property array

        • unset#string | string[]nullable

          Remove a key or keys (and their values) completely from properties

          Example: skus

Responses

200Success

Content type: application/vnd.api+json

  • data#objectrequired
    Show 5 fields
    • type#stringrequired
      Allowed values:
      • profile
    • id#stringnullable

      Primary key that uniquely identifies this profile. Generated by Klaviyo.

      Example: 01GDDKASAP8TKDDA2GRZDSVP4H

    • attributes#objectrequired
      Show 16 fields
      • email#stringnullable

        Individual's email address

        Example: sarah.mason@klaviyo-demo.com

      • phone_number#stringnullable

        Individual's phone number in E.164 format

        Example: +15005550006

      • external_id#stringnullable

        A unique identifier used by customers to associate Klaviyo profiles with profiles in an external system, such as a point-of-sale system. Format varies based on the external system.

      • first_name#stringnullable

        Individual's first name

        Example: Sarah

      • last_name#stringnullable

        Individual's last name

        Example: Mason

      • organization#stringnullable

        Name of the company or organization within the company for whom the individual works

        Example: Example Corporation

      • locale#stringnullable

        The locale of the profile, in the IETF BCP 47 language tag format like (ISO 639-1/2)-(ISO 3166 alpha-2)

        Example: en-US

      • title#stringnullable

        Individual's job title

        Example: Regional Manager

      • image#stringnullable

        URL pointing to the location of a profile image

        Example: https://images.pexels.com/photos/3760854/pexels-photo-3760854.jpeg

      • created#string<date-time>nullable

        Date and time when the profile was created, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm)

        Example: 2022-11-08T00:00:00+00:00

      • updated#string<date-time>nullable

        Date and time when the profile was last updated, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm)

        Example: 2022-11-08T00:00:00+00:00

      • last_event_date#string<date-time>nullable

        Date and time of the most recent event the triggered an update to the profile, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm)

        Example: 2022-11-08T00:00:00+00:00

      • location#object
        Show 10 fields
        • address1#stringnullable

          First line of street address

          Example: 89 E 42nd St

        • address2#stringnullable

          Second line of street address

          Example: 1st floor

        • city#stringnullable

          City name

          Example: New York

        • country#stringnullable

          Country name

          Example: United States

        • latitude#string | numbernullable

          Latitude coordinate. We recommend providing a precision of four decimal places.

          Example: 40.7128

        • longitude#string | numbernullable

          Longitude coordinate. We recommend providing a precision of four decimal places.

          Example: 74.0060

        • region#stringnullable

          Region within a country, such as state or province

          Example: NY

        • zip#stringnullable

          Zip code

          Example: 10017

        • timezone#stringnullable

          Time zone name. We recommend using time zones from the IANA Time Zone Database.

          Example: America/New_York

        • ip#stringnullable

          IP Address

          Example: 127.0.0.1

      • properties#objectnullable

        An object containing key/value pairs for any custom properties assigned to this profile

      • subscriptions#object
        Show 3 fields
        • email#object
          Show 1 field
          • marketing#object
            Show 10 fields
            • can_receive_email_marketing#booleanrequired

              Whether or not this profile has implicit consent to receive email marketing. True if it does profile does not have any global suppressions.

            • consent#stringrequired

              The consent status for email marketing.

              Example: SUBSCRIBED

            • consent_timestamp#string<date-time>nullable

              The timestamp when consent was recorded or updated for email marketing, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm).

              Example: 2023-02-21T20:07:38+00:00

            • last_updated#string<date-time>nullable

              The timestamp when a field on the email marketing object was last modified.

              Example: 2023-02-21T20:07:38+00:00

            • method#stringnullable

              The method by which the profile was subscribed to email marketing.

              Example: PREFERENCE_PAGE

            • method_detail#stringnullable

              Additional details about the method by which the profile was subscribed to email marketing. This may be empty if no details were provided.

              Default:

              Example: mydomain.com/signup

            • custom_method_detail#stringnullable

              Additional detail provided by the caller when the profile was subscribed. This may be empty if no details were provided.

              Example: marketing drive

            • double_optin#booleannullable

              Whether the profile was subscribed to email marketing using a double opt-in.

              Example: true

            • suppression#object[]nullable

              The global email marketing suppression for this profile.

              Show 2 fields
              • reason#stringrequired

                The reason the profile was suppressed.

                Allowed values:
                • HARD_BOUNCE
                • INVALID_EMAIL
                • SPAM_COMPLAINT
                • UNSUBSCRIBE
                • USER_SUPPRESSED

                Example: HARD_BOUNCE

              • timestamp#string<date-time>required

                The timestamp when the profile was suppressed, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm).

                Example: 2023-02-21T20:07:38+00:00

            • list_suppressions#object[]nullable

              The list suppressions for this profile.

              Show 3 fields
              • list_id#stringrequired

                The ID of list to which the suppression applies.

                Example: Y6nRLr

              • reason#stringrequired

                The reason the profile was suppressed from the list.

                Example: USER_SUPPRESSED

              • timestamp#string<date-time>required

                The timestamp when the profile was suppressed from the list, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm).

                Example: 2023-02-21T20:07:38+00:00

        • sms#object
          Show 2 fields
          • marketing#object
            Show 6 fields
            • can_receive_sms_marketing#booleanrequired

              Whether or not this profile is subscribed to receive SMS marketing.

            • consent#stringrequired

              The consent status for SMS marketing.

              Example: SUBSCRIBED

            • consent_timestamp#string<date-time>nullable

              The timestamp when consent was recorded or updated for SMS marketing, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm).

              Example: 2023-02-21T20:07:38+00:00

            • method#stringnullable

              The method by which the profile was subscribed to SMS marketing.

              Example: TEXT

            • method_detail#stringnullable

              Additional details about the method which the profile was subscribed to SMS marketing. This may be empty if no details were provided.

              Default:

              Example: JOIN

            • last_updated#string<date-time>nullable

              The timestamp when the SMS consent record was last modified, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm).

              Example: 2023-02-21T20:07:38+00:00

          • transactional#object
            Show 6 fields
            • can_receive_sms_transactional#booleanrequired

              Whether or not this profile is subscribed to receive transactional SMS.

            • consent#stringrequired

              The consent status for SMS Transactional.

              Example: SUBSCRIBED

            • consent_timestamp#string<date-time>nullable

              The timestamp when consent was recorded or updated for Transactional SMS messaging , in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm).

              Example: 2023-02-21T20:07:38+00:00

            • method#stringnullable

              The method by which the profile was subscribed to Transactional SMS messaging .

              Example: TEXT

            • method_detail#stringnullable

              Additional details about the method which the profile was subscribed to Transactional SMS messaging. This may be empty if no details were provided.

              Default:

              Example: JOIN

            • last_updated#string<date-time>nullable

              The timestamp when the SMS consent record was last modified, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm).

              Example: 2023-02-21T20:07:38+00:00

        • mobile_push#object
          Show 1 field
          • marketing#object
            Show 3 fields
            • can_receive_push_marketing#booleanrequired

              Whether or not this profile is subscribed to receive mobile push.

            • consent#stringrequired

              The consent status for mobile push marketing.

              Example: SUBSCRIBED

            • consent_timestamp#string<date-time>nullable

              The timestamp when the consent was last changed, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm).

              Example: 2023-02-21T20:07:38+00:00

      • predictive_analytics#object
        Show 9 fields
        • historic_clv#numbernullable

          Total value of all historically placed orders

          Example: 93.87

        • predicted_clv#numbernullable

          Predicted value of all placed orders in the next 365 days

          Example: 27.24

        • total_clv#numbernullable

          Sum of historic and predicted CLV

          Example: 121.11

        • historic_number_of_orders#numbernullable

          Number of already placed orders

          Example: 2

        • predicted_number_of_orders#numbernullable

          Predicted number of placed orders in the next 365 days

          Example: 0.54

        • average_days_between_orders#numbernullable

          Average number of days between orders (None if only one order has been placed)

          Example: 189

        • average_order_value#numbernullable

          Average value of placed orders

          Example: 46.94

        • churn_probability#numbernullable

          Probability the customer has churned

          Example: 0.89

        • expected_date_of_next_order#string<date-time>nullable

          Expected date of next order, as calculated at the time of their most recent order

          Example: 2022-11-08T00:00:00+00:00

    • relationships#object
      Show 3 fields
      • lists#object
        Show 2 fields
        • data#object[]
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • list
          • id#stringrequired
      • segments#object
        Show 2 fields
        • data#object[]
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • segment
          • id#stringrequired
      • push-tokens#object
        Show 2 fields
        • data#object[]
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • push-token
          • id#stringrequired

4XXClient Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string

5XXServer Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string