---
title: "createClub"
method: POST
path: "/api/clubs"
tags: ["club-resource"]
---

# createClub

`POST /api/clubs`

## Request body

- ClubDTO
  - `code` integer
  - `description` string
  - `discount` number
  - `enabled` boolean
  - `id` integer
  - `name` string, required
  - `ownerMobile` string
  - `ownerName` string
  - `owneraCode` string
  - `owneraName` string
  - `theme` string
  - `type` 'AYRIA' | 'PERSEPOLIS' | 'KARAFARIN' | 'BIMEHKHAVARMIYANE'
  - `voucher` number

## Response `200`

OK

## Other responses

- `201` — Created
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

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