Add profile image
Auth
Add profile image
Uploads a profile image for the user. Returns the profile_image_url.
POST
Add profile image
Authorizations
Access token
Path Parameters
user ID
Body
multipart/form-data
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Commerce Engine is now in early preview. Please report any issues or feedback to support@commercengine.io
curl --request POST \
--url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/auth/user/{id}/profile-image \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form image='@example-file'{
"message": "<string>",
"success": true,
"content": {
"profile_image_url": "<string>"
}
}Uploads a profile image for the user. Returns the profile_image_url.
curl --request POST \
--url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/auth/user/{id}/profile-image \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form image='@example-file'{
"message": "<string>",
"success": true,
"content": {
"profile_image_url": "<string>"
}
}Access token
user ID
OK
A descriptive message confirming the success or failure of the add operation.
Indicates whether the request was successful or failure (true for success, false for failure).
An object containing the response content.
Show child attributes
Was this page helpful?