post
https://www.pelcro.com/api/v1/sdk/customer/picture
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Overview
Upload a profile picture for the authenticated customer. The image must be square and at least 150×150 pixels (PNG or JPG). Returns the updated customer and a fresh JWT.
Example: A customer picks a new avatar in account settings; upload it and display the returned profile_photo URL.
Multipart uploadSend the file as
multipart/form-datain theprofile_photofield, with a bearer token. Replacing an existing photo removes the old one. See Authentication.
Conditional Requirements
| Condition | Required Fields |
|---|---|
| Always | profile_photo — a square image (PNG/JPG), at least 150×150 pixels |
