Skip to content

CustomerPointTransaction_Insert#


Description#

This function allows you to insert a new point transaction list. These transactions will be automatically added to the customer’s overall point balance.

Request Body Parameters#

Parameter
Type Description
customer_id
edit_customer
customer_login
Number
String
String
The customer id
The customer login
The customer login
Description String The description for the transaction list
Points Number The amount of points to add to the customers account

Response Parameters#

Parameter
Type Description
success Boolean Value of 1 or 0 if the insert was successful

Example Request#

{
    "Store_code": "beta",
    "Function": "Module",
    "Module_Code": "points",
    "Module_Function": "CustomerPointTransaction_Insert",
    "Customer_Login": "my_customer_login",
    "Description": "Awesome Customer! Points as a reward.",
    "Points": 50
}

Example Response#

{
    "success": 1
}