---
title: "createTicketType"
method: POST
path: "/campaigns/{campaign}/ticket-types"
tags: ["Ticket Type"]
---

# createTicketType

`POST /campaigns/{campaign}/ticket-types`

## Request

- Base URL: `https://pro.gofundme.com/api/2.0`
- URL: `https://pro.gofundme.com/api/2.0/campaigns/{campaign}/ticket-types`
- Auth: OAuth 2
  - Password
  - Token URL: `/oauth2/auth`

Create a Ticket Type for a given Campaign.

## Path parameters

- `campaign` integer, required

## Request body

- TicketTypeFillable
  - `commitment` object, nullable: A Commitment defines an agreement by a Supporter to raise a specified amount, or meet a certain condition, within a specific timeframe when ticket having commitment is purchased.
    - `deadline` string, date-time: Deadline for Commitment agreement
    - `value` number, double: Commitment amount
  - `description` string, nullable: Description of Ticket Type
  - `ended_at` string, date-time, nullable: Date when Ticket Type is no longer available
  - `entries_per_ticket` integer: How many entries a Ticket of this type grants to a purchaser
  - `is_active` boolean: Whether Ticket Type is available to purchase
  - `max_per_transaction` integer: The most Tickets of this type that be purchased in a single transaction
  - `name` string: The name of the TicketType
  - `org_percent` number, double, nullable: Use deductible_percent
  - `deductible_amount` number, double, nullable: Amount of ticket price that is considered donation to campaign (May only specify deductible_percent OR deductible_amount)
  - `deductible_percent` number, double, nullable: Percentage of ticket price that is considered donation to campaign (May only specify deductible_percent OR deductible_amount)
  - `price` number, double: Price of a single Ticket of this type.
  - `quantity_available` integer, nullable: Quantity of Tickets available for purchase. Use 'null' for unlimited tickets.
  - `started_at` string, date-time, nullable: Date when Ticket Type can start being purchased
  - `weight` integer, nullable: Display order

## Response `200`

Success

- TicketType
  - `commitment` object, nullable: A Commitment defines an agreement by a Supporter to raise a specified amount, or meet a certain condition, within a specific timeframe when ticket having commitment is purchased.
    - `deadline` string, date-time: Deadline for Commitment agreement
    - `value` number, double: Commitment amount
  - `description` string, nullable: Description of Ticket Type
  - `ended_at` string, date-time, nullable: Date when Ticket Type is no longer available
  - `entries_per_ticket` integer: How many entries a Ticket of this type grants to a purchaser
  - `is_active` boolean: Whether Ticket Type is available to purchase
  - `max_per_transaction` integer: The most Tickets of this type that be purchased in a single transaction
  - `name` string: The name of the TicketType
  - `org_percent` number, double, nullable: Use deductible_percent
  - `deductible_amount` number, double, nullable: Amount of ticket price that is considered donation to campaign (May only specify deductible_percent OR deductible_amount)
  - `deductible_percent` number, double, nullable: Percentage of ticket price that is considered donation to campaign (May only specify deductible_percent OR deductible_amount)
  - `price` number, double: Price of a single Ticket of this type.
  - `quantity_available` integer, nullable: Quantity of Tickets available for purchase. Use 'null' for unlimited tickets.
  - `started_at` string, date-time, nullable: Date when Ticket Type can start being purchased
  - `weight` integer, nullable: Display order
  - `campaign_id` integer: The ID of the Campaign the Ticket Type belongs to
  - `commitment_id` integer, nullable: The ID of the Commitment associated to the TicketType
  - `created_at` string, date-time: Timestamp from when TicketType was created
  - `id` integer: Primary identifier of record
  - `is_classy_mode` boolean: Whether TicketType is fees on top.
  - `min_per_transaction` integer, nullable: The min Tickets of this type that be purchased in a single transaction
  - `quantity_reserved` integer: Quantity of Tickets that are reserved awaiting checkout/payment. Only available for FRS campaigns.
  - `quantity_sold` integer: Quantity of Tickets that have been sold. Only available for FRS campaigns.
  - `updated_at` string, date-time: Date when Tickets of this type was last updated

## Other responses

- `403`: Requester is not authorized to perform action
- `404`: Campaign not found

---

[API](https://skmtc.dev/gofundme/apis/gofundme-pro-api.md) - [All operations](https://skmtc.dev/gofundme/apis/gofundme-pro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gofundme/apis/gofundme-pro-api/revisions/094a1e510fe9?raw)
