Search

editEarnedRewardPointRecord

Edit an existing record in reward point history where a customer has earned reward points.

The history (and transactionIDs) can be retrieved with getEarnedRewardPointRecords.

Under normal circumstances, you should not use this method; this is only for transfering points history from one customer to another, or for correcting errors in points history. To add or remove points, use subtractCustomerRewardPoints and addCustomerRewardPoints instead.

Related API calls for editing reward point usage history are getUsedRewardPointRecords and editUsedRewardPointRecord.

Input parameters

Parameter nameDescriptionPossible valueRequired
transactionIDRecord ID.Integer yes
customerIDChange customer ID on the record.Integer
invoiceIDChange invoice ID on the record (the sale that earned the points).Integer
createdUnixTimeChange the timestamp when the reward points were earned.Unix timestamp
expiryUnixTimeChange the expiry timestamp for these reward points.Unix timestamp
pointOfSaleIDChange register ID.
Available only if "Reward point extras" module is enabled on your account.
Integer
employeeIDChange cashier who processed the sale.
Available only if "Reward point extras" module is enabled on your account.
Integer
descriptionChange the comment.
Available only if "Reward point extras" module is enabled on your account.
String

Response

Field nameTypeDescription
transactionIDIntegerTransaction ID.