Update Member Tier

Upgrade or downgrade tier for a loyalty member.

Example URL

https://yourInstance.salesforce.com/services/data/v63.0/connect/loyalty/programs/DemoProgram/program-processes/update Tier

The request and response parameters vary depending on the input and output parameters configured for the TierProcessing process type in a Salesforce org.

Sample JSON Requests

Some of the API request fields contain field names that are interchangeable. For information on the list of interchangeable field names, see Loyalty Management Connect API Interchangeable Request Fields.

Note

Here's an example with a member ID:

{
   "processParameters":[
      {
         "MemberId":"0lMRM0000004GBs2AM",
         "NewTier":"Gold",
         "ReasonForChange":"update tier"
      }
   ]
}

Here's an example with a membership number:

{
   "processParameters":[
      {
         "MembershipNumber":"M2_Chloe_Sun",
         "NewTier":"Gold",
         "ReasonForChange":"update tier"
      }
   ]
}

Sample JSON Response

{
   "message":null,
   "outputParameters":{
      "results":[
         {
            "CurrentTier":"Gold",
            "TierExpirationDate":"2023-10-31",
            "PreviousTier":"Silver",
            "EffectiveDate":"2023-09-07"
         }
      ]
   },
   "simulationDetails":{
      
   },
   "status":true
}