Last Updated on : 2024-01-12 02:43:42download
Query the details of the specified user's loyalty points.
GET: /v1.0/cloud/ecm/store/point/detail
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
mall_code | String | query | true | The code of the specified mall. |
shop_code | String | query | true | The code of the specified store. |
user_id | String | query | true | The user ID (UID). |
Parameter name | Type | Description |
---|---|---|
result | Object | The returned result. |
success | Boolean | Indicates whether the operation is successful. |
tid | String | The link ID. |
Description of result
Parameter name | Type | Description |
---|---|---|
user_id | String | The user ID (UID). |
usable_amount | Integer | The available loyalty points of the specified user. |
GET: /v1.0/cloud/ecm/store/point/detail
{
"mall_code": "8h*****",
"shop_code": "Pd*****",
"user_id": "sh*****"
}
{
"tid": "0b*****",
"result": {
"userId": "sh*****",
"usableAmount": 240
},
"t": 1703582445353,
"success": true
}
For more information, see error code.
Error code | Error message | Description |
---|---|---|
21000000 | unknown error | An unknown error occurs. |
21000001 | user not found | The user does not exist. |
21000002 | mall not exist | The mall does not exist. |
21000003 | shop not exist | The store does not exist. |
21000004 | app not found | The app does not exist. |
21000005 | invalid param | The request parameter is invalid. |
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback