Operation
updateApplicationSubscription
String updateApplicationSubscription ( String vendorClientId, int subscriptionLength ) throws AccountAPINGException
Update an application subscription with a new expiry date.
Please note: A subscription token created by this operation *doesn't* need to be activated via activateApplicationSubscription as the token is automatically associated with the customers vendorClientId when the request is made.
Parameter name | Type | Required | Description |
---|---|---|---|
vendorClientId | String | The vendor client id for which to update the subscription for | |
subscriptionLength | int | How many days the subscription should last. Expiry time will be rounded up to midnight on the date of expiry. Any change to the subscription length will override the customers existing subscription. |
Return type | Description |
---|---|
String | Subscription token |
Throws | Description |
---|---|
Generic exception that is thrown if this operation fails for any reason |
*Since *