Skip to content

Base URLs: https://user-center-domain/prod-api/

(Contact us if unclear)

POST Create Live Acceleration Order

POST /acdn/volc/hostAcceleratePackRest/createHostAcceleratePackOrder

Create an anchor acceleration service order. This interface can only be used to create orders after purchasing a pay-as-you-go acceleration package. For testing purposes without creating actual orders, contact technical support to configure a test account. The service activation time varies based on order creation time:

  • Orders completed before 17:00 (UTC+8) will activate service at 00:00 the next day
  • Orders completed after 17:00 (UTC+8) will activate service at 00:00 the day after tomorrow

Note: Request frequency limit: Maximum 10 requests/second per user.

Body Request Parameters

{
  "packOrder": [
    {
      "douyinId": "70",
      "source": "China Unicom",
      "uid": "94",
      "province": "GD",
      "endMonthTime": "2024-02",
      "isRenew": false,
      "nickname": "Zhong Yong"
    }
  ]
}

Request Parameters

Name Location Type Required Chinese Name Description
Authorization header string Yes none
body body CreateHostAcceleratePackOrderVO Yes CreateHostAcceleratePackOrderVO none

Response Example

OK

{
  "msg": "Operation successful",
  "code": 200,
  "data": [
    {
      "startTime": "2024-01-18",
      "source": "联通",
      "uid": "94",
      "status": 2,
      "orderId": "",
      "douyinId": "70",
      "isRenew": false,
      "province": "粤",
      "endTime": "1987-06-18 10:19:28"
    }
  ]
}

201 Response

{}

Response Results

Status Code Status Meaning Description Data Model
200 OK OK Inline
201 Created Created Inline
401 Unauthorized Unauthorized Inline
403 Forbidden Forbidden Inline
404 Not Found Not Found Inline

Response Data Structure

Status Code 200

Name Type Required Constraints Chinese Name Description
» additionalProperties object false none none
» status string true none Order Status 1: Created successfully
2:UID and DouyinID mismatch
3:Douyin nickname format error (e.g., exceeds length limit)
4:EndMonthTime format error
5:Invalid service activation time range
6:Time range overlaps with existing order
7:Province abbreviation error
8:ISP name error
9:Internal service error

Data Model

CreateHostAcceleratePackOrderVO

{
  "packOrder": [
    {
      "douyinId": "string",
      "endMonthTime": "string",
      "isRenew": true,
      "nickname": "string",
      "province": "string",
      "source": "string",
      "uid": "string"
    }
  ]
}

CreateHostAcceleratePackOrderVO

Properties

Name Type Required Constraints Chinese Name Description
packOrder [CreatePackOrder] true none none

CreatePackOrder

{
  "douyinId": "string",
  "endMonthTime": "string",
  "isRenew": true,
  "nickname": "string",
  "province": "string",
  "source": "string",
  "uid": "string"
}

CreatePackOrder

Properties

Name Type Required Constraints Chinese Name Description
douyinId string true none Douyin ID none
endMonthTime string true none End Time When monthly auto-renewal is enabled, this parameter must be set to any date equal to or later than the service activation date (not order creation date). Service activation and end dates cannot be the same day
isRenew boolean true none Monthly Auto-Renewal true: enabled false: disabled
nickname string false none Nickname none
province string false none Current Province none
source string true none ISP Name Options(联通,移动,电信)
uid string true none uid none