Cloud Disk SkuList
Get cloud disk SKU list.
Interface Address:
text
/papi/product/cloudDeviceSkuListRequest Method:
text
POSTHeader Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| X-Access-Key | string | Yes | API access key ID. See API Rules for authentication |
| X-Signature | string | Yes | Signature value, Base64-encoded HMAC-SHA256 result |
| X-Timestamp | string | Yes | Millisecond-level Unix timestamp (13 digits) |
| X-Nonce | string | Yes | Random string, 10~32 lowercase letters and digits |
Body Parameters:
No request body parameters.
Response Parameters:
| Parameter | Type | Description |
|---|---|---|
| code | integer | Error code. See Error Codes |
| data | object | SKU details, including product name, type, description, code, and skuVOList spec list |
| ├─ name | string | Product name |
| ├─ type | integer | Product type |
| ├─ description | string | Product description |
| ├─ code | string | Product code |
| ├─ skuVOList | array | SKU spec list |
| ├─├─ skuCode | string | Spec code |
| ├─├─ aliasCode | string | SKU alias |
| ├─├─ skuName | string | Type name |
| ├─├─ defaultShow | boolean | Default show |
| ├─├─ price | integer | Price |
| ├─├─ saleStock | integer | Stock |
| ├─├─ level | integer | Level |
| ├─├─ des | string | Description |
| ├─├─ favorablePrice | number | Discount price |
| ├─├─ originalPrice | number | Original price |
| ├─├─ customizeType | integer | Customization type |
| ├─├─ os | integer | OS type |
| ├─├─ appList | array | Supported app list |
| ├─├─├─ logo | string | App icon URL |
| ├─├─├─ appName | string | App name |
| ├─├─ unAppList | array | Unsupported app list |
| ├─├─├─ logo | string | App icon URL |
| ├─├─├─ appName | string | App name |
| ├─├─ packageList | array | Package list |
| ├─├─├─ productCode | string | Product code |
| ├─├─├─ skuCode | string | Spec code |
| ├─├─├─ aliasCode | string | Spec alias |
| ├─├─├─ level | integer | Level |
| ├─├─├─ code | string | Package code |
| ├─├─├─ packageName | string | Package name |
| ├─├─├─ currency | string | Currency |
| ├─├─├─ period | integer | Period |
| ├─├─├─ tag | string | Tag |
| ├─├─├─ packagePrice | number | Package price (CNY) |
| ├─├─├─ originalPrice | number | Original price (CNY) |
| ├─├─├─ discountPrice | number | Discount price (CNY/period) |
| ├─├─├─ unitPrice | number | Unit price (CNY/period) |
| ├─├─├─ selfRate | number | Discount rate |
| ├─├─├─ defaultFlag | boolean | Default flag |
| msg | string | Error message |
Response Example:
json
{
"code": 0,
"data": {
"name": "Cloud Disk",
"type": 2,
"description": "Cloud disk product",
"code": "CLOUD_DISK",
"skuVOList": [
{
"skuCode": "j8dmvjz5xy",
"aliasCode": "basic",
"skuName": "Basic",
"defaultShow": true,
"price": 500,
"saleStock": 999,
"level": 1,
"des": "Basic cloud disk",
"favorablePrice": 400,
"originalPrice": 500,
"customizeType": 0,
"os": 0,
"appList": [],
"unAppList": [],
"packageList": []
}
]
},
"msg": ""
}