---
title: "Update Referral Program Disabled Status"
method: PATCH
path: "/organization/referral-program/{event_id}/{referral_program_id}/status/"
tags: ["organization"]
---

# Update Referral Program Disabled Status

`PATCH /organization/referral-program/{event_id}/{referral_program_id}/status/`

## Request

- Base URL: `https://api.myticketpartner.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.myticketpartner.com/organization/referral-program/{event_id}/{referral_program_id}/status/`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/login/access/token`

Enable or Disable a referral program.
- is_disabled: true -> Disable the referral
- is_disabled: false -> Enable the referral

## Path parameters

- `event_id` integer, required
- `referral_program_id` integer, required

## Request body

- DisableReferralProgramSchema
  - `referral_domain_url` string, required
  - `is_disabled` boolean, required

## Response `200`

Successful Response

- unknown

## Other responses

- `404`: Not found
- `422`: Validation Error

## Changes

- **2026-09-03** `43ba83e1f2fe`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Operation history](https://skmtc.dev/myticketpartner/apis/white-labelling-booking-api/changes/organization/referral-program/:event_id/:referral_program_id/status/patch.md)

---

[API](https://skmtc.dev/myticketpartner/apis/white-labelling-booking-api.md) - [All operations](https://skmtc.dev/myticketpartner/apis/white-labelling-booking-api/llms.txt) - [OpenAPI document](https://skmtc.dev/myticketpartner/apis/white-labelling-booking-api/revisions/338d5dfbdf4c?raw)
