Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
This method allows you to add rewards (points) for your customers which can be visible through
Excerpt

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

Tip

Valid Tokens: Company.

Info

If you want to

have

enable this option

enabled

, please contact us.

Panel
titleRelated Articles

Filter by label (Content by label)
showLabelsfalse
max
10sorttitle
6
showSpacefalse
titleRelated Articles
cqllabel in ( "customer-add-api" , "customer-
invoices
account" , "
api
company-token" )
labelscarrier carriers-setup edit-carrier

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"
}