Update profile image
Endpoint for updating advertising company profile image.
Path parameters
-
companyId
string Required 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 \
-X PATCH http://apis.public-staging.reas.cz/advertising/v1.0/companies/63d9007e66fc41b2cd1057c6/profile-image \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: multipart/form-data" \
-F "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"
}
}