Skip to content

CustomerPoints_Load_Points#


Description#

This functions allows you to load the points in for a specific customer

Request Body Parameters#

Parameter
Type Description
customer_id
edit_customer
customer_login
Number
String
String
The customer id
The customer login
The customer login

Response Parameters#

Parameter
Type Description
cust_id Number ID of Customer loaded
points Number Points total for Customer

Example Request#

{
    "Store_code": "beta",
    "Function": "Module",
    "Module_Code": "points",
    "Module_Function": "CustomerPoints_Load_Points",
    "Customer_Login": "my_customer_login"
}

Example Response#

{
    "success": 1,
    "data": {
        "cust_id": 1,
        "points": 390
    }
}