---
title: "Update a reward"
method: PATCH
path: "/loyalty/v1/rewards/{id}"
tags: ["Reward"]
---

# Update a reward

`PATCH /loyalty/v1/rewards/{id}`

Edit the data of an existing reward. All new granted rewards will inherit of the updated data.

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string
  - `description` string
  - `rich_description` string
  - `image_url` string
  - `external_id` string
  - `forced_validity` boolean
  - `forced_valitidy_end` string
  - `forced_validity_start` string
  - `holding_days` integer
  - `max_attribution_count` integer
  - `monetary` boolean
  - `monetary_type` string
  - `monetary_value` number
  - `nqp_value` integer
  - `valitidy_interval_count` integer
  - `validity_interval_type` string
  - `custom_fields` CustomField[]
    - `name` string
    - `value` string

## Response `200`

Reward has successfully been updated.

## Other responses

- `400` — The request validation failed.
- `401` — Authentication failed.
- `403` — Forbidden.
- `404` — Reward not found.

---

[API](https://skmtc.net/splio/apis/splio-customer-platform.md) · [All operations](https://skmtc.net/splio/apis/splio-customer-platform/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/splio/splio-customer-platform/revisions/2ff4735f665c/schema)
