Locations
Update a location
Only values provided in the request will be updated.
patch/v2/locations/{id}
Request
- Base URLhttps://developers.brandtrack.ai/api.brandtrack.fm
- AuthAPI key in header x-customer-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
x-customer-api-keystring
Request body
Example request
{
"name": "xsw",
"country": "ri",
"city": "fkvyexjhhenjgyxsfhy",
"address": "cndqkxrmxtzntfi",
"zip_code": "pmczqek",
"phone_number": "jjofnzimjvjdmni",
"email": "collins.joesph@example.com",
"manager": "pqbscnlbozwmfvhquiwfkly",
"additional_information": "ktwxipkm"
}Response
Success
Example response
{
"data": {
"id": 26440,
"account_id": 19120,
"name": "Downtown Bakery",
"country": "US",
"address": "176 Berry St, Brooklyn",
"phone_number": "11002929",
"email": "john.doe@brandtrack.fm",
"manager": "John Doe",
"created_at": "2024-07-31T14:38:34+00:00",
"timezone": "America/Los_Angeles",
"type": "own",
"city": "New York",
"zip_code": "11249",
"additional_information": null
}
}Changes
No recorded changes to this operation across all 1 revision of this API.