POST/partners/customers/{domainId}/option-products
オプション商品を登録(適用)する。
Authorization URL - https://auth.worksmobile.com/oauth2/v2.0/authorize
Token URL - https://auth.worksmobile.com/oauth2/v2.0/token
Refresh URL - https://auth.worksmobile.com/oauth2/v2.0/token
partner
Parameter | Type | Description |
---|---|---|
domainId | integer | ドメインID required example : 10000001 |
Header | type | Description |
---|---|---|
Authorization | string | Bearer {token} required |
Property | Type | Description |
---|---|---|
optionProductId | string | オプション商品ID
required Allowed values : ACV, SSTG, ACV2, ACV3, DRV, SSTG2, BCT |
subOptionId | string | サブオプション商品ID
required Allowed values : ACV, SSTG, ACV201, ACV301, DRV01, SSTG201, SSTG202, SSTG203, SSTG204, SSTG205, SSTG206, SSTG207, BCT01, BCT02, BCT03, BCT04 |
追加ストレージ5TBを購入する場合
1{
2 "optionProductId": "SSTG2",
3 "subOptionId": "SSTG202"
4}
アーカイブ(トーク)を購入する場合
1{
2 "optionProductId": "ACV2",
3 "subOptionId": "ACV201"
4}
OK
Property | Type | Description |
---|---|---|
optionProductId | string | オプション商品ID
Allowed values : ACV, SSTG, ACV2, ACV3, DRV, SSTG2, BCT |
subOptionId | string | サブオプション商品ID
Allowed values : ACV, SSTG, ACV201, ACV301, DRV01, SSTG201, SSTG202, SSTG203, SSTG204, SSTG205, SSTG206, SSTG207, BCT01, BCT02, BCT03, BCT04 |
appliedTime | string | 適用(購入)日時 format : date-time readOnly : true |
quantity | integer | 契約数
readOnly : true nullable : true |
example
1{
2 "optionProductId": "SSTG2",
3 "subOptionId": "SSTG202",
4 "quantity": null,
5 "appliedTime": "2021-11-01T00:00:00.000Z"
6}