---
title: "Update a goal's points, length, or visibility"
method: PATCH
path: "/api/rewards/admin/goal-catalogue/{id}"
tags: ["Rewards (admin)"]
---

# Update a goal's points, length, or visibility

`PATCH /api/rewards/admin/goal-catalogue/{id}`

## Request

- Base URL: `https://api.rewritelifestyle.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rewritelifestyle.ai/api/rewards/admin/goal-catalogue/{id}`
- Auth: HTTP bearer

Label and rule shape stay migration-controlled — a new rule shape needs a new evaluator in RewardsGoalsService regardless of who edits the row, and this is not the place to hand-edit rule_params JSON.

## Path parameters

- `id` number, required

## Request body

- UpdateGoalCatalogueDto
  - `points` number
  - `total_days` number
  - `is_active` boolean
  - `is_recommendable` boolean
  - `sort_order` number

## Response `200`

## Changes

- **2026-09-12** `0d5ef02a4fbe`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/changes/api/rewards/admin/goal-catalogue/:id/patch.md)

---

[API](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api.md) - [All operations](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/revisions/28695827f27a?raw)
