PUT
/
auth
/
user
/
{id}
/
profile-image
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=<string>'
{
  "message": "<string>",
  "success": true,
  "content": {
    "profile_image_url": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Access token

Path Parameters

id
string
required

user ID

Body

multipart/form-data

The body is of type object.

Response

200 - application/json
OK

The response is of type object.