v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Add Customer Image

Sets profile image for a customer.

post/customers/{customerId}/setImage

Path parameters

customerIdinteger required

Pass the unique ID of the customer whose goodwill request details you want to fetch.

Headers

Content-Typestring required

Pass the relevant value.

Request body

form-datastring binary required

Response

200

Example response

{
  "data": [
    {
      "code": 200,
      "file": {
        "acl": "PRIVATE",
        "fileHandle": "a014949a-0822-48b3-90ad-73908174147d",
        "lastModified": "2021-11-24 08:59:40",
        "latestVersion": 2,
        "name": "50583/343014824/0",
        "namespace": "customerImage",
        "s3Token": "customerImage/50583/343014824/ab98b31a-d400-41be-bb2e-18229f85d420",
        "version": 2
      },
      "message": "Successfully uploaded file",
      "status": "true"
    }
  ]
}