Levels

get
Responses
200Success
application/json
get
GET /v1/crm/levels HTTP/1.1
Host: 
Accept: */*
200Success
{
  "app": "text",
  "service": "text",
  "warnings": [
    {}
  ],
  "instanceId": "text",
  "requestId": "text",
  "data": {
    "items": [
      {
        "locales": {},
        "sortNumber": 1,
        "alias": "text",
        "rewardQualPoints": 1,
        "rewardQualPeriod": {},
        "rewardRetention": {},
        "pointsConvertRate": 1,
        "rewardValidaty": {},
        "id": "text",
        "benefits": [
          {
            "locales": {},
            "type": 1,
            "amount": 1,
            "discountRef": "text",
            "sortNumber": 1,
            "id": "text",
            "uid": "text",
            "rules": [
              {
                "conditions": [
                  {
                    "key": "basic.date",
                    "operator": "contains",
                    "value": "text"
                  }
                ],
                "action": 1,
                "sortNumber": 1,
                "id": "text",
                "uid": "text",
                "createdAt": "text",
                "createdVia": "text",
                "createdBy": "text",
                "updatedAt": "text",
                "updatedVia": "text",
                "updatedBy": "text"
              }
            ],
            "createdAt": "text",
            "createdVia": "text",
            "createdBy": "text",
            "updatedAt": "text",
            "updatedVia": "text",
            "updatedBy": "text"
          }
        ]
      }
    ]
  }
}
get
Path parameters
idstringRequired
Responses
200Success
application/json
get
GET /v1/crm/levels/{id} HTTP/1.1
Host: 
Accept: */*
200Success
{
  "app": "text",
  "service": "text",
  "warnings": [
    {}
  ],
  "instanceId": "text",
  "requestId": "text",
  "data": {
    "user": {
      "firstName": "text",
      "lastName": "text",
      "email": "text",
      "phone": "text",
      "phoneCountry": "text",
      "phoneCountryCalling": "text",
      "number": "text",
      "cityId": "text",
      "birthDate": "text",
      "gender": {},
      "unsubscribed": true,
      "internalNote": "text",
      "archivedAt": "text",
      "archivedBy": "text",
      "archivedVia": "text",
      "createdAt": "text",
      "createdVia": "text",
      "createdBy": "text",
      "updatedAt": "text",
      "updatedVia": "text",
      "updatedBy": "text",
      "id": "text"
    }
  }
}

Was this helpful?