Levels

get
Authorizations
Header parameters
organization-idstringRequired

Organization ID

Responses
200Success
application/json
get
GET /v1/crm/levels HTTP/1.1
Host: 
api-key: YOUR_API_KEY
organization-id: text
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": "dicount-flat",
            "amount": 1,
            "discountRef": "text",
            "sortNumber": 1,
            "id": "text",
            "uid": "text",
            "rules": [
              {
                "conditions": [
                  {
                    "key": "basic.date",
                    "operator": "contains",
                    "value": "text"
                  }
                ],
                "action": "apply",
                "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
Authorizations
Path parameters
uidstringRequired
Header parameters
organization-idstringRequired

Organization ID

Responses
200Success
application/json
get
GET /v1/crm/levels/{uid} HTTP/1.1
Host: 
api-key: YOUR_API_KEY
organization-id: text
Accept: */*
{
  "app": "text",
  "service": "text",
  "warnings": [
    {}
  ],
  "instanceId": "text",
  "requestId": "text",
  "data": {
    "item": {
      "locales": {},
      "sortNumber": 1,
      "alias": "text",
      "rewardQualPoints": 1,
      "rewardQualPeriod": {},
      "rewardRetention": {},
      "pointsConvertRate": 1,
      "rewardValidaty": {},
      "id": "text",
      "benefits": [
        {
          "locales": {},
          "type": "dicount-flat",
          "amount": 1,
          "discountRef": "text",
          "sortNumber": 1,
          "id": "text",
          "uid": "text",
          "rules": [
            {
              "conditions": [
                {
                  "key": "basic.date",
                  "operator": "contains",
                  "value": "text"
                }
              ],
              "action": "apply",
              "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"
        }
      ]
    }
  }
}

Was this helpful?