Adjust a Customer's Point BalanceAsk AIpost https://loyalty.yotpo.com/api/v2/points/adjustBody Paramscustomer_emailstringrequiredThe customer's email address. Required if no customer_id is passed.customer_idstringThe identifier used to uniquely identify the customer in your system. Required if implementing a generic e-commerce integration.point_adjustment_amountint32requiredThe amount of points you wish to add or remove. Use a positive integer to add points (e.g., reward customer, refund points) or a negative integer to remove points (e.g., redeem for discount, remove earned points, expire points).apply_adjustment_to_points_earnedbooleanChoose if this should also apply to the customer's total points earned value. Set to true when rewarding a customer or removing earned points. Set to false when refunding points deducted by redemption/expiration, redeeming points for a discount, or expiring points.truetruefalsehistory_titlestringUse this to override the normal description shown to the user in their history. Will default to the campaign settings otherwise.visible_to_customerbooleanDefaults to trueChoose whether the adjustment is visible to the customer on-sitetruefalseHeadersacceptstringenumDefaults to application/jsonGenerated from available response content typesapplication/jsontext/plainAllowed:application/jsontext/plainResponses 200200 422422 423423Updated 4 months ago