This method allows you to add rewards (points) for your customers which can be visible through
have
enabled
Panel
10sort title
showSpace false
invoices
api
labels carrier carriers-setup edit-carrier
Excerpt | ||
---|---|---|
Use this method to add reward points to your customers. This reward points are visible on the sales screens, invoices, dashboards, and statements.
|
Info |
---|
If you want to |
enable this option |
, please contact us. |
title | Related Articles |
---|
Filter by label (Content by label) | |||
---|---|---|---|
|
|
|
|
|
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.
Code Block |
---|
{ "authenticationToken":"35hnsucsvikb79559ra8ioka3g", "customerId":29767, "value":12 } |
Response
status (integer:1)
Transaction status.
Valid values: 1 = Success | 0 = Failure
message (string:500)
Transaction status description.
Code Block |
---|
{ "status": "1", "message": "The points have been successfully saved" } |