/
Add reward points to a Customer

Add reward points to a Customer

Use this method to add reward points to your customers. This reward points are visible on the sales screens, invoices, dashboards, and statements.

Valid Tokens: Company.

If you want to enable this option, please contact us.



Request


URL: https://api.kometsales.com/api/customer.reward.set

Method: POST

Content-Type: application/JSON


Input Parameters

authenticationToken (required)(string:50)

Komet Sales security token.


customerId (required) (integer:20)

Customer ID.

You can get this value from the customer.list API method.


value (required) (integer:10)

The number of points for the Customer.


{ "authenticationToken":"35hnsucsvikb79559ra8ioka3g", "customerId":29767, "value":12 }

 

Response


status (integer:1)

Transaction status.

Valid values: 1 = Success | 0 = Failure


message (string:500)

Transaction status description.


{ "status": "1", "message": "The points have been successfully saved" }
Peacock

Related content

Customer Awards (Komet Points)
Customer Awards (Komet Points)
More like this
Credits
Credits
More like this
Create an Open Credit Balance
Create an Open Credit Balance
More like this
Synchronize credits with an external system
Synchronize credits with an external system
More like this
Add a new Customer to Komet Sales
Add a new Customer to Komet Sales
More like this
Add or Update an Additional Charge for a Customer
Add or Update an Additional Charge for a Customer
More like this