/
v3.0.11Get access

getClientLoyaltyBenefits

Retrieves the current loyalty program benefits assigned to the authenticated user.

Request parameters:

The method works without parameters

Call example:

getClientLoyaltyBenefits()

Response examples:

{
  code: 0,
  rid: '77cde3e0',
  data: {
    result: 0,
    result_text: null,
    details: [{
      LoyaltyBenefitId: 1124
    }, {
      LoyaltyBenefitId: 1125
    }]
  }
}

Response parameters:

NameDescriptionTypeValues
array-
└─
object
└─ LoyaltyBenefitId
The id loyalty card assigned to the current usernumber-