Adjust Loyalty Customer Points

Adds or removes points from a customer's balance outside of normal campaign earning: for goodwill credits, support resolutions, or corrections. The adjustment appears in the customer's points history. A 423 means the customer record is mid-processing: retry the same request after a few seconds.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Adjustment use cases

When adjusting a customer's points, you can provide a positive or negative value depending on the reason for the adjustment.

Below is an overview of common adjustment reasons. You can provide different parameters, depending on the reason for the adjustment.

It's important to note that certain adjustments will only affect the customer's current point balance, while others will also affect their lifetime or total points earned.

Adjustment reasonDescriptionpoint_adjustment_amountapply_adjustment_to_points_earned
Reward customerReward a customer with pointsPositive integerTRUE
Refund points deducted by redemption/expirationReimburse a customer if they lost points due to a refund or points expirationPositive integerFALSE
Redeem points for a discountUse a customer's points in order to redeem a discount on their behalfNegative integerFALSE
Remove earned pointsDeduct points that were not supposed to be earned, for example - points earned for a purchase that was later refunded or cancelledNegative integerTRUE
Expire pointsBypass the point expiration date set in your Loyalty & Referrals admin and expire them immediatelyNegative integerFALSE
👍

How to use this endpoint

Requests for this endpoint are limited to 100 requests/minute, per app key.

📘

Before you adjust points

  • Wrap the fields in a points object, as in the example on the right.
  • The customer has to be opted in to the loyalty program. Otherwise the call returns 422 with Customer has to be opt in for manual adjustment.
Path Params
string
required

Your Store ID (app key).

Body Params
points
object
required

The adjustment. Identify the customer with customer_email or customer_id.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json