获取组织下的产品列表
GET
/skusSDK API 调用方式
PartnerClient client = new PartnerClient(accessKey,privateKey)
client.v2().order().list(new ListSkus(1,1,1,1,1))
请求参数
Query 参数
category
integer
必需
产品类型,选填,默认全部;1-卡+套餐产品
status
integer
必需
产品状态,选填,默认启用,1-启用;2-禁用;3-废弃;4-全部
示例值:
2
page_no
integer
选填,默认1
示例值:
1
page_size
integer
必需
选填,1-100,默认100
示例值:
1
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
status
#/definitions/41430733必需
total_count
integer | null
必需
data
#/definitions/50556104必需
示例
{
"data": [
{
"category": 1,
"status": 1,
"name": "组合产品111",
"description": "测试",
"coverage": "CG-6HPXQD6GFDE1",
"tax": 6,
"currency": "CNY",
"id": "CP-6HPXRQI88QSM",
"created_at": 1685520268000,
"updated_at": 1685516394846,
"factory_price": 100,
"sim_specs": {
"type": 1,
"grade": 1,
"artwork": 2,
"printing": 1,
"tech": 3,
"form_factor": "2+3+4FF"
},
"sim_service": {
"testdata": {
"state": 1,
"limit": 102400
},
"preactivation": {
"period_unit": 2,
"period": 12
},
"predeactivation": {
"period_unit": 2,
"period": 6
},
"bundle": {
"data_limit": 31457280,
"period_type": 2,
"period_number": 3,
"cycles": 2
},
"service_type": 1,
"global_overage_policy": {
"type": 1,
"overage_type": 1,
"overage_allowance": 1048576
}
}
}
],
"status": {
"code": "CB-00-0000",
"message": "成功",
"detail": "https://developer.linksfield.net/doc-1413557?nav=01GBM770ARR76AXBD5856Z6J6P"
},
"total_count": 15
}
最后修改时间: 1 年前