POST/partners/customers/{domainId}/subscriptions/pre-orders

Adds a scheduled task to apply for a subscription.

  • The scheduled date can range from the next day to 31 days later.

Authorization

oauth2

OAuth 2.0 authentication. For more information, see Authentication and Authorization.

Scope

partner

HTTP Request

POSThttps://www.worksapis.com/v1.0/partners/customers/{domainId}/subscriptions/pre-orders

Path Parameters

ParameterTypeDescription
domainId integer 

Domain ID


required
example : 10000001 

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Request Body

PropertyTypeDescription
applyDate string 

Scheduled date

  • It can range from the next day to 31 days later.

required 
productId 

Scheduled plan ID


required
Allowed values : STD, ADV 
plan 

Paid contract type


Allowed values : MONTHLY, ANNUAL_LICENSE, ANNUAL_PREPAY_LICENSE 
licenseCount integer 

Number of licenses to apply.

  • Specify this if the contract type is license-based.

nullable : true 

Request Example

Schedule an application for the LINE WORKS Standard plan with annual contract postpay (10 licenses) on 2025-02-15

1{2  "applyDate": "2025-02-15",3  "plan": "ANNUAL_LICENSE",4  "productId": "STD",5  "licenseCount": 106}

Response

HTTP 201

OK

PropertyTypeDescription
subscriptionPreOrders array (SubscriptionsPreOrders) 
 

SubscriptionsPreOrders

PropertyTypeDescription
preOrderId integer 

Scheduled task ID


required 
productId string 

Paid plan ID

  • LINE WORKS Service
    • STD: Standard plan
    • ADV: Advanced plan

Allowed values : STD, ADV 
applyDate string 

Scheduled date


required
format : date 
plan string 

Paid contract type

  • MONTHLY: Monthly contract postpay
  • ANNUAL_LICENSE: Annual contract monthly license
  • ANNUAL_PREPAY_LICENSE: Annual contract lump sum license

Applicable contract types by plan group

  • LINE WORKS Service
    • MONTHLY: Monthly contract postpay
    • ANNUAL_LICENSE: Annual contract monthly license
    • ANNUAL_PREPAY_LICENSE: Annual contract lump sum license

Allowed values : MONTHLY, ANNUAL_LICENSE, ANNUAL_PREPAY_LICENSE 
licenseCount integer 

Number of licenses to apply.

  • It is required if the contract type (Plan) is license-based.