Documentation¶
Base URLs: https://user-center-domain/prod-api/
(Contact us if unclear)
POST Update Activated Service Order¶
POST /acdn/volc/hostAcceleratePackRest/modifyHostAcceleratePackOrder
Updates an activated host acceleration service order that hasn't expired.
Description:
Only supports updating the Uid bound to the order and its corresponding NewDouyinId and NewNickname.
Notes:
Request frequency: Maximum 10 requests per second per user.
Body Request Parameters
{
"modifyOrders": [
{
"newUid": "76304453594",
"executeTime": "2023-11-5",
"orderId": "17872308245801546",
"oldUid": "72589073778",
"newDouyinId": "yan158hi5380",
"newNickname": "New Nickname"
}
]
}
Request Parameters¶
Name | Location | Type | Required | Chinese Name | Description |
---|---|---|---|---|---|
Authorization | header | string | Yes | none | |
body | body | ModifyHostAcceleratePackOrder | Yes | ModifyHostAcceleratePackOrder | none |
Response Example
OK
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:NewUid and NewDouyinId mismatch 4:New Douyin nickname doesn't meet specifications (e.g., exceeds length limit) 5:Order doesn't exist 6:Pending update order exists, cannot update again 7:Order not within effective time range, cannot update 8:Incorrect update order time 9:Update limit reached 10:Internal service error |
Data Model¶
ModifyHostAcceleratePackOrder
{
"modifyOrders": [
{
"executeTime": "string",
"newDouyinId": "string",
"newNickname": string,
"newUid": "string",
"oldUid": "string",
"orderId": "string"
}
]
}
ModifyHostAcceleratePackOrder
Properties¶
Name | Type | Required | Constraints | Chinese Name | Description |
---|---|---|---|---|---|
modifyOrders | [ModifyPackOrder] | false | none | none |
ModifyPackOrder
{
"executeTime": "string",
"newDouyinId": "string",
"newNickname": true,
"newUid": "string",
"oldUid": "string",
"orderId": "string"
}
ModifyPackOrder
Properties¶
Name | Type | Required | Constraints | Chinese Name | Description |
---|---|---|---|---|---|
executeTime | string | true | none | Update execution time | Update execution time. Takes effect at 00:00 the next day after successful update. Format: yyyy-mm-dd. Example: If updating order A on Nov 1, 2023 with ExecuteTime set to 2023-11-5, the update will take effect at 00:00 on Nov 6, 2023. |
newDouyinId | string | true | none | New Douyin ID | New Douyin ID, must correspond with new user ID |
newNickname | boolean | false | none | nickname | New Douyin nickname. If not provided, system will look up nickname based on new Uid and new Douyin ID. If not found, defaults to Uid + new Douyin ID |
newUid | string | true | none | New uid | New uid, must correspond with new Douyin ID |
oldUid | string | true | none | Original uid | none |
orderId | string | true | none | Order ID | Update execution time. Takes effect at 00:00 the next day after successful update. Format: yyyy-mm-dd. Example: If updating order A on Nov 1, 2023 with ExecuteTime set to 2023-11-5, the update will take effect at 00:00 on Nov 6, 2023. |