v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Add Customer Image

Lets you add profile image for a customer.

post/customers/lookup/setImage

Query parameters

source'FACEBOOK' | 'WEB_ENGAGE' | 'WECHAT' | 'INSTORE' | 'MARTJACK' | 'TMALL' | 'TAOBAO' | 'JD' | 'ECOMMERCE' | 'WEBSITE' | 'LINE' | 'MOBILE_APP' required

Source in which the identifier is available.

accountIdstring

Account ID for sources with multiple accounts.

identifierName'mobile' | 'email' | 'externalId' | 'cardExternalId' | 'cardNumber' required

Customer identifier used to set image.

identifierValuestring required

Value of the specified identifier type.

Headers

Content-Typestring required

Pass the relevant value.

Response

200

Example response

{
  "pagination": {
    "limit": 10,
    "total": 2
  },
  "data": [
    {
      "id": 43114,
      "addedBy": {
        "id": 15000449,
        "code": "1371622280_919866643044",
        "name": "1371622280_Ashish",
        "type": "ADMIN_USER",
        "adminType": "GENERAL",
        "isActive": true
      },
      "updatedBy": {
        "id": 15000449,
        "code": "1371622280_919866643044",
        "name": "1371622280_Ashish",
        "type": "ADMIN_USER",
        "adminType": "GENERAL",
        "isActive": true
      },
      "addedOn": "2019-11-04T15:18:23+05:30",
      "updatedOn": "2019-11-04T15:18:23+05:30",
      "userId": 343040815,
      "requestId": 770197,
      "goodwillType": "POINTS",
      "goodwillStatus": "APPROVED",
      "comments": "sample",
      "reason": " ",
      "approvedValue": "450",
      "updatedComments": "sample; AUTO_APPROVED"
    }
  ]
}