---
title: "Update Brand Location"
method: PUT
path: "/get-brands/location"
tags: ["public-api"]
---

# Update Brand Location

`PUT /get-brands/location`

## Request

- Base URL: `https://api.trakkr.ai`
- URL: `https://api.trakkr.ai/get-brands/location`
- Auth: HTTP bearer

Set a brand's primary geographic market (country, optionally region/city).

This pins the brand's home market so competitor analysis and AI search
results are measured against the right region instead of defaulting toward
global/US-skewed results. Updating the primary market reuses the existing
primary slot — it does not consume an extra-market add-on.

## Request body

- UpdateBrandLocationRequest: PUT /get-brands/location request body.
  - `brand_id` string, uuid, required
  - `country` string, required
  - `location_region` string, nullable
  - `location_city` string, nullable
  - `location_dataseo_code` integer, nullable

## Response `200`

Successful Response

- UpdateBrandLocationResponse: PUT /get-brands/location response.
  - `brand_id` string, required
  - `location` string, required
  - `location_region` string, nullable
  - `location_city` string, nullable
  - `location_dataseo_code` integer, nullable
  - `primary_market` MarketItem: Market in brand response.
    - `language` string, nullable: Question language (BCP-47), independent of the country.
    - `id` string, required
    - `brand_id` string, required
    - `location` string, required
    - `location_region` string, nullable
    - `location_city` string, nullable
    - `is_primary` boolean, required
    - `active` boolean, required
    - `created_at` string, required

## Other responses

- `401`: Missing, malformed, or expired credentials
- `402`: The current plan does not fund this operation
- `403`: Invalid credentials, missing brand access, or insufficient role
- `422`: Validation Error
- `429`: Rate limit exceeded
- `500`: The operation failed
- `503`: Authentication, entitlement, or a required dependency is temporarily unavailable

---

[API](https://skmtc.dev/trakkr/apis/trakkr-api.md) · [All operations](https://skmtc.dev/trakkr/apis/trakkr-api/llms.txt) · [OpenAPI document](https://skmtc.dev/trakkr/apis/trakkr-api/revisions/189a9e76b8d5?raw)
