v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Change customer status request

post/api_gateway/v2/request-workflow/CUSTOMER-STATUS-CHANGE

Request body

RAW_BODYstring

Response

200

Example response

{
  "data": {
    "requestId": "113cff87-62a5-11ee-aa6d-0aaee4e533d2",
    "userId": 232134,
    "userName": "tonob50495@tipent.com",
    "requestType": "customer-status-change",
    "state": "AdminTask",
    "startTime": "2023-10-04T16:29:19",
    "details": {
      "IntouchAPITask-Payload": {
        "hostname": "<https://crm-nightly-new.cc.capillarytech.com>",
        "path": "/v2/customers/lookup/status",
        "method": "PUT",
        "queryParams": {
          "source": "INSTORE",
          "use_async": "false",
          "identifierName": "mobile",
          "identifierValue": "919780375690"
        },
        "body": {
          "reason": "testing",
          "label": "Suspended"
        },
        "headers": {
          "Authorization": "Basic cHVuLjAxOjIwMmNiOTYyYWM1OTA3NWI5NjRiMDcxNTJkMjM0Yjcw",
          "content-type": "application/json"
        }
      },
      "ValidateMakerAccess_Output": true,
      "ValidatePayload_Output": true
    }
  }
}