This endpoint allows you to add or remove points to/from a customer.
OperationType=0 if you want to add points. Use OperationType=1 if you want to remove pointspositive number (eg: 10).negative number (eg: -10)This field allows you to create idempotency: even if you make the exactly same request twice it will change points only once. As distributed systems should be fault-tolerant it may result in requests being done more than one time. Not using the ChangeKey may duplicate a change-point request thus adding or removing more point than intended
Inform some string that is unique for this change.
For instance: if you are adding 10 point for customerID=ABC regarding the OrderId=123 purchase he just made, our key could be ADD-ABC-10-123
If you dont need this kind of verification you can just use some time-related string, such as 2023-01-01 23:59:00:000
This field is important to track why some point are given/taken from the customer. This information is internal-use only, it will not be visible to the customer.
Use API Basic Auth Keys
Point changing information
Change Points from a customer. Either E-mail or CustomerId are required
Amount of points to add or remove from customer. If adding it must be positive. If removing it must be negative
Either is adding or removing points from customer
0, 1 Information regarding why these points are being add/removed. Internal information only. Required.
This is a unique key for this add/remove point removal. If you try to use the same key more than once it will result in error