General
授权
Authorizationstring必填
Bearer authentication header of the form Bearer <token>.
查询参数
productstring必填Example:
Datacenter Proxylocationstring · 可为 null可选Example:
DEcyclestring · 可为 null可选Example:
monthlyquantityinteger · 可为 null可选Example:
10promo_codestring · 可为 null可选Example:
SAVE10响应
200
Success
application/json
400
Validation error
application/json
401
Unauthorized
application/json
get
/user/api/orders/calculate授权
Authorizationstring必填
Bearer authentication header of the form Bearer <token>.
路径参数
order_idinteger必填
请求体
cyclestring必填Example:
monthly响应
200
Success
application/json
400
Invalid product or cycle
application/json
401
Unauthorized
application/json
403
Cycle is not available for this user
application/json
post
/user/api/orders/change-billing-cycle/{order_id}授权
Authorizationstring必填
Bearer authentication header of the form Bearer <token>.
路径参数
order_idinteger必填
查询参数
auto_renewalboolean必填Example:
true响应
200
Success
application/json
400
Invalid product for this operation
application/json
401
Unauthorized
application/json
post
/user/api/orders/edit-auto-renewal/{order_id}授权
Authorizationstring必填
Bearer authentication header of the form Bearer <token>.
查询参数
statusstring必填
active | on-hold | cancelled | all
offsetinteger可选Example:
Result offset (default 0)
0limitinteger · 最小值: 1 · 最大值: 100可选Example:
Page size (1..100, default 20)
20响应
200
Order list
application/json
get
/user/api/orders200
Order list
最后更新于
这有帮助吗?

