Update profile image
Endpoint for updating advertising company profile image.
Path parameters
-
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.
PATCH
/advertising/v1.0/companies/{companyId}/profile-image
curl \
--request PATCH 'http://apis.reas.cz/advertising/v1.0/companies/63d9007e66fc41b2cd1057c6/profile-image' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: multipart/form-data" \
--form "image=@file"
Response examples (200)
{
"success": true,
"data": {
"id": "string",
"thirdPartyId": "1000025",
"name": "string",
"tags": [
"string"
],
"email": "string",
"websiteUrl": "string",
"phoneNumbers": [
"string"
],
"profileImageUrl": "string",
"ico": "string",
"dic": "string",
"location": "string",
"locationAccuracy": "exact"
}
}