updateCustomerSubscription()

Using that method you are able to cancel customer subscription or extend access.

Parameters:

Name Type Description
publisherToken string You can find your publisher token at api-keys page.
customerEmail string Set customer email for which you want to change Subscription.
offerId string Subscription offer ID, e.g. S123123123_US
subscriptionData object
-   status string If you want to cancel customer subscription, set this parameter to cancelled
-   expiresAt integer Extend expire date. Time format is Unix timestamp.
- required parameter

Remember! you can always check it by yourself using API Console - updateCustomerSubscription()

Back to Customer API