PATCH
/
v2
/
rewards
/
{reward_id}
Updates a reward
curl --request PATCH \
  --url https://dev.sbx.imprint.co/v2/rewards/{reward_id} \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": 120000,
  "status": "PENDING"
}'
{
  "id": "2EE24580-B97B-4949-A65C-929CCB9B9B8D",
  "customer_id": "9B5E1EE0-2E1C-46E7-81B9-3C3917204BE4",
  "transaction_event_id": "E777214A-2D11-4CAD-9E8F-E1BD71D9FE67",
  "amount": 123,
  "type": "TRANSACTIONAL",
  "currency": "POINTS",
  "status": "PENDING",
  "created_at": "2025-02-13T19:08:07.000Z",
  "updated_at": "2025-02-13T19:08:07.000Z",
  "metadata": {
    "platform_version": "2.1.0"
  }
}

Authorizations

Authorization
string
header
required

Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>

Path Parameters

reward_id
string
required

Unique identifier for the reward

Example:

"2EE24580-B97B-4949-A65C-929CCB9B9B8D"

Body

application/json

Response

200 - application/json

Reward updated successfully

The response is of type object.