/
v3.0.11Get access

getClientClubSubscriptions

In order to get the full history of user’s jetshop subscriptions, we need to use the following command

Request parameters:

The method works without parameters

Call example:

getClientClubSubscriptions({
  command: 'get_client_club_subscriptions',
  params: []
})

Response examples:

{
  code: 0,
  rid: '0',
  data: {
    result: 0,
    result_text: null,
    details: [{
      Id: 1,
      ClientId: 547075950,
      ClubSubscriptionId: 2,
      Tier: 2,
      TierName: 'Pulse',
      StartDate: 1787048297,
      EndDate: 1787912297
    }]
  }
}

Response parameters:

NameDescriptionTypeValues
details
object
└─ Id
idnumber-
└─ ClientId
Client Idnumber-
└─ ClubSubscriptionId
ClubSubscription Idnumber-
└─ Tier
number of sub. plannumber-
└─ TierName
name of sub. plannumber-
└─ StartDate
date of subscription startnumber-
└─ EndDate
date of subscription endnumber-