Can’t seem to get any contact location data to stick in my requests. What am I doing wrong here? Note that the request does not fail with any sort of validation error but the values do not get updated.
For example, here’s the body on an update:
{"signed_up_at":1753192392,"external_id":5668,"location":{"type":"location","country":"United States","country_code":"US","city":"San Diego"}}
And the response body I get:
{"type"=>"contact",
"id"=>"redacted",
"workspace_id"=>"redacted",
"external_id"=>"5668",
"role"=>"user",
"email"=>"redacted",
"phone"=>nil,
"name"=>"redacted",
"avatar"=>nil,
"owner_id"=>nil,
"social_profiles"=>{"type"=>"list", "data"=>=]},
"has_hard_bounced"=>false,
"marked_email_as_spam"=>false,
"unsubscribed_from_emails"=>false,
"created_at"=>1753796921,
"updated_at"=>1753797193,
"signed_up_at"=>1753192392,
"last_seen_at"=>nil,
"last_replied_at"=>nil,
"last_contacted_at"=>nil,
"last_email_opened_at"=>nil,
"last_email_clicked_at"=>nil,
"language_override"=>nil,
"browser"=>nil,
"browser_version"=>nil,
"browser_language"=>nil,
"os"=>nil,
"location"=>{"type"=>"location", "country"=>nil, "region"=>nil, "city"=>nil, "country_code"=>nil, "continent_code"=>nil},
"android_app_name"=>nil,
"android_app_version"=>nil,
"android_device"=>nil,
"android_os_version"=>nil,
"android_sdk_version"=>nil,
"android_last_seen_at"=>nil,