Customers actions
Upload a customer profile photo
Upload a customer profile photo. If the customer already has a photo, the new photo replaces the old one. Maximum size is 2 MB.
Available formats: .jpg, .jpeg, .png
post/customers/actions/upload-customer-photo
Request
- Base URLhttps://sandbox.crmcarecloud.com/webservice/rest-api/enterprise-interface/v1.0
- Auth
- HTTP bearer
- or HTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"customer_id": "8ea2591121e636086a4a9c0992",
"data": "iVBORw0KGgoAAAANSUhEUgAAAMYAAAAtCAIAAAB6eoNLAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAeASURBVHhe7ZvfbxNHEMf7n/elKk"
}Response
No Content
Changes
No recorded changes to this operation across all 1 revision of this API.