Prerequisite :
- You succeed to make your first request via API.
- A Free Offer has been created.
Workflow – How to manage Registration for a Freemium Offer
Your site/service must interact with ProAbono only during the Activation Step.
Step 1 : Create/Declare your Customer
POST /Distribution/Customers { "Name" :"Jane Smith", "Email" : "jane@smith.com", "ReferenceCustomer" : "1234567890" }
Step 2 : Create the subscription based on the Freemium Offer
POST /Sub/Subscriptions { "ReferenceOffer": "freemium", "ReferenceCustomer" : "1234567890" }
Example Response { "Id": 149747, //Id of the Subscription is useful for the next step ... }
Step 3 : Activate/Start the subscription of the Customer
PUT /Sub/Subscriptions/149747/StateSubscription "Running"
API : See our online documentation at :
https://docs.proabono.com/api/
https://docs.proabono.com/api/