---
title: "Update Referral Program"
method: PUT
path: "/organization/edit-referral-program/{event_id}/{referral_program_id}/"
tags: ["organization"]
---

# Update Referral Program

`PUT /organization/edit-referral-program/{event_id}/{referral_program_id}/`

## 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/edit-referral-program/{event_id}/{referral_program_id}/`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/login/access/token`

## Path parameters

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

## Request body

- UpdateReferralProgramSchema
  - `first_name` string, nullable
  - `last_name` string, nullable
  - `email` string, email, nullable
  - `mobile_number` string, nullable
  - `is_commission_per_order` boolean, nullable
  - `is_commission_per_ticket` boolean, nullable
  - `is_commission_enabled` boolean, nullable
  - `referrel_in_amount` integer, nullable
  - `referral_in_percentage` integer, nullable
  - `domain_url` string, nullable
  - `country_code` string, nullable
  - `country_short_name` string, nullable
  - `event_currency` string, nullable

## 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/edit-referral-program/:event_id/:referral_program_id/put.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)
