curl --request PUT \ --url https://services.commercengine.dev/api/v1/x2yh61zw4k/storefront/auth/user/{id}/profile-image \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data'
{ "message": "<string>", "success": true, "content": { "profile_image_url": "<string>" } }
Access token
user ulid
The body is of type file.
file
A descriptive message confirming the success or failure of the update operation.
Indicates whether the request was successful or failure (true for success, false for failure).
An object containing the response content.
Show child attributes
A string representing the URL to a profile image.