Update an advertiser
Endpoint for updating advertisers.
Path parameters
-
Id of an advertiser. It is either id that was provided in the response of the insert endpoint or it can be thirdPartyId, if it has been provided in the request body of the advertiser insert endpoint.
Body
-
Id of a company. It is either id that was provided in the response of the insert endpoint or it can be thirdPartyId, if it has been provided in the request body of the company insert endpoint.
-
Most accurate location description of a location. Preferably exact address in the format common for the given country. If that isn't possible, provide us with the most accurate location description possible. (eg. '{street name}, {city}')
-
Accuracy of the provided location. If not provided upon insertion, will default to
exact
.- If accuracy is missing or is set to
exact
we will display the exact location that was provided. - If accuracy is set to other value we will try to find the closest entity of provided type, if we don't find it we will display the nearest non-exact entity we can find (eg. street)
Values are
exact
,street
,municipality_part
,municipality
,cadastral_area
,nearest_non_exact_geo_entity
, or.
- If accuracy is missing or is set to
curl \
--request PATCH 'http://apis.public-staging.reas.cz/advertising/v1.0/advertisers/63d9007e66fc41b2cd1057c6' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"advertisingCompanyId":"63d9007e66fc41b2cd1057c6","fullName":"string","email":"string","tags":["string"],"phoneNumbers":["string"],"ico":"string","dic":"string","location":"Jablonecká 415/4, Praha 9","locationAccuracy":"exact"}'
{
"advertisingCompanyId": "63d9007e66fc41b2cd1057c6",
"fullName": "string",
"email": "string",
"tags": [
"string"
],
"phoneNumbers": [
"string"
],
"ico": "string",
"dic": "string",
"location": "Jablonecká 415/4, Praha 9",
"locationAccuracy": "exact"
}
{
"success": true,
"data": {
"id": "string",
"thirdPartyId": "string",
"tags": [
"string"
],
"advertisingCompanyId": "string",
"advertisingCompanyThirdPartyId": "string",
"fullName": "string",
"email": "string",
"profileImageUrl": "string",
"ico": "string",
"phoneNumbers": [
"string"
],
"createdAt": "2025-05-04T09:42:00Z",
"updatedAt": "2025-05-04T09:42:00Z",
"dic": "string",
"location": "string",
"locationAccuracy": "exact"
}
}