Authorizations
Access token
Path Parameters
user ID
Body
multipart/form-data
Commerce Engine is now in beta. We're working hard to make it better for you.
curl --request PUT \
--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>"
}
}
The Profile Image API streamlines the process of updating profile images associating with user accounts, offering a user-centric approach to visual identity customization. Upon success, the API responds with a confirmation message. In case of errors, clear error messages facilitate quick issue resolution. Overall, the Profile Image API enhances user engagement by seamlessly integrating personalized visual elements into digital platforms.
curl --request PUT \
--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 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
Was this page helpful?