v1

latestOpenAPI 3.0.2EULA2026-07-143221521.2 MB
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 body

customer_idstring required

The unique ID of the customer.

datastring required

Base 64 encoded image data.

Example request

{
  "customer_id": "8ea2591121e636086a4a9c0992",
  "data": "iVBORw0KGgoAAAANSUhEUgAAAMYAAAAtCAIAAAB6eoNLAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAeASURBVHhe7ZvfbxNHEMf7n/elKk"
}

Response

No Content