This article is for DEVELOPERS


The Snapplify subscription service allows you to define a Subscription and then allocated that Subscription to a valid Snapplify User.


Documentation

Please find the latest documentation subscription & user subscription API here:

https://documenter.getpostman.com/view/7098218/UVknubr6


Subscription creation API call

A subscription API call may be made to create a subscription. This defines the subscription type and the content in the subscription.


The following information is passed in the API call:


ItemTypeExample
Subscription nameStringgrade-10-business-studies-1-year-course
Subscription typeStringcould represent different subscription plans, e.g., "monthly", or "yearly"
Subscription assetsArray of Strings1Y9781928354192
Subscription priceFloat1999.99
Subscription allocation API call
String or Integer
A POST request with a JSON payload containing userID (String or Integer) and subscriptionID (String or Integer


Example:

{
  "name": "grade-10-business-studies-1-year-course",
  "type": "yearly",
  "assets": [
    "1Y9781928354192",
    "1Y9781928354178",
    "1Y9781928354161"
  ],
  "price": 1999.99
}


A subscription API call may be made to allocate a subscription to a Snapplify user. 

The following information is passed in the API call:

  • The Snapplify User
  • Subscription ID


For assitance with the Subscription API please reach out to developer@snapplify.com