---
updatedAt: 2026-10-29T11:54:48.000Z
agentTools:
  projectIndex: https://docs.yotpo.com/llms.txt
---

# 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.

## 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.

<Table align={["left","left","left","left"]}>
  <thead>
    <tr>
      <th>
        Adjustment reason
      </th>

      <th>
        Description
      </th>

      <th>
        point_adjustment_amount
      </th>

      <th>
        apply_adjustment_to_points_earned
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        Reward customer
      </td>

      <td>
        Reward a customer with points
      </td>

      <td>
        Positive integer
      </td>

      <td>
        TRUE
      </td>
    </tr>

    <tr>
      <td>
        Refund points deducted by redemption/expiration
      </td>

      <td>
        Reimburse a customer if they lost points due to a refund or points expiration
      </td>

      <td>
        Positive integer
      </td>

      <td>
        FALSE
      </td>
    </tr>

    <tr>
      <td>
        Redeem points for a discount
      </td>

      <td>
        Use a customer's points in order to redeem a discount on their behalf
      </td>

      <td>
        Negative integer
      </td>

      <td>
        FALSE
      </td>
    </tr>

    <tr>
      <td>
        Remove earned points
      </td>

      <td>
        Deduct points that were not supposed to be earned, for example - points earned for a purchase that was later refunded or cancelled
      </td>

      <td>
        Negative integer
      </td>

      <td>
        TRUE
      </td>
    </tr>

    <tr>
      <td>
        Expire points
      </td>

      <td>
        Bypass the point expiration date set in your Loyalty & Referrals admin and expire them immediately
      </td>

      <td>
        Negative integer
      </td>

      <td>
        FALSE
      </td>
    </tr>
  </tbody>
</Table>

> 👍 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.`

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "App partners API",
    "description": "Endpoints for apps that Yotpo merchants install. The app-level webhook is defined separately, in webhooks.json.",
    "version": "2"
  },
  "servers": [
    {
      "url": "https://developers.yotpo.com"
    }
  ],
  "security": [
    {
      "X-Yotpo-Token": []
    }
  ],
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "paths": {
    "/loyalty/v3/stores/{store_id}/points/adjust": {
      "post": {
        "summary": "Adjust Loyalty Customer Points",
        "description": "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.",
        "operationId": "adjust-loyalty-customer-points",
        "parameters": [
          {
            "name": "store_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Your Store ID (app key)."
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "points"
                ],
                "properties": {
                  "points": {
                    "type": "object",
                    "required": [
                      "customer_email",
                      "point_adjustment_amount"
                    ],
                    "properties": {
                      "customer_email": {
                        "type": "string",
                        "description": "The customer's email address. Required if no customer_id is passed."
                      },
                      "customer_id": {
                        "type": "string",
                        "description": "The identifier used to uniquely identify the customer in your system. Required if implementing a generic e-commerce integration."
                      },
                      "point_adjustment_amount": {
                        "type": "integer",
                        "description": "The 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).",
                        "format": "int32"
                      },
                      "apply_adjustment_to_points_earned": {
                        "type": "boolean",
                        "description": "Choose 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."
                      },
                      "history_title": {
                        "type": "string",
                        "description": "Use this to override the normal description shown to the user in their history. Will default to the campaign settings otherwise."
                      },
                      "visible_to_customer": {
                        "type": "boolean",
                        "description": "Choose whether the adjustment is visible to the customer on-site",
                        "default": true
                      }
                    },
                    "description": "The adjustment. Identify the customer with `customer_email` or `customer_id`."
                  }
                }
              },
              "examples": {
                "Adjust Loyalty Customer Points": {
                  "value": {
                    "points": {
                      "customer_email": "name@example.com",
                      "history_title": "Campaign type name",
                      "point_adjustment_amount": -10,
                      "visible_to_customer": true,
                      "apply_adjustment_to_points_earned": true
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": " {\n   \"errors\": [\n       {\n           \"message\": \"point_adjustment_amount is not a number\"\n       }\n   ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "message": {
                            "type": "string",
                            "example": "point_adjustment_amount is not a number"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid access token. Send a valid token in the `X-Yotpo-Token` header.",
            "content": {
              "application/json": {
                "examples": {
                  "Missing token": {
                    "summary": "No token sent (or sent as Authorization: Bearer)",
                    "value": {
                      "error": "invalid_request",
                      "error_description": "The access token is missing"
                    }
                  },
                  "Invalid token": {
                    "summary": "Token unknown, revoked or for another app",
                    "value": {
                      "error": "invalid_token",
                      "error_description": "The access token is invalid or has expired"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "description": "OAuth error code: `invalid_request` when no token was sent, `invalid_token` when the token is unknown, revoked or expired.",
                      "enum": [
                        "invalid_request",
                        "invalid_token"
                      ]
                    },
                    "error_description": {
                      "type": "string",
                      "description": "Human-readable reason for the error."
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "The request was read but can't be applied, for example because the customer isn't opted in to the loyalty program.",
            "content": {
              "application/json": {
                "examples": {
                  "Customer not opted in": {
                    "value": {
                      "errors": [
                        {
                          "message": "Customer has to be opt in for manual adjustment."
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "description": "What went wrong.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "message": {
                            "type": "string",
                            "description": "The error message."
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "components": {
    "securitySchemes": {
      "X-Yotpo-Token": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Yotpo-Token",
        "description": "Send your app's access token for the merchant's store in the `X-Yotpo-Token` header of every request. To get a token, see [Generate Access Token](ref:generate-a-token). The API also reads the token from an `access_token` query parameter, but that isn't recommended: URLs end up in server and proxy logs. `Authorization: Bearer` is not supported."
      }
    }
  }
}
```

# Sibling pages

* [Retrieve Earning Rules](https://docs.yotpo.com/reference/retrieve-earning-rules.md)
* [Record Loyalty Customer Action](https://docs.yotpo.com/reference/record-loyalty-customer-action.md)