Overview


This method allows you to add rewards (points) for your customers which can be visible through sales screens, invoices, dashboards and statements. If you want to have this option enabled, please contact us.

Request

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 obtain this value from the customer.list API method.
  • value (required) (integer:10): The number of points that the customer currently has.

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

Response

Output:

  • status (integer:1): transaction status. 1 for success or 0 for failure.
  • message (string:500): description of the status of the transaction.