PATCH/partners/customers/{domainId}/subscriptions/{subscriptionId}/renewal
Updates subscription renewal information.
OAuth 2.0 authentication. For more information, see Authentication and Authorization.
partner
| Parameter | Type | Description |
|---|---|---|
| domainId | integer | Domain ID required example : 10000001 |
| subscriptionId | string | Subscription ID required |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Property | Type | Description |
|---|---|---|
| type | string | Subscription renewal type
required Allowed values : STAY, CHANGE, CANCEL |
| productId | string | Paid plan ID
Allowed values : STD, ADV |
| plan | string | Paid contract type
Applicable contract types by plan group
Allowed values : MONTHLY, ANNUAL_LICENSE, ANNUAL_PREPAY_LICENSE |
| licenseCount | integer | Number of licenses to apply upon renewal
maximum : 1000000 |
Upgrade LINE WORKS Standard to Advanced at renewal (available only using a domain)
1{2 "type": "CHANGE",3 "productId": "ADV"4}Renew to monthly contract postpay
1{2 "type": "CHANGE",3 "plan": "MONTHLY"4}Renew to annual contract monthly (50 licenses)
1{2 "type": "CHANGE",3 "plan": "ANNUAL_LICENSE",4 "licenseCount": 505}Renew without changes
1{2 "type": "STAY"3}OK
| Property | Type | Description |
|---|---|---|
| subscriptionId | integer | Subscription ID required |
| type | string | Subscription renewal type
required Allowed values : STAY, CHANGE, CANCEL |
| productId | string | Paid plan ID
Allowed values : STD, ADV |
| plan | string | Paid contract type
Applicable contract types by plan group
Allowed values : MONTHLY, ANNUAL_LICENSE, ANNUAL_PREPAY_LICENSE |
| licenseCount | integer | Number of licenses to apply at the time of renewal maximum : 1000000 |
Example1
1{2 "subscriptionId": 0,3 "type": "STAY",4 "productId": "STD",5 "plan": "MONTHLY",6 "licenseCount": 10000007}