---
title: "Publish a rewards program"
method: POST
path: "/rewards_programs/{id}/publish"
tags: ["Rewards programs"]
---

# Publish a rewards program

`POST /rewards_programs/{id}/publish`

## Path parameters

- `id` string, required

## Response `200`

The published `RewardsProgram`

- RewardsProgram
  - `id` string, required — The ID of the rewards program
  - `name` string, nullable, required — The name of the rewards program
  - `points_earned_per_dollar_spent` integer, required — The number of points earned per dollar spent
  - `point_redemption_value` union, required — The value of a single point in dollars
    - string
    - number
  - `points_for_member_class_attendance` integer, required — The number of points earned for attending a class
  - `points_for_referring_new_student` integer, required — The number of points earned for referring a new student
  - `points_for_referring_new_student_that_signs_up` integer, required — The number of points earned for referring a new student that signs up
  - `points_for_every_ten_classes_non_member` integer, required — The number of points earned for every ten classes attended
  - `points_for_first_visit_in_three_months` integer, required — The number of points earned for first visit in three months
  - `program_image_url` string, nullable, required — The URL of the program image
  - `earning_cycle` string, nullable, required — The earning cycle of the program
  - `published` boolean, required — Whether the program is published
  - `status` 'draft' | 'backfilling' | 'published', required — The status of the program

---

[API](https://skmtc.dev/pocketflows/apis/pocketflows-api.md) · [All operations](https://skmtc.dev/pocketflows/apis/pocketflows-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pocketflows/pocketflows-api/revisions/26723490b96f/schema)
