API Key & Notification Key的获取请通过Cube平台自助操作,详见说明文档
curl --location --request GET 'https://api.linksfield.net/cube/v4/skus?category=&status=2&page_no=1&page_size=1' \
--header 'Accept-Language: zh-CN' \
--header 'Authorization;' \
--header 'X-LF-Api-Version;' \
--header 'X-LF-Signature-Type;' \
--header 'timestamp;' \
--header 'nonce;' \
--header 'Content-Type: application/json'
{
"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
}