v1

latestOpenAPI 3.1.02026-07-26141236.8 KB
Points Transactions

Create a points transaction

Add or remove points from a customer's points balance by creating a points transaction.

post/points_transactions

Request body

Example request

{
  "points_transaction": {
    "customer_id": 304169228,
    "points_change": 100,
    "description": "Points correction",
    "internal_note": "Due to issue with order #6834"
  }
}

Response

The points transaction was successfully created.

Example response

{
  "points_transaction": {
    "id": 825673452,
    "customer_id": 304169228,
    "points_change": 100,
    "description": "Points correction",
    "internal_note": "Due to issue with order #6834",
    "created_at": "2024-12-07T20:15:27.893Z",
    "updated_at": "2024-12-07T20:15:27.893Z"
  }
}