Tiers

Get Tier

This endpoint is deprecated - See /tiers/{id} This method allows the calling application to retrieve a Loyalty Tier by id.

get/tier/{id}

Request

  • Base URL
    https://resources.uk.eagleeye.com
  • URL
    https://resources.uk.eagleeye.com/tier/{id}
  • Auth
    none declared. Required headers: X-EES-AUTH-CLIENT-ID, X-EES-AUTH-HASH

Path parameters

idstring Int64 required

EES AIR Loyalty Tier ID.

Headers

X-EES-AUTH-CLIENT-IDstring string required

Client ID, This will be provided by EES and is unique to the company calling the API.

X-EES-AUTH-HASHstring string required

Request Security Hash, calculated using SHA-256 function from concatenated full Request URI Path with Query String(s), Payload and Client Secret.

Accept-Encoding'' | 'gzip' | 'deflate' | 'gzip,deflate'

This request HTTP header advertises which content encoding (usually a compression algorithm) the calling application is able to understand. The server selects one of the proposals, use it and informs the client of its choice with the Content-Encoding response header. Currently supported gzip and deflate, if request header not present no compression will be used.

X-EES-TRANSACTION-IDstring string

Unique Reference for the API transaction within the calling company.

X-EES-RETRYstring string

This flag denotes the number of attempts that have been made for this request.

Response

OK.

idId (unresolved $ref)
typeType (unresolved $ref)
statusStatus (unresolved $ref)
referenceReference (unresolved $ref)
detailsDetails (unresolved $ref)
dateCreatedDateCreated (unresolved $ref)
lastUpdatedLastUpdated (unresolved $ref)

Example response

{
  "id": "1001",
  "type": "STANDARD",
  "status": "ACTIVE",
  "details": {
    "name": "Tier 1",
    "schemeId": "1234",
    "isDefault": false
  },
  "settings": {
    "schemeOverrides": {
      "earnRates": {
        "TestUnitSafeName": {
          "default": {
            "description": null,
            "name": null,
            "product": null,
            "rates": [
              {
                "amount": 2,
                "bonus": null,
                "ceiling": null,
                "floor": null,
                "offset": 0,
                "step": 1
              }
            ],
            "reference": null,
            "roundPoints": {
              "active": false,
              "toMultipleOf": 1
            },
            "type": "STANDARD"
          }
        }
      },
      "burnRates": {
        "TestUnitSafeName": [
          {
            "bonus": 0,
            "ceiling": 5000,
            "floor": 1,
            "pointsBack": 0,
            "rate": 10,
            "step": 2
          }
        ]
      },
      "burnRatesRules": {
        "TestUnitSafeName": {
          "default": {
            "product": {
              "collections": [
                {
                  "products": {
                    "included": {
                      "groups": [
                        "group-1"
                      ],
                      "items": [
                        "item-1"
                      ],
                      "skus": [
                        "sku-1"
                      ],
                      "tags": [
                        "tag-1"
                      ]
                    },
                    "excluded": {
                      "groups": [],
                      "items": [],
                      "skus": [],
                      "tags": []
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "expiryPoints": {
        "enabled": true,
        "rule": {
          "periodCount": 31,
          "periodType": "DAY",
          "rounding": "ABSOLUTE",
          "type": "CUTOFFDATE"
        }
      }
    },
    "promotion": {
      "promotionTierId": "110",
      "ruleSets": [
        {
          "rules": [
            {
              "amount": 100,
              "balanceType": "POINTS"
            }
          ]
        }
      ]
    },
    "demotion": {
      "demotionTierId": "101",
      "balanceResetPeriod": {
        "periodOffset": {
          "periodType": "MONTH",
          "periods": 3
        },
        "roundingRule": "endOfMonth"
      },
      "membershipExpiryPeriod": {
        "periodOffset": {
          "periodType": "MONTH",
          "periods": 6
        },
        "roundingRule": "endOfQuarter"
      },
      "reevaluateTierOnBalanceDebit": {
        "enabled": true
      },
      "maxTierDemotionPerReview": {
        "enabled": true,
        "value": 1
      }
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.