GetUserBuyStatus
Retrieves the purchase status of a user.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-greenweb:GetUserBuyStatus |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| CommodityCode |
string |
No |
The commodity code. |
lvwang_public_cn |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| Data |
object |
The returned data. |
|
| Buy |
boolean |
Indicates whether the commodity is activated on Alibaba Cloud. |
True |
| Indebt |
boolean |
Indicates whether there is an overdue payment. |
False |
| Bid |
integer |
Bid。 |
26842 |
| Tag |
string |
The label. |
bailian |
| InstanceId |
string |
The instance ID. |
xxx-xxx-xxx |
| Success |
boolean |
The success flag. |
True |
| Code |
integer |
The error code. |
200 |
| Msg |
string |
The description of the error code. |
OK |
| RequestId |
string |
The ID assigned by the backend to uniquely identify the request. This ID can be used to troubleshoot issues. |
AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE**** |
Examples
Success response
JSON format
{
"Data": {
"Buy": true,
"Indebt": true,
"Bid": 26842,
"Tag": "bailian",
"InstanceId": "xxx-xxx-xxx"
},
"Success": true,
"Code": 200,
"Msg": "OK",
"RequestId": "AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\n"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.