/
v3.0.11Get access

purchaseClubSubscription

Once clicked one of the jetshop subscription, the following command should be used:

Request parameters:

NameDescriptionTypeValuesDefaultSource
clubSubscriptionId
Unique number to identify subscription plan preferred by the usernumber--
Key from responseid
This method is usually used with these methods:

Call example:

purchaseClubSubscription({
  command: 'purchase_club_subscription',
  params: {
    club_subscription_id: 3
  }
})

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
ClubSubscriptionI dnumber-
└─ Tier
Number of the subscription plannumber-
└─ TierName
Name of the subscription planstring-
└─ StartDate
date of subscription startnumber-
└─ EndDate
date of subscription endnumber-