Upload

Upload a square profile picture for the authenticated customer.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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 upload

Send the file as multipart/form-data in the profile_photo field, with a bearer token. Replacing an existing photo removes the old one. See Authentication.


Conditional Requirements

ConditionRequired Fields
Alwaysprofile_photo — a square image (PNG/JPG), at least 150×150 pixels
Query Params
int32
required

The unique identifier of the site associated with your account.

Body Params
file
required

Square image file (PNG or JPG), at least 150x150 pixels.

Responses

Language
Credentials
Query
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json