PATCH/partners/customers/{domainId}/subscription/renewal
顧客企業のLINE WORKSサービス契約更新設定を更新する。
注意
この API は、将来の提供終了を予定しています。
今後は、商品の更新設定の変更 をご利用ください。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
partner
| Parameter | Type | Description |
|---|---|---|
| domainId | integer | ドメイン ID required example : 10000001 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Property | Type | Description |
|---|---|---|
| type | string | 契約更新設定タイプ
required Allowed values : STAY, CHANGE |
| productId | string | 商品 ID
Allowed values : STD, ADV |
| domain | string | ドメイン名
minLength : 2 maxLength : 22 |
| plan | string | プラン
Allowed values : MONTHLY, ANNUAL_LICENSE, ANNUAL_PREPAY_LICENSE |
| licenseCount | integer | ライセンス数 (年額契約)
maximum : 1000000 |
| maxMemberCount | integer | 最大ユーザー数 (月額契約)
maximum : 1000000 nullable : true |
Standard プランから Advanced プランにアップグレードする
1{2 "type": "CHANGE",3 "productId": "ADV",4 "domain": "example.com"5}月額後払 (最大ユーザー数 : 100) で更新する
1{2 "type": "CHANGE",3 "plan": "MONTHLY",4 "maxMemberCount": 1005}年額契約 月払い (ライセンス数 : 50) で更新する
1{2 "type": "CHANGE",3 "plan": "ANNUAL_LICENSE",4 "licenseCount": 505}現在の契約と同じ条件で更新する
1{2 "type": "STAY"3}OK
| Property | Type | Description |
|---|---|---|
| type | string | 契約更新設定タイプ
Allowed values : STAY, CHANGE |
| productId | string | 商品 ID
Allowed values : FR, STD_T, ADV_T, STD, ADV |
| domain | string | 契約更新時に設定するドメイン名
|
| plan | string | プラン
Allowed values : FREE, TRIAL, MONTHLY, ANNUAL_LICENSE, ANNUAL_PREPAY_LICENSE |
| licenseCount | integer | 契約更新時に設定するライセンス数 (年額契約) maximum : 1000000 |
| maxMemberCount | integer | 契約更新時設定する最大ユーザー数 (月額契約) nullable : true |
example
1{2 "type": "STAY",3 "productId": "STD",4 "plan": "MONTHLY",5 "maxMemberCount": 1006}