/
v3.0.11Get access

getActiveClientClubSubscription

In order to check the user’s active jetshop subscription plan we need to use the following command

Request parameters:

The method works without parameters

Call example:

getActiveClientClubSubscription({
  command: 'get_active_client_club_subscription',
  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
ClientIdnumber-
└─ ClubSubscriptionId
ClubSubscription Idnumber-
└─ Tier
number of subscription plannumber-
└─ TierName
name of subscription planstring-
└─ StartDate
date of subscription startnumber-
└─ EndDate
date of subscription endnumber-