{
  "opencollection": "1.0.0",
  "info": {
    "name": "Ticket Tailor API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{apiKey}}",
      "password": ""
    }
  },
  "items": [
    {
      "info": { "name": "Utility", "type": "folder" },
      "items": [
        {
          "info": { "name": "Ping.", "type": "http" },
          "http": { "method": "GET", "url": "https://api.tickettailor.com/v1/ping" },
          "docs": "Simple connectivity and authentication check."
        }
      ]
    },
    {
      "info": { "name": "Events", "type": "folder" },
      "items": [
        {
          "info": { "name": "List all events.", "type": "http" },
          "http": {
            "method": "GET",
            "url": "https://api.tickettailor.com/v1/events",
            "params": [
              { "name": "starting_after", "value": "", "type": "query", "description": "Cursor - return results after this object ID." },
              { "name": "ending_before", "value": "", "type": "query", "description": "Cursor - return results before this object ID." },
              { "name": "limit", "value": "100", "type": "query", "description": "Maximum results per page (max 100)." }
            ]
          },
          "docs": "Returns a paginated list of events belonging to the box office."
        },
        {
          "info": { "name": "Retrieve an event.", "type": "http" },
          "http": {
            "method": "GET",
            "url": "https://api.tickettailor.com/v1/events/:id",
            "params": [
              { "name": "id", "value": "", "type": "path", "description": "The event ID." }
            ]
          },
          "docs": "Retrieves a single event by its ID."
        }
      ]
    },
    {
      "info": { "name": "Event Series", "type": "folder" },
      "items": [
        {
          "info": { "name": "List all event series.", "type": "http" },
          "http": { "method": "GET", "url": "https://api.tickettailor.com/v1/event_series" },
          "docs": "Returns a paginated list of event series in the box office."
        },
        {
          "info": { "name": "Create an event series.", "type": "http" },
          "http": {
            "method": "POST",
            "url": "https://api.tickettailor.com/v1/event_series",
            "body": { "type": "form", "data": "" }
          },
          "docs": "Creates a new event series."
        },
        {
          "info": { "name": "Retrieve an event series.", "type": "http" },
          "http": {
            "method": "GET",
            "url": "https://api.tickettailor.com/v1/event_series/:id",
            "params": [
              { "name": "id", "value": "", "type": "path", "description": "The event series ID." }
            ]
          },
          "docs": "Retrieves a single event series by its ID."
        },
        {
          "info": { "name": "Update an event series.", "type": "http" },
          "http": {
            "method": "PUT",
            "url": "https://api.tickettailor.com/v1/event_series/:id",
            "params": [
              { "name": "id", "value": "", "type": "path", "description": "The event series ID." }
            ],
            "body": { "type": "form", "data": "" }
          },
          "docs": "Updates an existing event series."
        },
        {
          "info": { "name": "Delete an event series.", "type": "http" },
          "http": {
            "method": "DELETE",
            "url": "https://api.tickettailor.com/v1/event_series/:id",
            "params": [
              { "name": "id", "value": "", "type": "path", "description": "The event series ID." }
            ]
          },
          "docs": "Deletes an event series."
        },
        {
          "info": { "name": "Change event series status.", "type": "http" },
          "http": {
            "method": "PATCH",
            "url": "https://api.tickettailor.com/v1/event_series/:id/status",
            "params": [
              { "name": "id", "value": "", "type": "path", "description": "The event series ID." }
            ],
            "body": { "type": "form", "data": "status=published" }
          },
          "docs": "Publishes or unpublishes an event series."
        },
        {
          "info": { "name": "Create a ticket type for an event series.", "type": "http" },
          "http": {
            "method": "POST",
            "url": "https://api.tickettailor.com/v1/event_series/:id/ticket_types",
            "params": [
              { "name": "id", "value": "", "type": "path", "description": "The event series ID." }
            ],
            "body": { "type": "form", "data": "" }
          },
          "docs": "Creates a ticket type scoped to the given event series."
        },
        {
          "info": { "name": "Create a ticket group for an event series.", "type": "http" },
          "http": {
            "method": "POST",
            "url": "https://api.tickettailor.com/v1/event_series/:id/ticket_groups",
            "params": [
              { "name": "id", "value": "", "type": "path", "description": "The event series ID." }
            ],
            "body": { "type": "form", "data": "" }
          },
          "docs": "Creates a ticket group scoped to the given event series."
        }
      ]
    },
    {
      "info": { "name": "Orders", "type": "folder" },
      "items": [
        {
          "info": { "name": "List all orders.", "type": "http" },
          "http": { "method": "GET", "url": "https://api.tickettailor.com/v1/orders" },
          "docs": "Returns a paginated list of orders belonging to the box office."
        },
        {
          "info": { "name": "Retrieve an order.", "type": "http" },
          "http": {
            "method": "GET",
            "url": "https://api.tickettailor.com/v1/orders/:id",
            "params": [
              { "name": "id", "value": "", "type": "path", "description": "The order ID." }
            ]
          },
          "docs": "Retrieves a single order by its ID."
        },
        {
          "info": { "name": "Update an order.", "type": "http" },
          "http": {
            "method": "PATCH",
            "url": "https://api.tickettailor.com/v1/orders/:id",
            "params": [
              { "name": "id", "value": "", "type": "path", "description": "The order ID." }
            ],
            "body": { "type": "form", "data": "" }
          },
          "docs": "Updates an existing order."
        }
      ]
    },
    {
      "info": { "name": "Issued Tickets", "type": "folder" },
      "items": [
        {
          "info": { "name": "List all issued tickets.", "type": "http" },
          "http": { "method": "GET", "url": "https://api.tickettailor.com/v1/issued_tickets" },
          "docs": "Returns a paginated list of issued tickets."
        },
        {
          "info": { "name": "Create an issued ticket.", "type": "http" },
          "http": {
            "method": "POST",
            "url": "https://api.tickettailor.com/v1/issued_tickets",
            "body": { "type": "form", "data": "" }
          },
          "docs": "Issues a new ticket."
        },
        {
          "info": { "name": "Retrieve an issued ticket.", "type": "http" },
          "http": {
            "method": "GET",
            "url": "https://api.tickettailor.com/v1/issued_tickets/:id",
            "params": [
              { "name": "id", "value": "", "type": "path", "description": "The issued ticket ID." }
            ]
          },
          "docs": "Retrieves a single issued ticket by its ID."
        },
        {
          "info": { "name": "Void an issued ticket.", "type": "http" },
          "http": {
            "method": "POST",
            "url": "https://api.tickettailor.com/v1/issued_tickets/:id/void",
            "params": [
              { "name": "id", "value": "", "type": "path", "description": "The issued ticket ID." }
            ]
          },
          "docs": "Voids an issued ticket so it is no longer valid."
        }
      ]
    },
    {
      "info": { "name": "Vouchers", "type": "folder" },
      "items": [
        {
          "info": { "name": "List all vouchers.", "type": "http" },
          "http": { "method": "GET", "url": "https://api.tickettailor.com/v1/vouchers" },
          "docs": "Returns a paginated list of vouchers."
        },
        {
          "info": { "name": "Create a voucher.", "type": "http" },
          "http": {
            "method": "POST",
            "url": "https://api.tickettailor.com/v1/vouchers",
            "body": { "type": "form", "data": "" }
          },
          "docs": "Creates a voucher and its associated codes."
        },
        {
          "info": { "name": "Retrieve a voucher.", "type": "http" },
          "http": {
            "method": "GET",
            "url": "https://api.tickettailor.com/v1/vouchers/:id",
            "params": [
              { "name": "id", "value": "", "type": "path", "description": "The voucher ID." }
            ]
          },
          "docs": "Retrieves a single voucher by its ID."
        },
        {
          "info": { "name": "Modify a voucher.", "type": "http" },
          "http": {
            "method": "PUT",
            "url": "https://api.tickettailor.com/v1/vouchers/:id",
            "params": [
              { "name": "id", "value": "", "type": "path", "description": "The voucher ID." }
            ],
            "body": { "type": "form", "data": "" }
          },
          "docs": "Modifies an existing voucher."
        },
        {
          "info": { "name": "Delete a voucher.", "type": "http" },
          "http": {
            "method": "DELETE",
            "url": "https://api.tickettailor.com/v1/vouchers/:id",
            "params": [
              { "name": "id", "value": "", "type": "path", "description": "The voucher ID." }
            ]
          },
          "docs": "Removes a voucher."
        },
        {
          "info": { "name": "List voucher codes.", "type": "http" },
          "http": { "method": "GET", "url": "https://api.tickettailor.com/v1/voucher-codes" },
          "docs": "Returns a paginated list of voucher codes."
        }
      ]
    },
    {
      "info": { "name": "Check-ins", "type": "folder" },
      "items": [
        {
          "info": { "name": "List check-ins.", "type": "http" },
          "http": { "method": "GET", "url": "https://api.tickettailor.com/v1/check_ins" },
          "docs": "Returns a paginated list of check-ins."
        },
        {
          "info": { "name": "Create a check-in.", "type": "http" },
          "http": {
            "method": "POST",
            "url": "https://api.tickettailor.com/v1/check_ins",
            "body": { "type": "form", "data": "" }
          },
          "docs": "Records a check-in for an issued ticket at the door."
        }
      ]
    }
  ]
}
