editUsedRewardPointRecord

Edit an existing record in reward point usage history (where an amount has been subtracted from customer's point balance).

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

Under normal circumstances, you should not use this method; this is only for transferring 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 the history of earned reward points are getEarnedRewardPointRecords and editEarnedRewardPointRecord.

Input parameters

Parameter name Description Possible value Required
transactionID Record ID. integer yes
customerID Change customer ID on the record. integer
invoiceID Change invoice ID on the record (the sale that subtracted the points). integer
campaignID Change promotion ID (the promotion that caused the points to be subtracted). integer
warehouseID Change warehouse (store, location) ID (location where the points were subtracted). integer
salepointID Change register ID. integer
salespersonID Change cashier who applied the reward point-subtracting promotion. integer
issuedCouponID Change ID of the issued coupon (if reward points were exchanged for a coupon). Available only if "Reward point extras" module is enabled on your account. integer
description Change comment. Available only if "Reward point extras" module is enabled on your account. string

Response

Field name Type Description
transactionID integer Transaction ID.