---
title: "Create Referral Program"
method: POST
path: "/organization/referral-program/{organization_id}/{event_id}/"
tags: ["organization"]
---

# Create Referral Program

`POST /organization/referral-program/{organization_id}/{event_id}/`

## Path parameters

- `organization_id` integer, required
- `event_id` integer, required

## Request body

- CreateReferralProgramSchema
  - `first_name` string, required
  - `last_name` string, required
  - `email` string, email, required
  - `mobile_number` string, required
  - `domain_url` string, required
  - `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
  - `country_code` string, nullable
  - `event_currency` string, nullable
  - `country_short_name` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

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

---

[API](https://skmtc.dev/myticketpartner/apis/fastapi.md) · [All operations](https://skmtc.dev/myticketpartner/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/myticketpartner/fastapi/revisions/b574a0cabefe/schema)
