Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/reference/update_location_hub_setting_beta.md. Its OpenAPI document is at https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15.pre/openapi/beta/apis/update_location_hub_setting_beta.json. An index of every page is at https://developers.klaviyo.com/llms.txt.

KlaviyoKlaviyoDevelopers
v2026-10-15

This endpoint is in beta. Call it with the revision header 2026-10-15.pre. Beta endpoints may change before they're generally available. See our versioning and deprecation policy for more information.

Update Location Hub Setting

PATCHhttps://a.klaviyo.com/api/location-hub-settings/{id}

Update Location Hub settings for an account.

The resource id is the account id. Only profile_property_key_name can be changed today.

Revision header
revision: 2026-10-15.prerequired
Scopes
locations:write
Rate limits
Burst: 1/sSteady: 15/m

Path parameters

  • id#stringrequired

Query parameters

  • fields[location-hub-setting]#string[]

    For more information please visit API overview

    Allowed values:
    • id
    • profile_property_key_name

Headers

  • revision#stringrequired

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

    2026-10-15.pre

Request body

Content type: application/vnd.api+jsonrequired

  • data#objectrequired
    Show 3 fields
    • type#stringrequired
      Allowed values:
      • location-hub-setting
    • id#stringrequired

      The account identifier for these settings.

      Example: abCdEf

    • attributes#objectrequired
      Show 1 field
      • profile_property_key_name#stringnullable

        Profile property key Location Hub writes when linking a profile to a location.

        Example: nearest_location

Responses

200Success

Content type: application/vnd.api+json

  • data#objectrequired
    Show 4 fields
    • type#stringrequired
      Allowed values:
      • location-hub-setting
    • id#stringrequired

      The account identifier for these settings.

      Example: abCdEf

    • attributes#objectrequired
      Show 1 field
      • profile_property_key_name#stringrequired

        Profile property key Location Hub writes when linking a profile to a location.

        Example: nearest_location

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