Last Updated on : 2024-01-12 02:43:27download
Issue loyalty points of the specified store to the specified user.
POST: /v1.0/cloud/ecm/store/point/deliver
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
mall_code | String | body | true | The code of the specified mall. |
shop_code | String | body | true | The code of the specified store. |
user_id | String | body | true | The user ID (UID). |
point_num | Integer | body | true | The number of loyalty points. |
remark | String | body | true | The remarks. |
Parameter name | Type | Description |
---|---|---|
tid | String | The link ID. |
success | Boolean | Indicates whether the operation is successful. |
t | String | The timestamp. |
POST: /v1.0/cloud/ecm/store/point/deliver
{
"mall_code": "8h*****",
"shop_code": "Pd*****",
"user_id": "sh*****",
"point_num": 10,
"remark": "#1001"
}
{
"tid": "c4******",
"t": 1703732219617,
"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