Update profile image
Endpoint for updating advertiser's profile image.
Path parameters
-
advertiserId
string Required 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.
PATCH
/advertising/v1.0/advertisers/{advertiserId}/profile-image
curl \
-X PATCH http://apis.public-staging.reas.cz/advertising/v1.0/advertisers/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": "string",
"tags": [
"string"
],
"advertisingCompanyId": "string",
"advertisingCompanyThirdPartyId": "string",
"fullName": "string",
"email": "string",
"profileImageUrl": "string",
"ico": "string",
"phoneNumbers": [
"string"
],
"createdAt": "2024-05-04T09:42:00+00:00",
"updatedAt": "2024-05-04T09:42:00+00:00",
"dic": "string",
"location": "string",
"locationAccuracy": "exact"
}
}