PPylon Developers
ApiTicket Types

Create Ticket Type

POST
/api/organizer/v1/events/{id}/ticket-types
AuthorizationBearer <token>

Enter your bearer token from the Pylon Auth API.

In: header

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://loading/api/organizer/v1/events/497f6eca-6276-4993-bfeb-53cbbbba6f08/ticket-types" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "description": null,    "price": 0,    "currency": "str",    "quantity": 0,    "maxPerOrder": 0,    "saleStartAt": "2019-08-24T14:15:22Z",    "saleEndAt": "2019-08-24T14:15:22Z",    "sortOrder": 0  }'
{
  "ticketTypeId": "2205b8a7-79ec-406f-ac86-a5e81fe84318"
}
{
  "code": "string",
  "message": "string"
}