Update Customer Photo
updateCustomerPhotoUpdate Customer Photo
Download a public image URL and store it as the customer photo, or pass null to remove the existing photo. Returns the stored image on set, or an empty success payload when cleared. Returns 400 if a URL cannot be fetched or is not a valid image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique numeric identifier for the customer. | |
| url | Yes | Public image URL downloaded and stored as the customer photo. Pass null to remove the photo. Returns 400 if a URL cannot be fetched or is not a valid image. Accepts at most 500 characters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Application-level status code returned by this API. | |
| data | No | Stored customer photo image returned when a URL is provided. | |
| success | No | Indicates whether the request completed successfully. |