Cloud Phone Inventory
Query cloud phone inventory.
Interface Address:
text
/papi/product/containerStockRequest Method:
text
POSTContent-Type:
text
application/jsonHeader 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:
| Parameter | Type | Required | Description |
|---|---|---|---|
| code | string | Yes | Corresponding SKU code |
| os | integer | No | Android version (10-Android12, 12-Android14) |
Request Example:
json
{
"code": "5abna8qxxy",
"os": 10
}Response Parameters:
| Parameter | Type | Description |
|---|---|---|
| code | integer | Error code. See Error Codes |
| data | integer | Inventory quantity |
| msg | string | Error message |
Response Example:
json
{
"code": 0,
"data": 999,
"msg": ""
}