Documentation¶
Base URLs: https://user-center-domain/prod-api/
(Contact us if unclear)
POST Update Unactivated Service Orders¶
POST /acdn/volc/hostAcceleratePackRest/updateHostAcceleratePackOrder
Updates unactivated host acceleration service orders. For example, if an order was created at 13:00 on November 1, 2023, the service will be activated at 00:00 on November 2, 2023 according to service activation rules. Therefore, this interface only supports order updates between 13:00 and 24:00 on November 1, 2023.
Notes:
Request rate limit: 10 requests/second per user.
Body Request Parameters
{
"updateOrders": [
{
"province": "粤",
"endMonthTime": "2023-11-5",
"isRenew": true,
"source": "联通",
"orderId": "178722568801546",
"uid": "7515673778",
"nickname": "范涛"
}
]
}
Request Parameters¶
Name | Location | Type | Required | Chinese Name | Description |
---|---|---|---|---|---|
Authorization | header | string | Yes | none | |
body | body | UpdateHostAcceleratePackOrder | Yes | UpdateHostAcceleratePackOrder | none |
Response Example
OK
{
"msg": "Operation successful",
"code": 200,
"data": [
{
"startTime": "2024-01-17",
"source": "联通",
"uid": "75116945778",
"status": 1,
"orderId": "17877898567801546",
"isRenew": true,
"province": "粤",
"endTime": "2024-04-30"
}
]
}
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 | Update Order Status | 1:Update successful 2:OrderId and Uid mismatch 3:The Tiktok nickname is not standard, such as exceeding the length limit 4:EndMonthTime format error 5:Invalid service activation time range 6:Order not found 7:Order cannot be updated 8:Order cannot be updated 9:Invalid carrier name 10:Internal service error |
Data Model¶
UpdateHostAcceleratePackOrder
{
"updateOrders": [
{
"endMonthTime": "string",
"isRenew": true,
"nickname": "string",
"orderId": "string",
"province": "string",
"source": "string",
"uid": "string"
}
]
}
UpdateHostAcceleratePackOrder
Properties¶
Name | Type | Required | Constraints | Chinese Name | Description |
---|---|---|---|---|---|
updateOrders | [UpdatePackOrder] | false | none | none |
UpdatePackOrder
{
"endMonthTime": "string",
"isRenew": true,
"nickname": "string",
"orderId": "string",
"province": "string",
"source": "string",
"uid": "string"
}
UpdatePackOrder
Properties¶
Name | Type | Required | Constraints | Chinese Name | Description |
---|---|---|---|---|---|
endMonthTime | string | true | none | End Time | none |
isRenew | boolean | true | none | Monthly Auto-Renewal | 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 |
nickname | string | false | none | nickname | none |
orderId | string | true | none | Order ID | none |
province | string | false | none | Current province | none |
source | string | true | none | Carrier name | 包括(联通,移动,电信) |
uid | string | true | none | uid | none |