openapi: 3.0.0
info:
  title: SkyBox API
  description: >-
    2a0209a1-7f3b-47f2-86fa-139dce3b8d6e is a sample Application Token provided for usage within the API Documentation only. If you have already received a unique Application Token, you may also substitute that token in the Application Token field. Click here (link to: https://skybox.vividseats.com/application-sign-up) to request a unique Application Token.


    Please note that 2a0209a1-7f3b-47f2-86fa-139dce3b8d6e has lower rate limits than a typical Application Token, so you may encounter more 429 responses while utilizing this token in the API Documentation than you will using a live Application Token in production.
  contact: {}
  version: '1.0.0'
servers:
- url: https://skybox.vividseats.com/services
  description: Production
  variables: {}
- url: http://torpedo.vividseats.com/services
  description: Stage
  variables: {}
paths:
  /account/notifications:
    get:
      tags:
      - Account
      summary: getNotifications
      description: Get account notifications
      operationId: getNotifications
      parameters:
      - name: Client-Timezone
        in: header
        description: ''
        style: simple
        schema:
          $ref: '#/components/schemas/DateTimeZone'
      responses:
        '200':
          description: notifications returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Notification'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /account:
    get:
      tags:
      - Account
      summary: get
      description: Gets an account
      operationId: get
      parameters: []
      responses:
        '200':
          description: account returned
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Account'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '404':
          description: account not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /addresses/{address-id}:
    get:
      tags:
      - Addresses
      summary: getById
      description: Retrieves an address by the address id
      operationId: getById
      parameters:
      - name: address-id
        in: path
        description: The address id of the address
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: address returned
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Address'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '404':
          description: address not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    put:
      tags:
      - Addresses
      summary: update
      description: Updates an address
      operationId: update
      parameters:
      - name: address-id
        in: path
        description: The address id of the address
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: The address object to update.
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Address'
              - description: The address object to update.
        required: true
      responses:
        '200':
          description: address updated
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Address'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    delete:
      tags:
      - Addresses
      summary: deleteById
      description: Deletes an address by the address id
      operationId: deleteById
      parameters:
      - name: address-id
        in: path
        description: The address id of the address
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: address deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /addresses:
    post:
      tags:
      - Addresses
      summary: insert
      description: Creates an address
      operationId: insert
      parameters: []
      requestBody:
        description: An address object to create.
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Address'
              - description: An address object to create.
        required: true
      responses:
        '200':
          description: address created
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Address'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /alerts/{alert-id}:
    get:
      tags:
      - Alerts
      summary: getById_1
      description: Retrieves an alert by the alert id
      operationId: getById_1
      parameters:
      - name: alert-id
        in: path
        description: The alert id
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: alert returned
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Alert'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '404':
          description: alert not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    delete:
      tags:
      - Alerts
      summary: acknowledge
      description: Acknowledges an alert
      operationId: acknowledge
      parameters:
      - name: alert-id
        in: path
        description: The alert id
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: alert acknowledged
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /alerts:
    get:
      tags:
      - Alerts
      summary: getByAccount
      description: Retrieves all alerts
      operationId: getByAccount
      parameters: []
      responses:
        '200':
          description: alerts returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Alert'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /assets:
    post:
      tags:
      - Assets
      summary: upload
      description: Uploads a PDF and returns a list of details
      operationId: upload
      parameters: []
      requestBody:
        description: The byte array of the PDF
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/PdfUpload'
              - description: The byte array of the PDF
        required: true
      responses:
        '200':
          description: PDF stored
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PdfDetails'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
        '500':
          description: error storing PDF
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /assets/{filename}:
    get:
      tags:
      - Assets
      summary: get_1
      description: Retrieves a file, base64 encoded
      operationId: get_1
      parameters:
      - name: filename
        in: path
        description: Asset file name
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: File returned
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '500':
          description: error contacting file store
          headers: {}
          content: {}
        '404':
          description: file not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /audits:
    get:
      tags:
      - Audit
      summary: search
      description: Retrieves and audit log for the account
      operationId: search
      parameters:
      - name: auditEntity
        in: query
        description: Filter by entity type.
        required: true
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/auditEntity'
          - description: Filter by entity type.
      - name: auditAction
        in: query
        description: Filter for audit action.
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/AuditAction'
          - description: Filter for audit action.
      - name: targetId
        in: query
        description: Filter by the entity id.
        required: true
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: node
        in: query
        description: Filter for a specific node.
        style: form
        explode: true
        schema:
          type: string
      responses:
        '200':
          description: audit list returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Audit'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /credit_card/{id}:
    get:
      tags:
      - Credit Cards
      summary: getById_2
      description: Retrieves a broker credit card by its id
      operationId: getById_2
      parameters:
      - name: id
        in: path
        description: The id of the credit card.
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: credit card returned
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreditCard'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '404':
          description: credit card not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    delete:
      tags:
      - Credit Cards
      summary: delete
      description: Deletes a credit card
      operationId: delete
      parameters:
      - name: id
        in: path
        description: The id of the credit card.
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: credit card deleted
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /credit_card:
    get:
      tags:
      - Credit Cards
      summary: getCreditCardsByAccountId
      description: Retrieves a credit card  by account id
      operationId: getCreditCardsByAccountId
      parameters: []
      responses:
        '200':
          description: credit cards returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CreditCard'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
        '404':
          description: credit cards not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    put:
      tags:
      - Credit Cards
      summary: update_1
      description: Updates a broker card
      operationId: update_1
      parameters:
      - name: Content-Type
        in: header
        description: ''
        required: true
        style: simple
        schema:
          enum:
          - application/x-www-form-urlencoded
          type: string
      requestBody:
        content:
          application/x-www-form-urlencoded:
            encoding: {}
            schema:
              type: object
              properties:
                token:
                  type: string
                billingAddress:
                  $ref: '#/components/schemas/BillingAddress'
                cardholderName:
                  type: string
                defaultCard:
                  type: boolean
        required: false
      responses:
        '200':
          description: credit card has been updated
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreditCard'
        '400':
          description: invalid request
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    post:
      tags:
      - Credit Cards
      summary: insert_1
      description: Creates a broker credit card
      operationId: insert_1
      parameters:
      - name: Content-Type
        in: header
        description: ''
        required: true
        style: simple
        schema:
          enum:
          - application/x-www-form-urlencoded
          type: string
      requestBody:
        content:
          application/x-www-form-urlencoded:
            encoding: {}
            schema:
              type: object
              properties:
                token:
                  type: string
                billingAddress:
                  $ref: '#/components/schemas/BillingAddress'
                cardholderName:
                  type: string
                defaultCard:
                  type: boolean
        required: false
      responses:
        '200':
          description: credit card has been created
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreditCard'
        '400':
          description: invalid request
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /credit_card/group/{group-id}/cards:
    get:
      tags:
      - Credit Cards
      summary: getCreditCards
      description: Gets all cards associated with a credit card group
      operationId: getCreditCards
      parameters:
      - name: group-id
        in: path
        description: The id of the credit card group.
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: credit cards returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomerCard'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /credit_card/group:
    get:
      tags:
      - Credit Cards
      summary: query
      description: Retrieves all credit card groups
      operationId: query
      parameters:
      - name: limit
        in: query
        description: Number of results per page
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: sortDir
        in: query
        description: Direction to sort
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortDir'
          - description: Direction to sort
      - name: pageNumber
        in: query
        description: Page number of results to show
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: lastFourDigits
        in: query
        description: Last five digits of the credit card
        style: form
        explode: true
        schema:
          type: string
      - name: cardType
        in: query
        description: Card type to filter
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/CardType'
          - description: Card type to filter
      - name: nameOnCard
        in: query
        description: Name on card
        style: form
        explode: true
        schema:
          type: string
      - name: groupName
        in: query
        description: Credit card group label to filter
        style: form
        explode: true
        schema:
          type: string
      - name: sortBy
        in: query
        description: Field to sort by
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortBy'
          - description: Field to sort by
      responses:
        '200':
          description: credit card groups returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CreditCardGroup'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    put:
      tags:
      - Credit Cards
      summary: updateGroup
      description: Updates a credit card group
      operationId: updateGroup
      parameters:
      - name: Content-Type
        in: header
        description: ''
        required: true
        style: simple
        schema:
          enum:
          - application/x-www-form-urlencoded
          type: string
      requestBody:
        content:
          application/x-www-form-urlencoded:
            encoding: {}
            schema:
              type: object
              properties:
                id:
                  type: integer
                  description: Required for updates, ignored on inserts.
                  format: int64
                accountId:
                  minimum: 1
                  type: integer
                  format: int64
                label:
                  type: string
                  description: The label of the credit card group.
                description:
                  type: string
                  description: The description of the credit card group.
                creditCards:
                  type: array
                  items:
                    $ref: '#/components/schemas/CreditCard'
                  description: ''
        required: false
      responses:
        '200':
          description: card group has been updated
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreditCardGroup'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    post:
      tags:
      - Credit Cards
      summary: insertGroup
      description: Creates a credit card group
      operationId: insertGroup
      parameters:
      - name: Content-Type
        in: header
        description: ''
        required: true
        style: simple
        schema:
          enum:
          - application/x-www-form-urlencoded
          type: string
      requestBody:
        content:
          application/x-www-form-urlencoded:
            encoding: {}
            schema:
              type: object
              properties:
                id:
                  type: integer
                  description: Required for updates, ignored on inserts.
                  format: int64
                accountId:
                  minimum: 1
                  type: integer
                  format: int64
                label:
                  type: string
                  description: The label of the credit card group.
                description:
                  type: string
                  description: The description of the credit card group.
                creditCards:
                  type: array
                  items:
                    $ref: '#/components/schemas/CreditCard'
                  description: ''
        required: false
      responses:
        '200':
          description: credit card group has been created
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreditCardGroup'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /credit_card/group/{id}:
    get:
      tags:
      - Credit Cards
      summary: getGroupById
      description: Retrieves a credit card group by its id
      operationId: getGroupById
      parameters:
      - name: id
        in: path
        description: The id of the credit card group
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: credit card group returned
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreditCardGroup'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '404':
          description: group not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    delete:
      tags:
      - Credit Cards
      summary: deleteGroup
      description: Deletes a credit card group
      operationId: deleteGroup
      parameters:
      - name: id
        in: path
        description: The id of the credit card group.
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: card group deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /customers/{customer-id}:
    get:
      tags:
      - Customers
      summary: getById_3
      description: Retrieves a customer by the customer id
      operationId: getById_3
      parameters:
      - name: customer-id
        in: path
        description: The id of the customer
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: customer returned
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Customer'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '404':
          description: customer not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    put:
      tags:
      - Customers
      summary: update_4
      description: Updates a customer
      operationId: update_4
      parameters:
      - name: customer-id
        in: path
        description: The id of the customer
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: The customer object to update.
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Customer'
              - description: The customer object to update.
        required: true
      responses:
        '200':
          description: customer has been updated
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Customer'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /customers/defaults:
    get:
      tags:
      - Customers
      summary: getDefaultsById
      description: Retrieves default customers for the account
      operationId: getDefaultsById
      parameters: []
      responses:
        '200':
          description: account default customers returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DefaultCustomer'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
        '404':
          description: customer not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    put:
      tags:
      - Customers
      summary: update_3
      description: Updates a default customer
      operationId: update_3
      parameters: []
      requestBody:
        description: The default customer object to update.
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/DefaultCustomer'
              - description: The default customer object to update.
        required: true
      responses:
        '200':
          description: customer has been updated
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DefaultCustomer'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /customers/{customer-id}/tags/{tag}:
    delete:
      tags:
      - Customers
      summary: removeTag
      description: Deletes a tag for a customer
      operationId: removeTag
      parameters:
      - name: customer-id
        in: path
        description: The id of the customer
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      - name: tag
        in: path
        description: Tag to be removed from the customer
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: tag deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /customers/{customer-id}/cards/{card-id}:
    get:
      tags:
      - Customers
      summary: getCards
      description: Retrieves a card associated with a customer
      operationId: getCards
      parameters:
      - name: customer-id
        in: path
        description: The id of the customer
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      - name: card-id
        in: path
        description: The card id associated to the customer
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: credit card returned
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerCard'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    delete:
      tags:
      - Customers
      summary: removeCard
      description: Deletes a card associated with a customer
      operationId: removeCard
      parameters:
      - name: customer-id
        in: path
        description: The id of the customer
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      - name: card-id
        in: path
        description: The card id associated to the customer
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: card deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /customers/{customer-id}/cards:
    get:
      tags:
      - Customers
      summary: getCards_1
      description: Gets all cards associated with a customer
      operationId: getCards_1
      parameters:
      - name: customer-id
        in: path
        description: The id of the customer
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: credit cards returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomerCard'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    post:
      tags:
      - Customers
      summary: addCard
      description: Adds a credit card to a customer
      operationId: addCard
      parameters:
      - name: customer-id
        in: path
        description: The id of the customer
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: The credit card object to add to the customer.
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/CreditCard'
              - description: The credit card object to add to the customer.
        required: true
      responses:
        '200':
          description: credit card added
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerCard'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /customers/{customer-id}/cards/{card-id}/default:
    put:
      tags:
      - Customers
      summary: setDefaultCard
      description: Set a card associated with a customer as the default card
      operationId: setDefaultCard
      parameters:
      - name: customer-id
        in: path
        description: The id of the customer
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      - name: card-id
        in: path
        description: The card id associated to the customer
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: default credit card updated
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /customers/tags/remove:
    post:
      tags:
      - Customers
      summary: bulkRemoveTags
      description: Deletes all tags from customers with given ids
      operationId: bulkRemoveTags
      parameters: []
      requestBody:
        description: Customer Ids
        content:
          application/json:
            schema:
              type: array
              items:
                type: integer
                format: int64
              description: Customer Ids
        required: true
      responses:
        '200':
          description: tags deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /customers/{customer-id}/tags:
    post:
      tags:
      - Customers
      summary: tag
      description: Inserts a new tags for a customer. Duplicates are ignored
      operationId: tag
      parameters:
      - name: customer-id
        in: path
        description: The id of the customer
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: Tags to be removed from the customer
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/TagRequest'
              description: Tags to be removed from the customer
        required: true
      responses:
        '200':
          description: tag inserted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /customers/bulk:
    put:
      tags:
      - Customers
      summary: update_2
      description: Bulk Customer Update
      operationId: update_2
      parameters: []
      requestBody:
        description: Bulk customer update
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/BulkCustomerUpdate'
              - description: Bulk customer update
        required: true
      responses:
        '200':
          description: Updated
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: Invalid fields (See Json response in javax.validation.Validator format)
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /customers/{customer-id}/tags/actions/delete:
    post:
      tags:
      - Customers
      summary: delete_1
      description: Deletes tags for a customer
      operationId: delete_1
      parameters:
      - name: customer-id
        in: path
        description: The customer Id
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: Tags to be removed from the customer
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/TagRequest'
              description: Tags to be removed from the customer
        required: true
      responses:
        '200':
          description: tags deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /customers:
    get:
      tags:
      - Customers
      summary: search_1
      description: Retrieves all customers
      operationId: search_1
      parameters:
      - name: limit
        in: query
        description: Number of results per page
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: sortDir
        in: query
        description: Direction to sort
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortDir'
          - description: Direction to sort
      - name: pageNumber
        in: query
        description: Page number of results to show
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: customerType
        in: query
        description: Customer types to filter
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/CustomerType'
      - name: tag
        in: query
        description: Whitespace separated list of tags to search by
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: tagsMatchAll
        in: query
        description: Whether the results should have all the tags or only some
        style: form
        explode: true
        schema:
          type: boolean
      - name: antiTag
        in: query
        description: Tags to exclude
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: antiTagsMatchAll
        in: query
        description: Whether the results should not have all the tags or only some
        style: form
        explode: true
        schema:
          type: boolean
      - name: id
        in: query
        description: Id search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: displayName
        in: query
        description: Display name search filter
        style: form
        explode: true
        schema:
          type: string
      - name: email
        in: query
        description: Email search filter
        style: form
        explode: true
        schema:
          type: string
      - name: lastName
        in: query
        description: Last name search filter
        style: form
        explode: true
        schema:
          type: string
      - name: company
        in: query
        description: Company search filter
        style: form
        explode: true
        schema:
          type: string
      - name: city
        in: query
        description: City search filter
        style: form
        explode: true
        schema:
          type: string
      - name: country
        in: query
        description: Country search filter
        style: form
        explode: true
        schema:
          type: string
      - name: phone
        in: query
        description: Phone number to search by (matching phone 1 and phone 2 fields)
        style: form
        explode: true
        schema:
          type: string
      - name: state
        in: query
        description: State search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: invoiceDateFrom
        in: query
        description: From Invoice Date filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: invoiceDateTo
        in: query
        description: To Invoice Date filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: sortedBy
        in: query
        description: Field to sort by
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortedBy'
          - description: Field to sort by
      - name: arThresholdReached
        in: query
        description: Whether arThreshold is Reached to search by
        style: form
        explode: true
        schema:
          type: boolean
      - name: createdDateFrom
        in: query
        description: From created date filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: createdDateTo
        in: query
        description: To created date filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      responses:
        '200':
          description: customers returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Customer'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    post:
      tags:
      - Customers
      summary: insert_2
      description: Creates a customer
      operationId: insert_2
      parameters: []
      requestBody:
        description: A customer object to create.
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Customer'
              - description: A customer object to create.
        required: true
      responses:
        '200':
          description: customer has been created
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Customer'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /enumerations/{enumtype}:
    get:
      tags:
      - Enumerations
      summary: enumeration
      description: Retrieves available enumerations
      operationId: enumeration
      parameters:
      - name: enumtype
        in: path
        description: The type of enumeration
        required: true
        style: simple
        schema:
          allOf:
          - $ref: '#/components/schemas/enumtype'
          - description: The type of enumeration
      responses:
        '200':
          description: enumeration list returned
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: incorrect request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /events/{event-id}/tags/{tag}:
    delete:
      tags:
      - Events
      summary: removeTag_1
      description: Deletes a tag for an event
      operationId: removeTag_1
      parameters:
      - name: event-id
        in: path
        description: ''
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      - name: tag
        in: path
        description: ''
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: tag deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /events/tags/remove:
    post:
      tags:
      - Events
      summary: bulkRemoveTags_1
      description: Deletes all tags from events with given ids
      operationId: bulkRemoveTags_1
      parameters: []
      requestBody:
        description: Event Ids
        content:
          application/json:
            schema:
              type: array
              items:
                type: integer
                format: int64
              description: Event Ids
        required: true
      responses:
        '200':
          description: tags deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /events/performers:
    get:
      tags:
      - Events
      summary: getPerformers
      description: Retrieves all performers
      operationId: getPerformers
      parameters:
      - name: name
        in: query
        description: ''
        style: form
        explode: true
        schema:
          type: string
      responses:
        '200':
          description: performers returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Performer'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /events/performers/{performer-id}:
    get:
      tags:
      - Events
      summary: getPerformerById
      description: Retrieves a performer by the performer id
      operationId: getPerformerById
      parameters:
      - name: performer-id
        in: path
        description: Performer id
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: performer returned
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Performer'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '404':
          description: performer not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /events/categories:
    get:
      tags:
      - Events
      summary: getCategories
      description: Retrieves all categories
      operationId: getCategories
      parameters: []
      responses:
        '200':
          description: categories returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Category'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /events/{event-id}/tags:
    post:
      tags:
      - Events
      summary: tag_1
      description: Inserts a new tags for an event. Duplicates are ignored
      operationId: tag_1
      parameters:
      - name: event-id
        in: path
        description: ''
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/TagRequest'
              description: ''
        required: true
      responses:
        '200':
          description: tag inserted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /events:
    get:
      tags:
      - Events
      summary: index
      description: Retrieves filtered events
      operationId: index
      parameters:
      - name: limit
        in: query
        description: Number of results per page
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: sortDir
        in: query
        description: Direction to sort
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortDir'
          - description: Direction to sort
      - name: pageNumber
        in: query
        description: Page number of results to show
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: tag
        in: query
        description: Tags to include
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: tagsMatchAll
        in: query
        description: Whether the results should have all the tags or only some
        style: form
        explode: true
        schema:
          type: boolean
      - name: antiTag
        in: query
        description: Tags to exclude
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: antiTagsMatchAll
        in: query
        description: Whether the results should not have all the tags or only some
        style: form
        explode: true
        schema:
          type: boolean
      - name: event
        in: query
        description: Event search term
        style: form
        explode: true
        schema:
          type: string
      - name: eventType
        in: query
        description: Event Type
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/EventType'
          - description: Event Type
      - name: categoryId
        in: query
        description: Category ID filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: category
        in: query
        description: Category
        style: form
        explode: true
        schema:
          type: string
      - name: venueId
        in: query
        description: The id of a venue
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: venue
        in: query
        description: Venue search filter
        style: form
        explode: true
        schema:
          type: string
      - name: city
        in: query
        description: City search filter
        style: form
        explode: true
        schema:
          type: string
      - name: state
        in: query
        description: State search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: eventDateFrom
        in: query
        description: Minimum event date in yyyy-MM-dd format
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: eventDateTo
        in: query
        description: Maximum event date in yyyy-MM-dd format
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: eventTimeFrom
        in: query
        description: Only search events starting not earlier than
        style: form
        explode: true
        schema:
          type: string
      - name: eventTimeTo
        in: query
        description: Only search events starting not later than
        style: form
        explode: true
        schema:
          type: string
      - name: keywords
        in: query
        description: Search Keywords
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: eventId
        in: query
        description: Event ID
        style: form
        explode: true
        schema:
          uniqueItems: true
          type: array
          items:
            type: integer
            format: int64
      - name: performerId
        in: query
        description: Performer ID filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: dayOfWeek
        in: query
        description: Day of the week of events that occur on that day of the week
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int32
      - name: excludeParking
        in: query
        description: Whether parking events are excluded
        style: form
        explode: true
        schema:
          type: boolean
      - name: excludeActiveInventory
        in: query
        description: Whether active inventories are excluded
        style: form
        explode: true
        schema:
          type: boolean
      - name: noTags
        in: query
        description: Only return events with no tags
        style: form
        explode: true
        schema:
          type: boolean
      - name: sortedBy
        in: query
        description: Field to sort by
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortedBy1'
          - description: Field to sort by
      responses:
        '200':
          description: events returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Event'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /events/{event-id}:
    get:
      tags:
      - Events
      summary: get_2
      description: Returns an event
      operationId: get_2
      parameters:
      - name: event-id
        in: path
        description: The id of the event to retrieve
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: event returned
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Event'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '404':
          description: event not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /events/{event-id}/tags/actions/delete:
    post:
      tags:
      - Events
      summary: delete_2
      description: Deletes tags for an event
      operationId: delete_2
      parameters:
      - name: event-id
        in: path
        description: The event Id
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: Tags to be removed from the event
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/TagRequest'
              description: Tags to be removed from the event
        required: true
      responses:
        '200':
          description: tags deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /event_positions/performers:
    get:
      tags:
      - Event Positions
      summary: getPerformers_1
      description: Retrieves event positions grouped by performer
      operationId: getPerformers_1
      parameters:
      - name: limit
        in: query
        description: Number of results per page
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: sortDir
        in: query
        description: Direction to sort
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortDir'
          - description: Direction to sort
      - name: pageNumber
        in: query
        description: Page number of results to show
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: performerId
        in: query
        description: Performer Id search filter
        style: form
        explode: true
        schema:
          uniqueItems: true
          type: array
          items:
            type: integer
            format: int64
      - name: performer
        in: query
        description: Performer name search filter
        style: form
        explode: true
        schema:
          type: string
      - name: eventType
        in: query
        description: Event Type search filter
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/EventType'
          - description: Event Type search filter
      - name: categoryId
        in: query
        description: Category Id search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: eventDateFrom
        in: query
        description: Minimum event date in yyyy-MM-dd format
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: eventDateTo
        in: query
        description: Maximum event date in yyyy-MM-dd format
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: dayOfWeek
        in: query
        description: Day of the week of events that occur on that day of the week
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int32
      - name: excludeParking
        in: query
        description: Whether parking events are excluded
        style: form
        explode: true
        schema:
          type: boolean
      - name: sortedBy
        in: query
        description: Field to sort by
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortedBy2'
          - description: Field to sort by
      responses:
        '200':
          description: events returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PerformerPosition'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /event_positions/categories:
    get:
      tags:
      - Event Positions
      summary: getCategories_1
      description: Retrieves event positions grouped by category
      operationId: getCategories_1
      parameters: []
      responses:
        '200':
          description: categories returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Category'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /event_positions:
    get:
      tags:
      - Event Positions
      summary: index_1
      description: Retrieves event positions
      operationId: index_1
      parameters:
      - name: limit
        in: query
        description: Number of results per page
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: sortDir
        in: query
        description: Direction to sort
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortDir'
          - description: Direction to sort
      - name: pageNumber
        in: query
        description: Page number of results to show
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: section
        in: query
        description: Section search filter
        style: form
        explode: true
        schema:
          type: string
      - name: row
        in: query
        description: Row search filter
        style: form
        explode: true
        schema:
          type: string
      - name: listed
        in: query
        description: Whether inventories are listed
        style: form
        explode: true
        schema:
          type: boolean
      - name: eventId
        in: query
        description: Event Id to search by
        style: form
        explode: true
        schema:
          uniqueItems: true
          type: array
          items:
            type: integer
            format: int64
      - name: event
        in: query
        description: Event search term
        style: form
        explode: true
        schema:
          type: string
      - name: keywords
        in: query
        description: Search Keywords
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: eventDateFrom
        in: query
        description: Minimum event date in yyyy-MM-dd format
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: eventDateTo
        in: query
        description: Maximum event date in yyyy-MM-dd format
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: eventTimeFrom
        in: query
        description: Only search events starting not earlier than
        style: form
        explode: true
        schema:
          type: string
      - name: eventTimeTo
        in: query
        description: Only search events starting not later than
        style: form
        explode: true
        schema:
          type: string
      - name: dayOfWeek
        in: query
        description: Day of the week of events that occur on that day of the week
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int32
      - name: eventType
        in: query
        description: Event Type search filter
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/EventType'
          - description: Event Type search filter
      - name: categoryId
        in: query
        description: Category Id search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: category
        in: query
        description: Category search filter
        style: form
        explode: true
        schema:
          type: string
      - name: venueId
        in: query
        description: Venue Id search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: venue
        in: query
        description: Venue search filter
        style: form
        explode: true
        schema:
          type: string
      - name: city
        in: query
        description: City search filter
        style: form
        explode: true
        schema:
          type: string
      - name: state
        in: query
        description: State search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: performerId
        in: query
        description: Performer Id filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: tagsMatchAll
        in: query
        description: Whether the results should have all the tags or only some
        style: form
        explode: true
        schema:
          type: boolean
      - name: antiTagsMatchAll
        in: query
        description: Whether the results should not have all the tags or only some
        style: form
        explode: true
        schema:
          type: boolean
      - name: inventoryTagsMatchAll
        in: query
        description: Whether the results should have all inventory tags or only some
        style: form
        explode: true
        schema:
          type: boolean
      - name: noTags
        in: query
        description: Inventory tags to exclude
        style: form
        explode: true
        schema:
          type: boolean
      - name: excludeOnlyZoneInventory
        in: query
        description: Whether to exclude events with all zoned inventories
        style: form
        explode: true
        schema:
          type: boolean
      - name: excludeParking
        in: query
        description: Whether parking events are excluded
        style: form
        explode: true
        schema:
          type: boolean
      - name: sortedBy
        in: query
        description: Field to sort by
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortedBy3'
          - description: Field to sort by
      responses:
        '200':
          description: events returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/EventPosition'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /external_accounts/{id}:
    get:
      tags:
      - External Accounts
      summary: getById_4
      description: Get external account by id
      operationId: getById_4
      parameters:
      - name: id
        in: path
        description: The id of the external account
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: external account returned
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalAccount'
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    put:
      tags:
      - External Accounts
      summary: update_5
      description: Update external accounts
      operationId: update_5
      parameters:
      - name: id
        in: path
        description: The id of the external account
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: The external account object to update.
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/ExternalAccount'
              - description: The external account object to update.
        required: true
      responses:
        '200':
          description: external account updated
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalAccount'
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    delete:
      tags:
      - External Accounts
      summary: delete_3
      description: Delete external accounts
      operationId: delete_3
      parameters:
      - name: id
        in: path
        description: The id of the external account
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: external account deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /external_accounts:
    get:
      tags:
      - External Accounts
      summary: search_2
      description: Get all external accounts
      operationId: search_2
      parameters: []
      responses:
        '200':
          description: external accounts returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ExternalAccount'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    post:
      tags:
      - External Accounts
      summary: create
      description: Creates an external account
      operationId: create
      parameters: []
      requestBody:
        description: An external account object to create.
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/ExternalAccount'
              - description: An external account object to create.
        required: true
      responses:
        '200':
          description: external account returned
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalAccount'
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /holds/{hold-id}:
    get:
      tags:
      - Holds
      summary: getById_5
      description: Retrieves a hold by the hold id
      operationId: getById_5
      parameters:
      - name: hold-id
        in: path
        description: The id of the hold
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: hold returned
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Hold'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '404':
          description: hold not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    put:
      tags:
      - Holds
      summary: update_6
      description: Updates a hold
      operationId: update_6
      parameters:
      - name: hold-id
        in: path
        description: The id of the hold
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: The hold object to update.
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Hold'
              - description: The hold object to update.
        required: true
      responses:
        '200':
          description: hold updated
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Hold'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    delete:
      tags:
      - Holds
      summary: deleteById_1
      description: Deletes a hold by the hold id
      operationId: deleteById_1
      parameters:
      - name: hold-id
        in: path
        description: The id of the hold
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: hold deleted
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Hold'
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /holds:
    get:
      tags:
      - Holds
      summary: search_3
      description: Retrieves all holds
      operationId: search_3
      parameters:
      - name: limit
        in: query
        description: Number of results per page
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: sortDir
        in: query
        description: Direction to sort
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortDir'
          - description: Direction to sort
      - name: pageNumber
        in: query
        description: Page number of results to show
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: id
        in: query
        description: Id to filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: inventoryId
        in: query
        description: Inventory Id to filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: exchangePosId
        in: query
        description: Exchange pos Id filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: event
        in: query
        description: Event to filter
        style: form
        explode: true
        schema:
          type: string
      - name: venueId
        in: query
        description: Venue Id filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: venue
        in: query
        description: Venue filter
        style: form
        explode: true
        schema:
          type: string
      - name: user
        in: query
        description: User filter
        style: form
        explode: true
        schema:
          type: string
      - name: userId
        in: query
        description: User id filter
        style: form
        explode: true
        schema:
          type: string
      - name: eventDateFrom
        in: query
        description: From event date filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: eventDateTo
        in: query
        description: To event date filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: createdDateFrom
        in: query
        description: From created date filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: createdDateTo
        in: query
        description: To created date filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: expiryDateFrom
        in: query
        description: From expiry date filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: expiryDateTo
        in: query
        description: To expiry date filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: externalRef
        in: query
        description: External ref to filter
        style: form
        explode: true
        schema:
          type: string
      - name: customerId
        in: query
        description: Category Id filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: sortedBy
        in: query
        description: Field to sort by
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortedBy4'
          - description: Field to sort by
      responses:
        '200':
          description: holds returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/HoldSummary'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    post:
      tags:
      - Holds
      summary: insert_3
      description: Creates a hold
      operationId: insert_3
      parameters: []
      requestBody:
        description: A hold request to create.
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/HoldRequest'
              - description: A hold request to create.
        required: true
      responses:
        '200':
          description: hold created
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Hold'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /inventory/barcodes/{exchange-pos-id}:
    get:
      tags:
      - Inventory
      summary: getInventoryBarcodes
      description: Get barcodes for inventory
      operationId: getInventoryBarcodes
      parameters:
      - name: exchange-pos-id
        in: path
        description: The Exchange POS ID of the inventory
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: inventory bar codes returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/InventoryBarcodeResponse'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /inventory/delta:
    get:
      tags:
      - Inventory
      summary: getInventoryDeltas
      description: Get changed inventory (created, updated, deleted) by update time
      operationId: getInventoryDeltas
      parameters:
      - name: startTime
        in: query
        description: Returns inventory updates after this time, iso yyyy-MM-ddTHH:mm:ssZ format.
        required: true
        style: form
        explode: true
        schema:
          type: string
      - name: endTime
        in: query
        description: Returns inventory updates before this time, iso yyyy-MM-ddTHH:mm:ssZ format.
        required: true
        style: form
        explode: true
        schema:
          type: string
      - name: ticketStatus
        in: query
        description: Returns inventory updates with requested ticket status.
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/TicketStatus'
          - description: Returns inventory updates with requested ticket status.
      responses:
        '200':
          description: updated inventory ids returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  type: integer
                  format: int32
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /inventory/sold:
    get:
      tags:
      - Inventory
      summary: searchSold
      description: Gets sold inventory filtered by query parameters
      operationId: searchSold
      parameters:
      - name: limit
        in: query
        description: Number of results per page
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: sortDir
        in: query
        description: Direction to sort
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortDir'
          - description: Direction to sort
      - name: pageNumber
        in: query
        description: Page number of results to show
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: sortedBy
        in: query
        description: Field to sort by
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortedBy5'
          - description: Field to sort by
      - name: eventId
        in: query
        description: Event Id to search on
        style: form
        explode: true
        schema:
          uniqueItems: true
          type: array
          items:
            type: integer
            format: int64
      - name: inventoryId
        in: query
        description: Inventory Id to search on
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: exchangePosId
        in: query
        description: Exchange pos Id filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: invoiceId
        in: query
        description: Invoice Id to search on
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: purchaseIds
        in: query
        description: Purchase Id to search on
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: vendorId
        in: query
        description: Vendor Id to search on
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: eventType
        in: query
        description: Event Type to search on
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/EventType'
          - description: Event Type to search on
      - name: categoryId
        in: query
        description: Category Id filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: tag
        in: query
        description: Tags to include
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: tagsMatchAll
        in: query
        description: Whether the results should have all the tags or only some
        style: form
        explode: true
        schema:
          type: boolean
      - name: antiTag
        in: query
        description: Tags to exclude
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: antiTagsMatchAll
        in: query
        description: Whether the results should not have all the tags or only some
        style: form
        explode: true
        schema:
          type: boolean
      - name: noTags
        in: query
        description: Whether the results should have tags
        style: form
        explode: true
        schema:
          type: boolean
      - name: invoiceTag
        in: query
        description: Invoice tags to include
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: invoiceTagsMatchAll
        in: query
        description: Whether the results should have all invoice tags or only some
        style: form
        explode: true
        schema:
          type: boolean
      - name: purchaseTag
        in: query
        description: Purchase tags to include
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: purchaseTagsMatchAll
        in: query
        description: Whether the results should have all purchase tags or only some
        style: form
        explode: true
        schema:
          type: boolean
      - name: customerId
        in: query
        description: Customer Id to filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: customerDisplayName
        in: query
        description: Customer display name filter
        style: form
        explode: true
        schema:
          type: string
      - name: performerId
        in: query
        description: Performer Id filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: performer
        in: query
        description: Performer to search on
        style: form
        explode: true
        schema:
          type: string
      - name: eventKeywords
        in: query
        description: Event keywords filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: event
        in: query
        description: Event to search on
        style: form
        explode: true
        schema:
          type: string
      - name: eventDateFrom
        in: query
        description: From event date filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: eventDateTo
        in: query
        description: To event date filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: venueId
        in: query
        description: Venue Id filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: venue
        in: query
        description: Venue search filter
        style: form
        explode: true
        schema:
          type: string
      - name: section
        in: query
        description: Section search filter
        style: form
        explode: true
        schema:
          type: string
      - name: row
        in: query
        description: Row search filter
        style: form
        explode: true
        schema:
          type: string
      - name: includesSeat
        in: query
        description: Seat search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: invoiceDateFrom
        in: query
        description: Invoice date from range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: invoiceDateTo
        in: query
        description: Invoice date to range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: currencyCode
        in: query
        description: Currency type search filter
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/CurrencyCode'
          - description: Currency type search filter
      - name: externalRef
        in: query
        description: Invoice external ref filter
        style: form
        explode: true
        schema:
          type: string
      - name: purchaseExternalRef
        in: query
        description: Purchase external ref filter
        style: form
        explode: true
        schema:
          type: string
      - name: paymentStatus
        in: query
        description: Payment status to search on
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/PaymentStatus'
      - name: invoiceStatus
        in: query
        description: Invoice status search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/InvoiceStatus'
      - name: fulfillmentStatus
        in: query
        description: Fulfillment status search filter
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/FulfillmentStatus'
          - description: Fulfillment status search filter
      - name: stockType
        in: query
        description: Stock Type search filter
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/StockType'
          - description: Stock Type search filter
      - name: zoneSeating
        in: query
        description: Whether the results should have zone seating
        style: form
        explode: true
        schema:
          type: boolean
      - name: pdfsOrBarcodesAttached
        in: query
        description: Whether the results should have Pdfs or Bar Codes attached to all tickets
        style: form
        explode: true
        schema:
          type: boolean
      - name: filesUploaded
        in: query
        description: Whether the results should have Pdfs attached to all tickets
        style: form
        explode: true
        schema:
          type: boolean
      - name: barcodesEntered
        in: query
        description: Whether the results should have Bar Codes entered in all tickets
        style: form
        explode: true
        schema:
          type: boolean
      - name: electronicTransfer
        in: query
        description: Whether the results should have electronic transfer
        style: form
        explode: true
        schema:
          type: boolean
      - name: internalNotes
        in: query
        description: Internal notes search filter
        style: form
        explode: true
        schema:
          type: string
      - name: inHandDateFrom
        in: query
        description: From in hand date filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: inHandDateTo
        in: query
        description: To in hand date filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: fulfillmentDateFrom
        in: query
        description: From fulfillment date filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: fulfillmentDateTo
        in: query
        description: To fulfillment date filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: purchaseDateFrom
        in: query
        description: Purchase date from range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: purchaseDateTo
        in: query
        description: Purchase date to range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: cooperative
        in: query
        description: Whether the results are cooperative
        style: form
        explode: true
        schema:
          type: boolean
      - name: received
        in: query
        description: Whether the results are received
        style: form
        explode: true
        schema:
          type: boolean
      - name: invoiceNotes
        in: query
        description: Invoice notes search filter
        style: form
        explode: true
        schema:
          type: string
      - name: publicNotes
        in: query
        description: Public notes search filter
        style: form
        explode: true
        schema:
          type: string
      - name: state
        in: query
        description: State search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: due
        in: query
        description: Whether the inventories are due or not
        style: form
        explode: true
        schema:
          type: boolean
      - name: invoiceCreatedBy
        in: query
        description: Email search filter for invoice creator
        style: form
        explode: true
        schema:
          type: string
      - name: createdByUserId
        in: query
        description: User id of invoice creator
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: dayOfWeek
        in: query
        description: Day of the week of events that occur on that day of the week
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int32
      - name: lastUpdateFrom
        in: query
        description: Inventory last update date from range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: invoiceNotesUserId
        in: query
        description: Invoice notes user id search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: consignment
        in: query
        description: Whether the results have a consignment type POs
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/consignment1'
          - description: Whether the results have a consignment type POs
      - name: customerType
        in: query
        description: Whether the results have a customer type of the Invoice
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/CustomerType'
          - description: Whether the results have a customer type of the Invoice
      - name: excludeParking
        in: query
        description: Whether parking events are excluded
        style: form
        explode: true
        schema:
          type: boolean
      responses:
        '200':
          description: sold inventory summaries returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SoldInventorySummary'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /inventory/purchased:
    get:
      tags:
      - Inventory
      summary: searchPurchased
      description: Gets purchased inventory filtered by query parameters
      operationId: searchPurchased
      parameters:
      - name: limit
        in: query
        description: Number of results per page
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: sortDir
        in: query
        description: Direction to sort
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortDir'
          - description: Direction to sort
      - name: pageNumber
        in: query
        description: Page number of results to show
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: stockType
        in: query
        description: Stock Type search filter
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/StockType'
          - description: Stock Type search filter
      - name: ticketStatus
        in: query
        description: Ticket Status search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/TicketStatus'
      - name: eventId
        in: query
        description: Event Id search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: inventoryId
        in: query
        description: Inventory Id search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: performerId
        in: query
        description: Performer Id search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: vendorId
        in: query
        description: Vendor Id search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: tag
        in: query
        description: Purchase tags to include
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: tagsMatchAll
        in: query
        description: Whether the results should have all PO tags or only some
        style: form
        explode: true
        schema:
          type: boolean
      - name: antiTag
        in: query
        description: PO tags to exclude
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: antiTagsMatchAll
        in: query
        description: Whether the results should not have all PO tags or only some
        style: form
        explode: true
        schema:
          type: boolean
      - name: event
        in: query
        description: Event search filter
        style: form
        explode: true
        schema:
          type: string
      - name: venue
        in: query
        description: Venue search filter
        style: form
        explode: true
        schema:
          type: string
      - name: city
        in: query
        description: City search filter
        style: form
        explode: true
        schema:
          type: string
      - name: state
        in: query
        description: State search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: section
        in: query
        description: Section search filter
        style: form
        explode: true
        schema:
          type: string
      - name: row
        in: query
        description: Row search filter
        style: form
        explode: true
        schema:
          type: string
      - name: purchaseDateFrom
        in: query
        description: Purchase date from range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: purchaseDateTo
        in: query
        description: Purchase date to range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: eventDateFrom
        in: query
        description: Event date from range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: eventDateTo
        in: query
        description: Event date to range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: externalRef
        in: query
        description: External reference search filter
        style: form
        explode: true
        schema:
          type: string
      - name: paymentStatus
        in: query
        description: Payment status search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/PaymentStatus'
      - name: partialPaymentRef
        in: query
        description: Partial payment reference search filter
        style: form
        explode: true
        schema:
          type: string
      - name: displayName
        in: query
        description: Vendor display name search filter
        style: form
        explode: true
        schema:
          type: string
      - name: zoneSeating
        in: query
        description: Whether the results should have zone seating
        style: form
        explode: true
        schema:
          type: boolean
      - name: notes
        in: query
        description: Notes search filter
        style: form
        explode: true
        schema:
          type: string
      - name: performer
        in: query
        description: Performer search filter
        style: form
        explode: true
        schema:
          type: string
      - name: purchaseId
        in: query
        description: Purchase Id search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: inHandDateFrom
        in: query
        description: In hand date from range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: inHandDateTo
        in: query
        description: In hand date to range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: received
        in: query
        description: Whether the results have received POs
        style: form
        explode: true
        schema:
          type: boolean
      - name: venueIds
        in: query
        description: Venue id search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int32
      - name: consignment
        in: query
        description: Whether the results have a consignment type POs
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/consignment1'
          - description: Whether the results have a consignment type POs
      - name: cooperative
        in: query
        description: Whether the results have cooperative POs
        style: form
        explode: true
        schema:
          type: boolean
      - name: sortedBy
        in: query
        description: Field to sort by
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortedBy6'
          - description: Field to sort by
      responses:
        '200':
          description: purchased inventory summaries returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PurchasedInventorySummary'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /inventory/purchased/V2:
    get:
      tags:
      - Inventory
      summary: searchPurchasedV2
      description: Gets purchased inventory filtered by query parameters
      operationId: searchPurchasedV2
      parameters:
      - name: limit
        in: query
        description: Number of results per page
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: sortDir
        in: query
        description: Direction to sort
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortDir'
          - description: Direction to sort
      - name: pageNumber
        in: query
        description: Page number of results to show
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: stockType
        in: query
        description: Stock Type search filter
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/StockType'
          - description: Stock Type search filter
      - name: ticketStatus
        in: query
        description: Ticket Status search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/TicketStatus'
      - name: eventId
        in: query
        description: Event Id search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: inventoryId
        in: query
        description: Inventory Id search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: performerId
        in: query
        description: Performer Id search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: vendorId
        in: query
        description: Vendor Id search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: tag
        in: query
        description: Purchase tags to include
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: tagsMatchAll
        in: query
        description: Whether the results should have all PO tags or only some
        style: form
        explode: true
        schema:
          type: boolean
      - name: antiTag
        in: query
        description: PO tags to exclude
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: antiTagsMatchAll
        in: query
        description: Whether the results should not have all PO tags or only some
        style: form
        explode: true
        schema:
          type: boolean
      - name: event
        in: query
        description: Event search filter
        style: form
        explode: true
        schema:
          type: string
      - name: venue
        in: query
        description: Venue search filter
        style: form
        explode: true
        schema:
          type: string
      - name: city
        in: query
        description: City search filter
        style: form
        explode: true
        schema:
          type: string
      - name: state
        in: query
        description: State search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: section
        in: query
        description: Section search filter
        style: form
        explode: true
        schema:
          type: string
      - name: row
        in: query
        description: Row search filter
        style: form
        explode: true
        schema:
          type: string
      - name: purchaseDateFrom
        in: query
        description: Purchase date from range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: purchaseDateTo
        in: query
        description: Purchase date to range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: eventDateFrom
        in: query
        description: Event date from range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: eventDateTo
        in: query
        description: Event date to range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: externalRef
        in: query
        description: External reference search filter
        style: form
        explode: true
        schema:
          type: string
      - name: paymentStatus
        in: query
        description: Payment status search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/PaymentStatus'
      - name: partialPaymentRef
        in: query
        description: Partial payment reference search filter
        style: form
        explode: true
        schema:
          type: string
      - name: displayName
        in: query
        description: Vendor display name search filter
        style: form
        explode: true
        schema:
          type: string
      - name: zoneSeating
        in: query
        description: Whether the results should have zone seating
        style: form
        explode: true
        schema:
          type: boolean
      - name: notes
        in: query
        description: Notes search filter
        style: form
        explode: true
        schema:
          type: string
      - name: performer
        in: query
        description: Performer search filter
        style: form
        explode: true
        schema:
          type: string
      - name: purchaseId
        in: query
        description: Purchase Id search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: inHandDateFrom
        in: query
        description: In hand date from range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: inHandDateTo
        in: query
        description: In hand date to range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: received
        in: query
        description: Whether the results have received POs
        style: form
        explode: true
        schema:
          type: boolean
      - name: venueIds
        in: query
        description: Venue id search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int32
      - name: consignment
        in: query
        description: Whether the results have a consignment type POs
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/consignment1'
          - description: Whether the results have a consignment type POs
      - name: cooperative
        in: query
        description: Whether the results have cooperative POs
        style: form
        explode: true
        schema:
          type: boolean
      - name: sortedBy
        in: query
        description: Field to sort by
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortedBy7'
          - description: Field to sort by
      - name: creditCardGroupId
        in: query
        description: Credit card group id search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: creditCardLastDigits
        in: query
        description: Credit card last digits search filter
        style: form
        explode: true
        schema:
          type: string
      - name: eventType
        in: query
        description: Event Type search filter
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/EventType'
          - description: Event Type search filter
      - name: inHand
        in: query
        description: Whether the results should be in hand
        style: form
        explode: true
        schema:
          type: boolean
      - name: inventoryTag
        in: query
        description: Inventory tags to include
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: inventoryTagsMatchAll
        in: query
        description: Whether the results should have all inventory tags or only some
        style: form
        explode: true
        schema:
          type: boolean
      - name: antiInventoryTag
        in: query
        description: Inventory tags to exclude
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: antiInventoryTagsMatchAll
        in: query
        description: Whether the results should not have all inventory tags or only some
        style: form
        explode: true
        schema:
          type: boolean
      - name: noTags
        in: query
        description: Whether the results should have inventory tags
        style: form
        explode: true
        schema:
          type: boolean
      - name: includesSeat
        in: query
        description: Seat search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: paymentMethod
        in: query
        description: Payment method search filter
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/PaymentMethod'
          - description: Payment method search filter
      - name: minUnitCost
        in: query
        description: Minimum unit cost search filter
        style: form
        explode: true
        schema:
          type: number
          format: double
      - name: maxUnitCost
        in: query
        description: Maximum unit cost search filter
        style: form
        explode: true
        schema:
          type: number
          format: double
      - name: minTotalCost
        in: query
        description: Minimum total cost search filter
        style: form
        explode: true
        schema:
          type: number
          format: double
      - name: maxTotalCost
        in: query
        description: Maximum total cost search filter
        style: form
        explode: true
        schema:
          type: number
          format: double
      - name: createdBy
        in: query
        description: Email search filter for PO creator
        style: form
        explode: true
        schema:
          type: string
      - name: createdByUserId
        in: query
        description: Id search filter for invoice creator
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: currencyCode
        in: query
        description: Currency filter
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/CurrencyCode'
          - description: Currency filter
      - name: purchaseStatus
        in: query
        description: Purchase status search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/purchaseStatus'
      - name: categoryId
        in: query
        description: Performer category search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      responses:
        '200':
          description: purchased inventory summaries returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PurchasedInventorySummaryV2'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /inventory/{inventory-id}/hold:
    get:
      tags:
      - Inventory
      summary: getHoldsById
      description: Get holds for inventory
      operationId: getHoldsById
      parameters:
      - name: inventory-id
        in: path
        description: The ID of the inventory to return the hold
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: hold returned
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Hold'
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    delete:
      tags:
      - Inventory
      summary: deleteHoldsById
      description: Delete holds for inventory
      operationId: deleteHoldsById
      parameters:
      - name: inventory-id
        in: path
        description: The ID of the inventory from which to delete holds
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: holds deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /inventory/bulk-merge:
    post:
      tags:
      - Inventory
      summary: bulkMerge
      description: Merge all eligible inventories
      operationId: bulkMerge
      parameters: []
      requestBody:
        description: Payload
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/MergeInventoryRequest'
              - description: Payload
        required: true
      responses:
        '200':
          description: inventories merged
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Inventory'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /inventory/merge-as-piggyback:
    post:
      tags:
      - Inventory
      summary: mergeAsPiggyback
      description: Merge inventories as piggyback
      operationId: mergeAsPiggyback
      parameters: []
      requestBody:
        description: Payload
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/MergeInventoryRequest'
              - description: Payload
        required: true
      responses:
        '200':
          description: inventories merged
          headers: {}
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/Inventory'
                - description: The inventory item, if the line item is Inventory. Required for purchase type inserts, ignored otherwise.
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /inventory/{inventory-id}/actions/split-to-originals:
    post:
      tags:
      - Inventory
      summary: splitToOriginals
      description: Splits and merges inventories to leave them as they were when purchased
      operationId: splitToOriginals
      parameters:
      - name: inventory-id
        in: path
        description: The Id of the inventory to split
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: split was successful
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Inventory'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /inventory/{inventory-id}:
    get:
      tags:
      - Inventory
      summary: getById_6
      description: Get Inventory
      operationId: getById_6
      parameters:
      - name: inventory-id
        in: path
        description: The ID of the inventory to return
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: inventory returned
          headers: {}
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/Inventory'
                - description: The inventory item, if the line item is Inventory. Required for purchase type inserts, ignored otherwise.
        '401':
          description: not authorized
          headers: {}
          content: {}
        '404':
          description: inventory not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    put:
      tags:
      - Inventory
      summary: update_7
      description: Update Inventory
      operationId: update_7
      parameters:
      - name: inventory-id
        in: path
        description: The Id of the inventory to update
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      - name: changeSeatNumbers
        in: query
        description: Whether is allow to change seat number
        style: form
        explode: true
        schema:
          type: boolean
      requestBody:
        description: Inventory update
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Inventory'
              - description: Inventory update
        required: true
      responses:
        '200':
          description: inventory updated
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /inventory/{inventory-id}/price-history:
    get:
      tags:
      - Inventory
      summary: priceHistory
      description: Retrieves price update history for inventory
      operationId: priceHistory
      parameters:
      - name: inventory-id
        in: path
        description: The Id of the inventory
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: price history retrieved
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/InventoryPriceHistory'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /inventory/bulk-swap-event:
    post:
      tags:
      - Inventory
      summary: bulkSwapEvent
      description: Bulk swap event
      operationId: bulkSwapEvent
      parameters: []
      requestBody:
        description: Payload
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/BulkSwapEventRequest'
              - description: Payload
        required: true
      responses:
        '200':
          description: Event swapped
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: Invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /inventory/exchange_pos_id/{exchangePosId}:
    get:
      tags:
      - Inventory
      summary: getExchangesPosId
      description: Get the history for a exchange pos id
      operationId: getExchangesPosId
      parameters:
      - name: exchangePosId
        in: path
        description: ''
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: list of exchange pos id history returned
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExchangePosIdHistoryResponse'
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /inventory/bulk-update:
    put:
      tags:
      - Inventory
      summary: bulkUpdate
      description: Bulk update inventory
      operationId: bulkUpdate
      parameters: []
      requestBody:
        description: Bulk inventory attributes to update
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/BulkInventoryUpdateRequest'
              - description: Bulk inventory attributes to update
        required: true
      responses:
        '200':
          description: inventory updated
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /inventory/{inventory-id}/tags/{tag}:
    delete:
      tags:
      - Inventory
      summary: removeTag_2
      description: Deletes a tag for an inventory
      operationId: removeTag_2
      parameters:
      - name: inventory-id
        in: path
        description: The Id of the inventory
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      - name: tag
        in: path
        description: Tag to be removed from the inventory
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: tag deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /inventory/tags/remove:
    post:
      tags:
      - Inventory
      summary: bulkRemoveTags_2
      description: Deletes all tags from inventories with given ids
      operationId: bulkRemoveTags_2
      parameters: []
      requestBody:
        description: Inventory Ids
        content:
          application/json:
            schema:
              type: array
              items:
                type: integer
                format: int64
              description: Inventory Ids
        required: true
      responses:
        '200':
          description: tags deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /inventory/tags:
    delete:
      tags:
      - Inventory
      summary: legacyBulkRemoveTags
      description: Deletes all tags from inventories with given ids
      operationId: legacyBulkRemoveTags
      parameters:
      - name: id
        in: query
        description: Inventory Ids
        required: true
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      responses:
        '200':
          description: tags deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /inventory/actions/edit-section-row:
    post:
      tags:
      - Inventory
      summary: updatePurchaseInventory
      description: Updates section and row for an inventory
      operationId: updatePurchaseInventory
      parameters: []
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdatePurchaseInventoryRequest'
        required: true
      responses:
        '200':
          description: update successful
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /inventory/bulk-update-expected-value:
    put:
      tags:
      - Inventory
      summary: bulkUpdateExpectedValue
      description: Bulk Expected Value Update of Inventory
      operationId: bulkUpdateExpectedValue
      parameters: []
      requestBody:
        description: Inventory expected value update
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/ExpectedValueUpdateBulk'
              description: Inventory expected value update
        required: true
      responses:
        '200':
          description: Updated
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: Invalid fields (See Json response in javax.validation.Validator format)
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /inventory/{inventory-id}/tickets:
    get:
      tags:
      - Inventory
      summary: getTicketsById
      description: Get tickets for inventory
      operationId: getTicketsById
      parameters:
      - name: inventory-id
        in: path
        description: The Id of the inventory to return the tickets
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: tickets returned
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    put:
      tags:
      - Inventory
      summary: updateTickets
      description: Update Inventory tickets
      operationId: updateTickets
      parameters:
      - name: inventory-id
        in: path
        description: The Id of the inventory
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: List of tickets to be updated
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/TicketUpdateRequest'
              description: List of tickets to be updated
        required: true
      responses:
        '200':
          description: Updated
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: Invalid fields (See Json response in javax.validation.Validator format)
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    delete:
      tags:
      - Inventory
      summary: cancel
      description: Cancel Tickets on Inventory
      operationId: cancel
      parameters:
      - name: inventory-id
        in: path
        description: The Id of the inventory to cancel tickets
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: inventory updated
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /inventory/export:
    get:
      tags:
      - Inventory
      summary: export
      description: Exports inventory for exchange integration. Export is limited to future events with a list price greater than 0. The results from this method are un-sorted.
      operationId: export
      parameters:
      - name: includeZeroPricedListings
        in: query
        description: Whether the results includes zero price listings
        style: form
        explode: true
        schema:
          type: boolean
      - name: includeHeld
        in: query
        description: Whether the results includes held
        style: form
        explode: true
        schema:
          type: boolean
      - name: Version
        in: header
        description: ''
        style: simple
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: inventory summaries returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/InventorySummary'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /inventory/{inventory-id}/tags:
    post:
      tags:
      - Inventory
      summary: tag_2
      description: Inserts a new tags for an inventory. Duplicates are ignored
      operationId: tag_2
      parameters:
      - name: inventory-id
        in: path
        description: The Id of the inventory
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: Tags to add
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/TagRequest'
              description: Tags to add
        required: true
      responses:
        '200':
          description: tag inserted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /inventory:
    get:
      tags:
      - Inventory
      summary: search_4
      description: Get inventory filtered by query parameters
      operationId: search_4
      parameters:
      - name: limit
        in: query
        description: Number of results per page
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: sortDir
        in: query
        description: Direction to sort
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortDir'
          - description: Direction to sort
      - name: pageNumber
        in: query
        description: Page number of results to show
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: sortedBy
        in: query
        description: Primary field to sort by
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortedBy8'
          - description: Primary field to sort by
      - name: stockType
        in: query
        description: Stock Type search filter
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/StockType'
          - description: Stock Type search filter
      - name: ticketStatus
        in: query
        description: Ticket Status search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/TicketStatus'
      - name: eventId
        in: query
        description: Event Id search filter
        style: form
        explode: true
        schema:
          uniqueItems: true
          type: array
          items:
            type: integer
            format: int64
      - name: inventoryId
        in: query
        description: Inventory Id search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: purchaseId
        in: query
        description: Purchase Id search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: exchangePosId
        in: query
        description: Exchange pos Id filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: performerId
        in: query
        description: Performer Id search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: categoryId
        in: query
        description: Category Id search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: tag
        in: query
        description: Tags to include
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: tagsMatchAll
        in: query
        description: Whether the results should have all the tags or only some
        style: form
        explode: true
        schema:
          type: boolean
      - name: antiTag
        in: query
        description: Tags to exclude
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: antiTagsMatchAll
        in: query
        description: Whether the results should not have all the tags or only some
        style: form
        explode: true
        schema:
          type: boolean
      - name: eventTagsMatchAll
        in: query
        description: Whether the results should have all event tags or only some
        style: form
        explode: true
        schema:
          type: boolean
      - name: event
        in: query
        description: Event search filter
        style: form
        explode: true
        schema:
          type: string
      - name: eventKeywords
        in: query
        description: Event keywords filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: venueId
        in: query
        description: Venue id search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: venue
        in: query
        description: Venue search filter
        style: form
        explode: true
        schema:
          type: string
      - name: vendorId
        in: query
        description: Vendor Id search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: excludeVendorId
        in: query
        description: Vendor Id to exclude
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: city
        in: query
        description: City search filter
        style: form
        explode: true
        schema:
          type: string
      - name: state
        in: query
        description: State search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: section
        in: query
        description: Section search filter
        style: form
        explode: true
        schema:
          type: string
      - name: row
        in: query
        description: Row search filter
        style: form
        explode: true
        schema:
          type: string
      - name: eventDateFrom
        in: query
        description: Event date from range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: eventDateTo
        in: query
        description: Event date to range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: eventTimeFrom
        in: query
        description: Only search events starting not earlier than
        style: form
        explode: true
        schema:
          type: string
      - name: eventTimeTo
        in: query
        description: Only search events starting not later than
        style: form
        explode: true
        schema:
          type: string
      - name: eventType
        in: query
        description: Event Type search filter
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/EventType'
          - description: Event Type search filter
      - name: purchaseDateFrom
        in: query
        description: Purchase date from range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: purchaseDateTo
        in: query
        description: Purchase date to range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: lastUpdateFrom
        in: query
        description: Inventory last update date from range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: lastUpdateTo
        in: query
        description: Inventory last update date to range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: lastPriceUpdateFrom
        in: query
        description: Last price update date from range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: lastPriceUpdateTo
        in: query
        description: Last price update date to range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: sortedByB
        in: query
        description: Secondary field to sort by
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortedByB'
          - description: Secondary field to sort by
      - name: sortDirB
        in: query
        description: Secondary direction to sort (asc, desc)
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortDirB'
          - description: Secondary direction to sort (asc, desc)
      - name: filesUploaded
        in: query
        description: Whether the results should have Pdfs attached to all tickets
        style: form
        explode: true
        schema:
          type: boolean
      - name: barCodesEntered
        in: query
        description: Whether the results should have Bar Codes entered in all tickets
        style: form
        explode: true
        schema:
          type: boolean
      - name: listed
        in: query
        description: Whether the results should have listed inventories
        style: form
        explode: true
        schema:
          type: boolean
      - name: expectedValueSet
        in: query
        description: Whether the results should have expected value set
        style: form
        explode: true
        schema:
          type: boolean
      - name: skipSorting
        in: query
        description: Skip sorting of results
        style: form
        explode: true
        schema:
          type: boolean
      - name: minQuantity
        in: query
        description: Minimum quantity search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: maxQuantity
        in: query
        description: Maximum quantity search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: minPrice
        in: query
        description: Minimum price search filter
        style: form
        explode: true
        schema:
          type: number
          format: double
      - name: maxPrice
        in: query
        description: Maximum price search filter
        style: form
        explode: true
        schema:
          type: number
          format: double
      - name: minAverageUnitCost
        in: query
        description: Minimum average unit cost search filter
        style: form
        explode: true
        schema:
          type: number
          format: double
      - name: maxAverageUnitCost
        in: query
        description: Maximum average unit cost search filter
        style: form
        explode: true
        schema:
          type: number
          format: double
      - name: lowSeat
        in: query
        description: Low seat search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: highSeat
        in: query
        description: High seat search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: inHand
        in: query
        description: Whether the results should be in hand
        style: form
        explode: true
        schema:
          type: boolean
      - name: notes
        in: query
        description: Notes search filter
        style: form
        explode: true
        schema:
          type: string
      - name: publicNotes
        in: query
        description: Public notes search filter
        style: form
        explode: true
        schema:
          type: string
      - name: noTags
        in: query
        description: Whether the results should have tags
        style: form
        explode: true
        schema:
          type: boolean
      - name: includeTickets
        in: query
        description: Whether the results should include tickets
        style: form
        explode: true
        schema:
          type: boolean
      - name: zoneSeating
        in: query
        description: Whether the results should have zone seating
        style: form
        explode: true
        schema:
          type: boolean
      - name: dayOfWeek
        in: query
        description: Day of the week of events that occur on that day of the week
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int32
      - name: seatType
        in: query
        description: Seat Type search filter
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/SeatType3'
          - description: Seat Type search filter
      - name: splitType
        in: query
        description: Split Type search filter
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/splitType5'
          - description: Split Type search filter
      - name: noSplits
        in: query
        description: Whether the results should have splits
        style: form
        explode: true
        schema:
          type: boolean
      - name: currencyCode
        in: query
        description: Currency type search filter
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/CurrencyCode'
          - description: Currency type search filter
      - name: hiddenSeats
        in: query
        description: Whether the results should have hidden seats
        style: form
        explode: true
        schema:
          type: boolean
      - name: cooperative
        in: query
        description: Whether the results belong to a cooperative PO
        style: form
        explode: true
        schema:
          type: boolean
      - name: electronicTransfer
        in: query
        description: Whether the results should have electronic transfer
        style: form
        explode: true
        schema:
          type: boolean
      - name: vsrOption
        in: query
        description: VSR option search filter
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/VsrOption'
          - description: VSR option search filter
      - name: replenishmentGroupId
        in: query
        description: Replenishment group id search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: consignment
        in: query
        description: Whether the results belong to a consignment type PO
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/consignment1'
          - description: Whether the results belong to a consignment type PO
      - name: received
        in: query
        description: Whether the results are received
        style: form
        explode: true
        schema:
          type: boolean
      - name: onHold
        in: query
        description: Whether the results are on hold
        style: form
        explode: true
        schema:
          type: boolean
      - name: daysOldFrom
        in: query
        description: Days Old date from range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: daysOldTo
        in: query
        description: Days Old date to range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: excludeParking
        in: query
        description: Whether parking events are excluded
        style: form
        explode: true
        schema:
          type: boolean
      responses:
        '200':
          description: inventory summaries returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/InventorySummary'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    put:
      tags:
      - Inventory
      summary: update_8
      description: Bulk Price Update of Inventory
      operationId: update_8
      parameters: []
      requestBody:
        description: Inventory price update
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/InventoryPriceUpdateBulk'
              description: Inventory price update
        required: true
      responses:
        '200':
          description: Updated
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: Invalid fields (See Json response in javax.validation.Validator format)
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /inventory/{inventory-id}/split:
    put:
      tags:
      - Inventory
      summary: split
      description: Splits inventory into 2 new inventory groups
      operationId: split
      parameters:
      - name: inventory-id
        in: path
        description: The ID of the inventory to update
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: The ticket quantity of the first group
        content:
          '*/*':
            schema:
              type: integer
              description: The ticket quantity of the first group
              format: int32
        required: true
      responses:
        '200':
          description: inventory split, the new inventory id is returned
          headers: {}
          content:
            application/json:
              schema:
                type: integer
                format: int32
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /inventory/{inventory-id}/split-to-consecutive:
    put:
      tags:
      - Inventory
      summary: split_1
      description: Splits inventory into 2 new inventory consecutive groups
      operationId: split_1
      parameters:
      - name: inventory-id
        in: path
        description: The ID of the inventory to update
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: inventory split, the new inventory id is returned
          headers: {}
          content:
            application/json:
              schema:
                type: integer
                format: int32
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /inventory/{inventory-id}/tags/actions/delete:
    post:
      tags:
      - Inventory
      summary: delete_4
      description: Deletes tags for an inventory
      operationId: delete_4
      parameters:
      - name: inventory-id
        in: path
        description: The inventory Id
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: Tags to be removed from the inventory
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/TagRequest'
              description: Tags to be removed from the inventory
        required: true
      responses:
        '200':
          description: tags deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /inventory/merge:
    post:
      tags:
      - Inventory
      summary: merge
      description: Merge the list of inventories into a new inventory
      operationId: merge
      parameters: []
      requestBody:
        description: Payload
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/MergeInventoryRequest'
              - description: Payload
        required: true
      responses:
        '200':
          description: inventory created
          headers: {}
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/Inventory'
                - description: The inventory item, if the line item is Inventory. Required for purchase type inserts, ignored otherwise.
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /inventory/sync:
    put:
      tags:
      - Inventory
      summary: sync
      description: Sync Inventory with integrated services
      operationId: sync
      parameters: []
      requestBody:
        description: The inventory Ids to sync
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/SyncInventoryRequest'
              - description: The inventory Ids to sync
        required: true
      responses:
        '200':
          description: Updated
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /invoices/{invoice-id}:
    get:
      tags:
      - Invoices
      summary: getInvoiceById
      description: Retrieves an invoice by the invoice id
      operationId: getInvoiceById
      parameters:
      - name: invoice-id
        in: path
        description: The id of the invoice
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: invoice returned
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Invoice'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '404':
          description: invoice not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    put:
      tags:
      - Invoices
      summary: updateInvoice
      description: Updates an invoice
      operationId: updateInvoice
      parameters:
      - name: invoice-id
        in: path
        description: The id of the invoice
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: An invoice object to update.
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Invoice'
              - description: An invoice object to update.
        required: true
      responses:
        '200':
          description: invoice updated
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Invoice'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /invoices/external-ref/{external-ref}:
    get:
      tags:
      - Invoices
      summary: getInvoiceTicketsByExternalRef
      description: Returns tickets on an invoice by external ref
      operationId: getInvoiceTicketsByExternalRef
      parameters:
      - name: external-ref
        in: path
        description: The external ref of the invoice
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: invoice tickets returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/InvoiceTicket'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
        '404':
          description: invoice tickets not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /invoices/external-ref:
    get:
      tags:
      - Invoices
      summary: getInvoiceTicketsByExternalRefV2
      description: Returns tickets on an invoice by external ref
      operationId: getInvoiceTicketsByExternalRefV2
      parameters:
      - name: external-ref
        in: query
        description: The external ref of the invoice
        required: true
        style: form
        explode: true
        schema:
          type: string
      responses:
        '200':
          description: invoice tickets returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/InvoiceTicket'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
        '404':
          description: invoice tickets not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /invoices/{invoice-id}/lines:
    get:
      tags:
      - Invoices
      summary: getInvoiceLines
      description: Gets invoice lines
      operationId: getInvoiceLines
      parameters:
      - name: invoice-id
        in: path
        description: The id of the invoice
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: invoice lines returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Line'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    post:
      tags:
      - Invoices
      summary: insertInvoiceLine
      description: Adds an invoice line
      operationId: insertInvoiceLine
      parameters:
      - name: invoice-id
        in: path
        description: The id of the invoice
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: An invoice object to update.
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Line'
              - description: An invoice object to update.
        required: true
      responses:
        '200':
          description: invoice line updated
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Line'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /invoices/{invoice-id}/lines/{line-id}:
    get:
      tags:
      - Invoices
      summary: getInvoiceLine
      description: Gets an invoice line
      operationId: getInvoiceLine
      parameters:
      - name: invoice-id
        in: path
        description: The id of the invoice
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      - name: line-id
        in: path
        description: The line id of the invoice
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: invoice line returned
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Line'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    put:
      tags:
      - Invoices
      summary: updateInvoiceLine
      description: Updates an invoice line. Only quantity, amount, and description can be updated.
      operationId: updateInvoiceLine
      parameters:
      - name: invoice-id
        in: path
        description: The id of the invoice
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      - name: line-id
        in: path
        description: The line id of the invoice
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: An invoice object to update.
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Line'
              - description: An invoice object to update.
        required: true
      responses:
        '200':
          description: invoice line updated
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Line'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
        '404':
          description: invoice line not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    delete:
      tags:
      - Invoices
      summary: deleteInvoiceLine
      description: Deletes an invoice line. Tickets are returned back to the inventory pool.
      operationId: deleteInvoiceLine
      parameters:
      - name: invoice-id
        in: path
        description: The id of the invoice
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      - name: line-id
        in: path
        description: The line id of the invoice
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: invoice line deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /invoices/{invoice-id}/lines/{line-id}/tickets:
    get:
      tags:
      - Invoices
      summary: getInvoiceLineTickets
      description: Get tickets for inventory
      operationId: getInvoiceLineTickets
      parameters:
      - name: invoice-id
        in: path
        description: The id of the invoice
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      - name: line-id
        in: path
        description: The line id of the invoice
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: tickets returned
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /invoices/{invoice-id}/assets:
    get:
      tags:
      - Invoices
      summary: getAssets
      description: Gets invoice assets
      operationId: getAssets
      parameters:
      - name: invoice-id
        in: path
        description: The id of the invoice
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: invoice lines returned
          headers: {}
          content:
            application/json:
              schema:
                type: string
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
        '404':
          description: no pdf files for invoice tickets
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /invoices:
    get:
      tags:
      - Invoices
      summary: search_5
      description: Searches invoices
      operationId: search_5
      parameters:
      - name: limit
        in: query
        description: Number of results per page
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: sortDir
        in: query
        description: Direction to sort
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortDir'
          - description: Direction to sort
      - name: pageNumber
        in: query
        description: Page number of results to show
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: deliveryMethod
        in: query
        description: Delivery method search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/DeliveryMethod'
      - name: tag
        in: query
        description: Tags to include
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: tagsMatchAll
        in: query
        description: Whether the results should have all the tags or only some
        style: form
        explode: true
        schema:
          type: boolean
      - name: antiTag
        in: query
        description: Tags to exclude
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: antiTagsMatchAll
        in: query
        description: Whether the results should not have all the tags or only some
        style: form
        explode: true
        schema:
          type: boolean
      - name: displayName
        in: query
        description: Customer display name search filter
        style: form
        explode: true
        schema:
          type: string
      - name: vendorId
        in: query
        description: Vendor Id search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: id
        in: query
        description: Invoice Id search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: createdDateFrom
        in: query
        description: Invoice creation date from range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: createdDateTo
        in: query
        description: Invoice creation date to range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: lastUpdateFrom
        in: query
        description: Invoice last update date from range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: lastUpdateTo
        in: query
        description: Invoice last update date to range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: externalRef
        in: query
        description: External reference search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: paymentStatus
        in: query
        description: Payment status search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/PaymentStatus'
      - name: paymentDateFrom
        in: query
        description: Invoice payment date from range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: paymentDateTo
        in: query
        description: Invoice payment date to range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: invoiceStatus
        in: query
        description: Invoice status search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/InvoiceStatus'
      - name: fulfillmentStatus
        in: query
        description: Fulfillment status search filter
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/FulfillmentStatus'
          - description: Fulfillment status search filter
      - name: fulfillmentDateFrom
        in: query
        description: Invoice fulfillment date from range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: fulfillmentDateTo
        in: query
        description: Invoice fulfillment date to range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: paymentRef
        in: query
        description: Payment reference search filter
        style: form
        explode: true
        schema:
          type: string
      - name: barcodesEntered
        in: query
        description: Whether the results should have Bar Codes entered in all tickets
        style: form
        explode: true
        schema:
          type: boolean
      - name: filesUploaded
        in: query
        description: Whether the results should have Pdfs attached to all tickets
        style: form
        explode: true
        schema:
          type: boolean
      - name: zoneSeating
        in: query
        description: Whether the results should have zone seating
        style: form
        explode: true
        schema:
          type: boolean
      - name: performerId
        in: query
        description: Performer Id search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: performer
        in: query
        description: Performer search filter
        style: form
        explode: true
        schema:
          type: string
      - name: inHandDateFrom
        in: query
        description: In hand date from range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: inHandDateTo
        in: query
        description: In hand date to range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: eventDateFrom
        in: query
        description: Event date from range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: eventDateTo
        in: query
        description: Event date to range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: customerId
        in: query
        description: Customer Id search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: eventType
        in: query
        description: Event Type search filter
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/EventType'
          - description: Event Type search filter
      - name: categoryId
        in: query
        description: Category Id search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: createdBy
        in: query
        description: Email search filter for invoice creator
        style: form
        explode: true
        schema:
          type: string
      - name: createdByUserId
        in: query
        description: Id search filter for invoice creator
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: noTags
        in: query
        description: Whether the results should have tags
        style: form
        explode: true
        schema:
          type: boolean
      - name: currencyCode
        in: query
        description: Currency type search filter
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/CurrencyCode'
          - description: Currency type search filter
      - name: eventId
        in: query
        description: Event Id search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: internalId
        in: query
        description: Internal Id search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: purchaseId
        in: query
        description: Purchase Id search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: purchaseLineId
        in: query
        description: Purchase line Id search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: sortedBy
        in: query
        description: Field to sort by
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortedBy9'
          - description: Field to sort by
      - name: includeTransactionInfo
        in: query
        description: Whether the results include transaction info
        style: form
        explode: true
        schema:
          type: boolean
      - name: received
        in: query
        description: Whether the results are received
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/received'
          - description: Whether the results are received
      - name: venueId
        in: query
        description: Venue id search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: venue
        in: query
        description: Venue search filter
        style: form
        explode: true
        schema:
          type: string
      - name: stockType
        in: query
        description: Stock Type search filter
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/StockType'
          - description: Stock Type search filter
      - name: minTotal
        in: query
        description: Minimum total search filter
        style: form
        explode: true
        schema:
          type: number
          format: double
      - name: maxTotal
        in: query
        description: Maximum total search filter
        style: form
        explode: true
        schema:
          type: number
          format: double
      - name: invoiceNotesUserId
        in: query
        description: User id that added the last invoice note search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: invoices returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/InvoiceSummary'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    post:
      tags:
      - Invoices
      summary: insertInvoice
      description: Creates an invoice. The minimum fields required for creating an invoices are customerId, lines, line.amount, line.itemIds, line.lineItemType.
      operationId: insertInvoice
      parameters:
      - name: force
        in: query
        description: Whether is forced to invoice held inventory
        style: form
        explode: true
        schema:
          type: boolean
      requestBody:
        description: An invoice object to create.
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Invoice'
              - description: An invoice object to create.
        required: true
      responses:
        '200':
          description: invoice created
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Invoice'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /invoices/{invoice-id}/tags/{tag}:
    delete:
      tags:
      - Invoices
      summary: removeTag_3
      description: Deletes a tag for an invoice
      operationId: removeTag_3
      parameters:
      - name: invoice-id
        in: path
        description: The invoice Id
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      - name: tag
        in: path
        description: Tag to be removed from the invoice
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: tag deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /invoices/tags/remove:
    post:
      tags:
      - Invoices
      summary: bulkRemoveTags_3
      description: Deletes all tags from invoices with given ids
      operationId: bulkRemoveTags_3
      parameters: []
      requestBody:
        description: Invoice Ids
        content:
          application/json:
            schema:
              type: array
              items:
                type: integer
                format: int64
              description: Invoice Ids
        required: true
      responses:
        '200':
          description: tags deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /invoices/{invoice-id}/payment:
    post:
      tags:
      - Invoices
      summary: processPayment
      description: Process a payment for a invoice
      operationId: processPayment
      parameters:
      - name: invoice-id
        in: path
        description: The id of the invoice
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: Payment object
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Payment'
              - description: Payment object
        required: true
      responses:
        '200':
          description: default response
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /invoices/{invoice-id}/transactions:
    get:
      tags:
      - Invoices
      summary: getTransactionHistory
      description: List all transactions appearing on an invoice
      operationId: getTransactionHistory
      parameters:
      - name: invoice-id
        in: path
        description: The id of the invoice
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: default response
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /invoices/{invoice-id}/transactions/{transaction-id}/refund:
    post:
      tags:
      - Invoices
      summary: processRefund
      description: Refunds a payment to the card used
      operationId: processRefund
      parameters:
      - name: invoice-id
        in: path
        description: The id of the invoice
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      - name: transaction-id
        in: path
        description: The transaction id
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: Refund object
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/RefundRequest'
              - description: Refund object
        required: true
      responses:
        '200':
          description: default response
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /invoices/{invoice-id}/print-auth-form:
    get:
      tags:
      - Invoices
      summary: printCustomAuthForm
      description: Prints an Invoice Custom Auth Form
      operationId: printCustomAuthForm
      parameters:
      - name: invoice-id
        in: path
        description: The id of the invoice
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      - name: timeZoneOffset
        in: query
        description: Time zone off set
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Invoice custom auth form printed
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /invoices/actions/update-invoice-currency:
    put:
      tags:
      - Invoices
      summary: updateCurrency
      description: Converts invoice currency using an exchange rate
      operationId: updateCurrency
      parameters: []
      requestBody:
        description: Payload for bulk action
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/InvoiceCurrencyUpdateBulkAction'
              - description: Payload for bulk action
        required: true
      responses:
        '200':
          description: currency successfully updated
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /invoices/{invoice-id}/send:
    get:
      tags:
      - Invoices
      summary: send
      description: Sends an Invoice to the customer's email address
      operationId: send
      parameters:
      - name: invoice-id
        in: path
        description: Id of the invoice
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      - name: emailAddress
        in: query
        description: The customer's email addresses in the To email field
        required: true
        style: form
        explode: true
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: ccEmailAddress
        in: query
        description: The customer's email addresses in the Cc email field
        style: form
        explode: true
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: bccEmailAddress
        in: query
        description: The customer's email addresses in the Bcc email field
        style: form
        explode: true
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: subject
        in: query
        description: Subject of the email
        style: form
        explode: true
        schema:
          type: string
      - name: message
        in: query
        description: Message of the email
        style: form
        explode: true
        schema:
          type: string
      - name: includeInvoice
        in: query
        description: Whether the email includes the invoice in the body
        style: form
        explode: true
        schema:
          type: boolean
      - name: attachTickets
        in: query
        description: Whether the email includes tickets attached
        style: form
        explode: true
        schema:
          type: boolean
      - name: attachInvoicePDF
        in: query
        description: Whether the email includes the invoice PDF attached
        style: form
        explode: true
        schema:
          type: boolean
      - name: attachAuthForm
        in: query
        description: Whether the email includes the auth form PDF attached
        style: form
        explode: true
        schema:
          type: boolean
      - name: timeZoneOffset
        in: query
        description: Time zone off set
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Invoice sent
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /invoices/{invoice-id}/tags:
    post:
      tags:
      - Invoices
      summary: tag_3
      description: Inserts a new tags for an invoice. Duplicates are ignored
      operationId: tag_3
      parameters:
      - name: invoice-id
        in: path
        description: The id of the invoice
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: Tags to add
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/TagRequest'
              description: Tags to add
        required: true
      responses:
        '200':
          description: tag inserted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /invoices/bulk:
    put:
      tags:
      - Invoices
      summary: update_9
      description: Bulk Invoice Update
      operationId: update_9
      parameters: []
      requestBody:
        description: Bulk invoice update
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/BulkInvoiceUpdate'
              - description: Bulk invoice update
        required: true
      responses:
        '200':
          description: Invoices Updated
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: Invalid fields (See Json response in javax.validation.Validator format)
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /invoices/{invoice-id}/tags/actions/delete:
    post:
      tags:
      - Invoices
      summary: delete_5
      description: Deletes tags for an invoice
      operationId: delete_5
      parameters:
      - name: invoice-id
        in: path
        description: The invoice Id
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: Tags to be removed from the invoice
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/TagRequest'
              description: Tags to be removed from the invoice
        required: true
      responses:
        '200':
          description: tags deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /invoices/{invoice-id}/print:
    get:
      tags:
      - Invoices
      summary: print
      description: Prints an Invoice
      operationId: print
      parameters:
      - name: invoice-id
        in: path
        description: The id of the invoice
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      - name: timeZoneOffset
        in: query
        description: Time zone off set
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Invoice sent
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /lines/{line-id}:
    get:
      tags:
      - Lines
      summary: getLineById
      description: Retrieves a line by the line id
      operationId: getLineById
      parameters:
      - name: line-id
        in: path
        description: The line id of the line
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: line returned
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Line'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '404':
          description: line not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /mappings/actions/bulk-cancel:
    post:
      tags:
      - Mapping
      summary: bulkDelete
      description: Deletes a bulk of mappings and cancels the purchase lines they are associated with
      operationId: bulkDelete
      parameters: []
      requestBody:
        description: The id of the mapping
        content:
          application/json:
            schema:
              type: array
              items:
                type: integer
                format: int64
              description: The id of the mapping
        required: true
      responses:
        '200':
          description: mappings deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
        '404':
          description: mappings not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /mappings/{mapping-id}:
    get:
      tags:
      - Mapping
      summary: findPendingById
      description: Returns a mapping
      operationId: findPendingById
      parameters:
      - name: mapping-id
        in: path
        description: The id of the mapping to retrieve
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: mappings returned
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InventoryMapping'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '404':
          description: mapping not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    delete:
      tags:
      - Mapping
      summary: delete_6
      description: Deletes a mapping and cancels the purchase line it's associated with
      operationId: delete_6
      parameters:
      - name: mapping-id
        in: path
        description: The id of the mapping
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: mapping deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
        '404':
          description: mapping not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /mappings:
    get:
      tags:
      - Mapping
      summary: getPendingByAccount
      description: Gets all pending mappings
      operationId: getPendingByAccount
      parameters:
      - name: purchaseId
        in: query
        description: Purchase Id search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: externalRef
        in: query
        description: External reference search filter
        style: form
        explode: true
        schema:
          type: string
      - name: event
        in: query
        description: Event search filter
        style: form
        explode: true
        schema:
          type: string
      - name: venue
        in: query
        description: Venue search filter
        style: form
        explode: true
        schema:
          type: string
      responses:
        '200':
          description: mappings returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/InventoryMappingSummary'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /mappings/{mapping-id}/resend:
    get:
      tags:
      - Mapping
      summary: resendMappingRequest
      description: Re-sends a mapping to the mapping queue. Returns the mapping id
      operationId: resendMappingRequest
      parameters:
      - name: mapping-id
        in: path
        description: The id of the mapping
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: mapping re-sent successfully
          headers: {}
          content:
            application/json:
              schema:
                type: integer
                format: int32
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
        '404':
          description: mapping not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /purchases/{purchase-id}/tags/{tag}:
    delete:
      tags:
      - Purchases
      summary: removeTag_4
      description: Deletes a tag for a purchase
      operationId: removeTag_4
      parameters:
      - name: purchase-id
        in: path
        description: The id of the purchase
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      - name: tag
        in: path
        description: Tag to be removed from the purchase
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: tag deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /purchases/tags/remove:
    post:
      tags:
      - Purchases
      summary: bulkRemoveTags_4
      description: Deletes all tags from purchases with given ids
      operationId: bulkRemoveTags_4
      parameters: []
      requestBody:
        description: Purchase Ids
        content:
          application/json:
            schema:
              type: array
              items:
                type: integer
                format: int64
              description: Purchase Ids
        required: true
      responses:
        '200':
          description: tags deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /purchases/{purchase-id}:
    get:
      tags:
      - Purchases
      summary: getPurchaseById
      description: Retrieves a purchase by the purchase id
      operationId: getPurchaseById
      parameters:
      - name: purchase-id
        in: path
        description: The id of the purchase
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: purchase returned
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Purchase'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '404':
          description: purchase not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    put:
      tags:
      - Purchases
      summary: updatePurchase
      description: Updates a purchase
      operationId: updatePurchase
      parameters:
      - name: purchase-id
        in: path
        description: The id of the purchase
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: A purchase object to update.
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Purchase'
              - description: A purchase object to update.
        required: true
      responses:
        '200':
          description: purchase updated
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Purchase'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /purchases/{purchase-id}/lines/{line-id}/inventory:
    post:
      tags:
      - Purchases
      summary: updatePurchaseInventory_1
      description: Updates section and row for a purchase line
      operationId: updatePurchaseInventory_1
      parameters:
      - name: purchase-id
        in: path
        description: The id of the purchase
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      - name: line-id
        in: path
        description: The line id of the purchase
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdatePurchaseInventoryRequest'
        required: true
      responses:
        '200':
          description: update successful
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /purchases/{purchase-id}/airbill:
    get:
      tags:
      - Purchases
      summary: getAirbill
      description: Retrieves a purchase's airbill
      operationId: getAirbill
      parameters:
      - name: purchase-id
        in: path
        description: The id of the purchase
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: retrieves the purchase's airbill
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PurchaseNote'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '404':
          description: purchase not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /purchases/actions/update-purchase-currency:
    put:
      tags:
      - Purchases
      summary: updateCurrency_1
      description: Converts purchases currency using an exchange rate
      operationId: updateCurrency_1
      parameters: []
      requestBody:
        description: Payload for bulk action
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/CurrencyUpdateBulkAction'
              - description: Payload for bulk action
        required: true
      responses:
        '200':
          description: currency successfully updated
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /purchases/auto-purchases:
    get:
      tags:
      - Purchases
      summary: searchAutoPurchases
      description: Searches auto purchases
      operationId: searchAutoPurchases
      parameters:
      - name: limit
        in: query
        description: Number of results per page
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: sortDir
        in: query
        description: Direction to sort
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortDir'
          - description: Direction to sort
      - name: pageNumber
        in: query
        description: Page number of results to show
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: eventId
        in: query
        description: Event Id search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: purchaseId
        in: query
        description: Purchase Id search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: user
        in: query
        description: User email search filter
        style: form
        explode: true
        schema:
          type: string
      - name: userId
        in: query
        description: User id search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: externalRef
        in: query
        description: External reference search filter
        style: form
        explode: true
        schema:
          type: string
      - name: fromPurchaseDate
        in: query
        description: Purchase date from range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: toPurchaseDate
        in: query
        description: Purchase date to range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: eventName
        in: query
        description: Event name search filter
        style: form
        explode: true
        schema:
          type: string
      - name: venueId
        in: query
        description: Venue id search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: venue
        in: query
        description: Venue search filter
        style: form
        explode: true
        schema:
          type: string
      - name: ticketStatus
        in: query
        description: Ticket Status search filter
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/TicketStatus'
          - description: Ticket Status search filter
      - name: sortedBy
        in: query
        description: Field to sort by
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortedBy10'
          - description: Field to sort by
      responses:
        '200':
          description: auto purchases returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PurchaseSummary'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /purchases/{purchase-id}/notes:
    post:
      tags:
      - Purchases
      summary: addPurchaseNote
      description: Adds a purchase note
      operationId: addPurchaseNote
      parameters:
      - name: purchase-id
        in: path
        description: The id of the purchase
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: Purchase note object
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/PurchaseNote'
              - description: Purchase note object
        required: true
      responses:
        '200':
          description: note added is returned
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PurchaseNote'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '404':
          description: purchase not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /purchases:
    get:
      tags:
      - Purchases
      summary: search_6
      description: Searches purchases
      operationId: search_6
      parameters:
      - name: limit
        in: query
        description: Number of results per page
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: sortDir
        in: query
        description: Direction to sort
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortDir'
          - description: Direction to sort
      - name: pageNumber
        in: query
        description: Page number of results to show
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: deliveryMethod
        in: query
        description: Delivery method search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/DeliveryMethod'
      - name: paymentMethod
        in: query
        description: Payment method search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/PaymentMethod'
      - name: vendorType
        in: query
        description: Vendor type search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/vendorType'
      - name: tag
        in: query
        description: Tags to include
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: tagsMatchAll
        in: query
        description: Whether the results should have all the tags or only some
        style: form
        explode: true
        schema:
          type: boolean
      - name: antiTag
        in: query
        description: Tags to exclude
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: antiTagsMatchAll
        in: query
        description: Whether the results should not have all the tags or only some
        style: form
        explode: true
        schema:
          type: boolean
      - name: vendorTag
        in: query
        description: ''
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: vendorTagsMatchAll
        in: query
        description: ''
        style: form
        explode: true
        schema:
          type: boolean
      - name: vendorId
        in: query
        description: Vendor Id search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: displayName
        in: query
        description: Vendor display name search filter
        style: form
        explode: true
        schema:
          type: string
      - name: id
        in: query
        description: Purchase Id search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: inventoryId
        in: query
        description: Inventory Id search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: invoiceLineId
        in: query
        description: Invoice line Id search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: creditCardId
        in: query
        description: Invoice line Id search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: createdDateFrom
        in: query
        description: Purchase creation date from range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: createdDateTo
        in: query
        description: Purchase creation date to range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: lastUpdateFrom
        in: query
        description: Purchase last update date from range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: lastUpdateTo
        in: query
        description: Purchase last update date to range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: externalRef
        in: query
        description: External reference search filter
        style: form
        explode: true
        schema:
          type: string
      - name: simplifiedExternalRef
        in: query
        description: Simplified external reference (ignoring dashes, slashes or spaces) search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: paymentStatus
        in: query
        description: Payment status search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/PaymentStatus'
      - name: purchaseStatus
        in: query
        description: Purchase status search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/purchaseStatus'
      - name: minCost
        in: query
        description: Minimum cost search filter
        style: form
        explode: true
        schema:
          type: number
          format: double
      - name: maxCost
        in: query
        description: Maximum cost search filter
        style: form
        explode: true
        schema:
          type: number
          format: double
      - name: currencyCode
        in: query
        description: Currency type search filter
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/CurrencyCode'
          - description: Currency type search filter
      - name: internalId
        in: query
        description: Internal Id search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: sortedBy
        in: query
        description: Field to sort by
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortedBy11'
          - description: Field to sort by
      - name: includeHasZoneSeatingInventory
        in: query
        description: Whether the results should include inventory zone seating
        style: form
        explode: true
        schema:
          type: boolean
      - name: zeroOutstandingBalance
        in: query
        description: Whether the results should have zero outstanding balance
        style: form
        explode: true
        schema:
          type: boolean
      - name: minOutstandingBalance
        in: query
        description: Minimum outstanding balance search filter
        style: form
        explode: true
        schema:
          type: number
          format: double
      - name: maxOutstandingBalance
        in: query
        description: Maximum outstanding balance search filter
        style: form
        explode: true
        schema:
          type: number
          format: double
      - name: consignment
        in: query
        description: Whether the results have a consignment type POs
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/consignment1'
          - description: Whether the results have a consignment type POs
      - name: eventId
        in: query
        description: Event Id search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: eventName
        in: query
        description: Event Name search filter
        style: form
        explode: true
        schema:
          type: string
      - name: cooperative
        in: query
        description: Whether the results have cooperative POs
        style: form
        explode: true
        schema:
          type: boolean
      - name: createdBy
        in: query
        description: User email for purchase creator
        style: form
        explode: true
        schema:
          type: string
      - name: createdByUserId
        in: query
        description: User id for purchase creator
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: lastPurchasePaymentNote
        in: query
        description: Last purchase payment note search filter
        style: form
        explode: true
        schema:
          type: string
      - name: vendorTags
        in: query
        description: ''
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      responses:
        '200':
          description: purchases returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PurchaseSummary'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    post:
      tags:
      - Purchases
      summary: insertPurchase
      description: Creates a purchase. The minimum required field to insert a purchase is the vendorId. Inventory purchase lines must include quantity, section, row, cost, lowSeat, highSeat, stockType,  seatType and either an eventId or eventMapping.
      operationId: insertPurchase
      parameters: []
      requestBody:
        description: A purchase object to create.
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Purchase'
              - description: A purchase object to create.
        required: true
      responses:
        '200':
          description: purchase created
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Purchase'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /purchases/{purchase-id}/lines:
    get:
      tags:
      - Purchases
      summary: getPurchaseLines
      description: Gets purchase lines
      operationId: getPurchaseLines
      parameters:
      - name: purchase-id
        in: path
        description: The id of the purchase
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: purchase lines returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Line'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    post:
      tags:
      - Purchases
      summary: insertPurchaseLine
      description: Adds a purchase line
      operationId: insertPurchaseLine
      parameters:
      - name: purchase-id
        in: path
        description: The id of the purchase
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: The purchase line to add.
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Line'
              - description: The purchase line to add.
        required: true
      responses:
        '200':
          description: line added successfully
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Line'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /purchases/{purchase-id}/lines/{line-id}:
    get:
      tags:
      - Purchases
      summary: getPurchaseLine
      description: Gets a purchase line
      operationId: getPurchaseLine
      parameters:
      - name: purchase-id
        in: path
        description: The id of the purchase
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      - name: line-id
        in: path
        description: The line id of the purchase
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: purchase line returned
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Line'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    put:
      tags:
      - Purchases
      summary: updatePurchaseLine
      description: Updates a purchase line. Only amount and description can be updated.
      operationId: updatePurchaseLine
      parameters:
      - name: purchase-id
        in: path
        description: The id of the purchase
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      - name: line-id
        in: path
        description: The line id of the purchase
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: A purchase line object to update.
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Line'
              - description: A purchase line object to update.
        required: true
      responses:
        '200':
          description: purchase line updated
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Line'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
        '404':
          description: line not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /purchases/{purchase-id}/lines/{line-id}/actions/replace:
    post:
      tags:
      - Purchases
      summary: replacePurchaseLine
      description: Replaces a purchase line. Allows changing section, row, low seat and seat type.
      operationId: replacePurchaseLine
      parameters:
      - name: purchase-id
        in: path
        description: The id of the purchase
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      - name: line-id
        in: path
        description: The line id of the purchase
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PurchaseLineReplaceAction'
        required: true
      responses:
        '200':
          description: purchase line replaced
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Line'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /purchases/{purchase-id}/lines/{line-id}/tickets:
    get:
      tags:
      - Purchases
      summary: getPurchaseLineTickets
      description: Gets the tickets of a purchase line
      operationId: getPurchaseLineTickets
      parameters:
      - name: purchase-id
        in: path
        description: The id of the purchase
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      - name: line-id
        in: path
        description: The line id of the purchase
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: tickets of the purchase line returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Ticket'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /purchases/{purchase-id}/lines/{line-id}/cancel:
    put:
      tags:
      - Purchases
      summary: cancelPurchaseLine
      description: Cancels a purchase line
      operationId: cancelPurchaseLine
      parameters:
      - name: purchase-id
        in: path
        description: The id of the purchase
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      - name: line-id
        in: path
        description: The line id of the purchase
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: purchase line cancelled
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /purchases/{purchase-id}/inventory:
    post:
      tags:
      - Purchases
      summary: multiWithPurchaseId
      description: Creates inventory
      operationId: multiWithPurchaseId
      parameters:
      - name: purchase-id
        in: path
        description: The purchase order id on which to attach the tickets
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: Array of inventory objects to create.
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Inventory'
              description: Array of inventory objects to create.
        required: true
      responses:
        '200':
          description: inventory order created
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Inventory'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /purchases/{purchase-id}/send:
    get:
      tags:
      - Purchases
      summary: send_1
      description: Sends a Purchase Order to the vendor's email address
      operationId: send_1
      parameters:
      - name: purchase-id
        in: path
        description: Id of the purchase
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      - name: emailAddress
        in: query
        description: The vendor's email addresses in the To email field
        required: true
        style: form
        explode: true
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: ccEmailAddress
        in: query
        description: The vendor's email addresses in the Cc email field
        style: form
        explode: true
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: bccEmailAddress
        in: query
        description: The vendor's email addresses in the Bcc email field
        style: form
        explode: true
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: subject
        in: query
        description: Subject of the email
        style: form
        explode: true
        schema:
          type: string
      - name: message
        in: query
        description: Message of the email
        style: form
        explode: true
        schema:
          type: string
      - name: includeAirbill
        in: query
        description: Whether the email includes the airbill PDF attached
        style: form
        explode: true
        schema:
          type: boolean
      - name: timeZoneOffset
        in: query
        description: Time zone off set
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Purchase Order sent
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /purchases/{purchase-id}/tags:
    post:
      tags:
      - Purchases
      summary: tag_4
      description: Inserts a new tags for a purchase. Duplicates are ignored.
      operationId: tag_4
      parameters:
      - name: purchase-id
        in: path
        description: The id of the purchase
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: Tags to add
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/TagRequest'
              description: Tags to add
        required: true
      responses:
        '200':
          description: tag inserted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /purchases/bulk:
    put:
      tags:
      - Purchases
      summary: update_10
      description: Bulk Purchase Update
      operationId: update_10
      parameters: []
      requestBody:
        description: Bulk purchase update
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/BulkPurchaseUpdate'
              - description: Bulk purchase update
        required: true
      responses:
        '200':
          description: Updated
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: Invalid fields (See Json response in javax.validation.Validator format)
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /purchases/{purchase-id}/tags/actions/delete:
    post:
      tags:
      - Purchases
      summary: delete_7
      description: Deletes tags for a purchase
      operationId: delete_7
      parameters:
      - name: purchase-id
        in: path
        description: The purchase Id
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: Tags to be removed from the purchase
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/TagRequest'
              description: Tags to be removed from the purchase
        required: true
      responses:
        '200':
          description: tags deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /purchases/{purchase-id}/print:
    get:
      tags:
      - Purchases
      summary: print_1
      description: Prints a Purchase Order
      operationId: print_1
      parameters:
      - name: purchase-id
        in: path
        description: The id of the purchase
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      - name: timeZoneOffset
        in: query
        description: Time zone off set
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Purchase Order sent
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /purchases/{purchase-id}/audit:
    get:
      tags:
      - Purchases
      summary: search_7
      description: Retrieves a single purchase's audit records
      operationId: search_7
      parameters:
      - name: purchase-id
        in: path
        description: The id of the purchase
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: audit records returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Audit'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /quicksearch:
    get:
      tags:
      - Quick Search
      summary: search_8
      description: Searches by the passed criteria
      operationId: search_8
      parameters:
      - name: key
        in: query
        description: Key value to search
        required: true
        style: form
        explode: true
        schema:
          type: string
      responses:
        '200':
          description: results returned
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuickSearchResult'
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /reports/snapshots:
    get:
      tags:
      - Reports
      summary: queryReportSnapshots
      description: Searches snapshots
      operationId: queryReportSnapshots
      parameters:
      - name: reportId
        in: query
        description: Report Id search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: snapshotDateFrom
        in: query
        description: Snapshot creation date from range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: snapshotDateTo
        in: query
        description: Snapshot creation date to range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      responses:
        '200':
          description: Snapshots returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ReportSnapshot'
                description: ''
        '401':
          description: Not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /reports/snapshots/{id}:
    get:
      tags:
      - Reports
      summary: getReportSnapshot
      description: Retrieves a snapshot by the snapshot id
      operationId: getReportSnapshot
      parameters:
      - name: id
        in: path
        description: The id of the snapshot
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: Snapshot returned
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReportSnapshotResult'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '404':
          description: Snapshots not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /tags/bulk:
    put:
      tags:
      - Tags
      summary: bulk
      description: Bulk add/remove tags
      operationId: bulk
      parameters: []
      requestBody:
        description: Update payload
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/BulkTagRequest'
              - description: Update payload
        required: true
      responses:
        '200':
          description: tag deleted
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TagSummary'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /tags/summary:
    get:
      tags:
      - Tags
      summary: tagsSummary
      description: Tags summary
      operationId: tagsSummary
      parameters:
      - name: limit
        in: query
        description: Number of results per page
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: sortDir
        in: query
        description: Direction to sort
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortDir'
          - description: Direction to sort
      - name: pageNumber
        in: query
        description: Page number of results to show
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: id
        in: query
        description: Tag Id
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: tag
        in: query
        description: Tag name
        style: form
        explode: true
        schema:
          type: string
      responses:
        '200':
          description: tag summary returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TagSummary'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /tags/actions/delete:
    post:
      tags:
      - Tags
      summary: delete_8
      description: Deletes tags for an account
      operationId: delete_8
      parameters: []
      requestBody:
        description: Tags to remove
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/TagRequest'
              description: Tags to remove
        required: true
      responses:
        '200':
          description: tags deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /tags:
    get:
      tags:
      - Tags
      summary: list
      description: Retrieves a list of tags for an account
      operationId: list
      parameters: []
      responses:
        '200':
          description: list returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /tickets:
    get:
      tags:
      - Tickets
      summary: search_9
      description: Searches a ticket with the given barcode
      operationId: search_9
      parameters:
      - name: barcode
        in: query
        description: Ticket barcode to look for
        style: form
        explode: true
        schema:
          type: string
      - name: lastUpdateFrom
        in: query
        description: Ticket last update date from range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: lastUpdateTo
        in: query
        description: Ticket last update date to range filter
        style: form
        explode: true
        schema:
          type: string
          format: date-time
      - name: eventId
        in: query
        description: ''
        style: form
        explode: true
        schema:
          uniqueItems: true
          type: array
          items:
            type: integer
            format: int64
      - name: section
        in: query
        description: ''
        style: form
        explode: true
        schema:
          type: string
      - name: row
        in: query
        description: ''
        style: form
        explode: true
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: seatNumber
        in: query
        description: ''
        style: form
        explode: true
        schema:
          uniqueItems: true
          type: array
          items:
            type: integer
            format: int32
      responses:
        '200':
          description: tickets returned
          headers: {}
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/Ticket'
                - description: An individual ticket
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /users:
    get:
      tags:
      - Users
      summary: listUsers
      description: Gets a list of users
      operationId: listUsers
      parameters: []
      responses:
        '200':
          description: users returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/User'
                description: ''
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /users/me:
    get:
      tags:
      - Users
      summary: getMe
      description: Gets the current user details
      operationId: getMe
      parameters: []
      responses:
        '200':
          description: user returned
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - AuthorizationToken: []
      - Account: []
  /vendors/{vendor-id}:
    get:
      tags:
      - Vendors
      summary: getById_7
      description: Retrieves a vendor by the vendor id
      operationId: getById_7
      parameters:
      - name: vendor-id
        in: path
        description: The id of the vendor
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: vendor returned
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Vendor'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '404':
          description: vendor not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    put:
      tags:
      - Vendors
      summary: update_12
      description: Updates a vendor
      operationId: update_12
      parameters:
      - name: vendor-id
        in: path
        description: The id of the vendor
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: The vendor object to update.
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Vendor'
              - description: The vendor object to update.
        required: true
      responses:
        '200':
          description: vendor updated
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Vendor'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /vendors/{vendor-id}/tags/{tag}:
    delete:
      tags:
      - Vendors
      summary: removeTag_5
      description: Deletes a tag for a vendor
      operationId: removeTag_5
      parameters:
      - name: vendor-id
        in: path
        description: The id of the vendor
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      - name: tag
        in: path
        description: Tag to remove
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: tag deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /vendors/tags/remove:
    post:
      tags:
      - Vendors
      summary: bulkRemoveTags_5
      description: Deletes all tags from vendors with given ids
      operationId: bulkRemoveTags_5
      parameters: []
      requestBody:
        description: Vendor Ids
        content:
          application/json:
            schema:
              type: array
              items:
                type: integer
                format: int64
              description: Vendor Ids
        required: true
      responses:
        '200':
          description: tags deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /vendors/default:
    get:
      tags:
      - Vendors
      summary: getDefault
      description: Retrieves the default vendor for the account
      operationId: getDefault
      parameters: []
      responses:
        '200':
          description: default vendor returned
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '404':
          description: default vendor not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    put:
      tags:
      - Vendors
      summary: updateDefaultVendor
      description: Sets the default vendor for the account
      operationId: updateDefaultVendor
      parameters: []
      requestBody:
        description: The vendor id of the default vendor
        content:
          application/json:
            schema:
              type: integer
              description: The vendor id of the default vendor
              format: int64
        required: true
      responses:
        '200':
          description: default vendor updated
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /vendors/{vendor-id}/tags:
    post:
      tags:
      - Vendors
      summary: tag_5
      description: Inserts a new tags for a vendor. Duplicates are ignored
      operationId: tag_5
      parameters:
      - name: vendor-id
        in: path
        description: The id of the vendor
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: Tags to add
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/TagRequest'
              description: Tags to add
        required: true
      responses:
        '200':
          description: tag inserted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /vendors/bulk:
    put:
      tags:
      - Vendors
      summary: update_11
      description: Bulk Vendor Update
      operationId: update_11
      parameters: []
      requestBody:
        description: Bulk vendor update
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/BulkVendorUpdate'
              - description: Bulk vendor update
        required: true
      responses:
        '200':
          description: Updated
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: Invalid fields (See Json response in javax.validation.Validator format)
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /vendors/{vendor-id}/tags/actions/delete:
    post:
      tags:
      - Vendors
      summary: delete_9
      description: Deletes tags for a vendor
      operationId: delete_9
      parameters:
      - name: vendor-id
        in: path
        description: The vendor Id
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: Tags to be removed from the vendor
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/TagRequest'
              description: Tags to be removed from the vendor
        required: true
      responses:
        '200':
          description: tags deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /vendors:
    get:
      tags:
      - Vendors
      summary: search_10
      description: Retrieves all vendors
      operationId: search_10
      parameters:
      - name: limit
        in: query
        description: Number of results per page
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: sortDir
        in: query
        description: Direction to sort
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortDir'
          - description: Direction to sort
      - name: pageNumber
        in: query
        description: Page number of results to show
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: id
        in: query
        description: Vendor Id search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int64
      - name: vendorType
        in: query
        description: Vendor type search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/vendorType'
      - name: tag
        in: query
        description: Tags to include
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: tagsMatchAll
        in: query
        description: Whether the results should have all the tags or only some
        style: form
        explode: true
        schema:
          type: boolean
      - name: antiTag
        in: query
        description: Tags to exclude
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: antiTagsMatchAll
        in: query
        description: Whether the results should not have all the tags or only some
        style: form
        explode: true
        schema:
          type: boolean
      - name: displayName
        in: query
        description: Vendor display name search filter
        style: form
        explode: true
        schema:
          type: string
      - name: email
        in: query
        description: Email search filter
        style: form
        explode: true
        schema:
          type: string
      - name: lastName
        in: query
        description: Last name search filter
        style: form
        explode: true
        schema:
          type: string
      - name: company
        in: query
        description: Company search filter
        style: form
        explode: true
        schema:
          type: string
      - name: city
        in: query
        description: City search filter
        style: form
        explode: true
        schema:
          type: string
      - name: state
        in: query
        description: State search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: phone
        in: query
        description: Phone number to search by (matching phone 1 and phone 2 fields)
        style: form
        explode: true
        schema:
          type: string
      - name: sortedBy
        in: query
        description: Field to sort by
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortedBy12'
          - description: Field to sort by
      responses:
        '200':
          description: vendors returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Vendor'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    post:
      tags:
      - Vendors
      summary: insert_4
      description: Creates vendors
      operationId: insert_4
      parameters: []
      requestBody:
        description: A vendor object to create.
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Vendor'
              - description: A vendor object to create.
        required: true
      responses:
        '200':
          description: vendor created
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Vendor'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /venues/{venue-id}:
    get:
      tags:
      - Venues
      summary: getById_8
      description: Retrieves a venue by the venue id
      operationId: getById_8
      parameters:
      - name: venue-id
        in: path
        description: The id of the venue
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: venue returned
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Venue'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '404':
          description: venue not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /venues:
    get:
      tags:
      - Venues
      summary: search_11
      description: Searches venues
      operationId: search_11
      parameters:
      - name: limit
        in: query
        description: Number of results per page
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: sortDir
        in: query
        description: Direction to sort
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortDir'
          - description: Direction to sort
      - name: pageNumber
        in: query
        description: Page number of results to show
        style: form
        explode: true
        schema:
          type: integer
          format: int32
      - name: name
        in: query
        description: Venue name search filter
        style: form
        explode: true
        schema:
          type: string
      - name: city
        in: query
        description: City search filter
        style: form
        explode: true
        schema:
          type: string
      - name: state
        in: query
        description: State search filter
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: id
        in: query
        description: Venue Id search filter
        style: form
        explode: true
        schema:
          type: integer
          format: int64
      - name: sortedBy
        in: query
        description: Field to sort by
        style: form
        explode: true
        schema:
          allOf:
          - $ref: '#/components/schemas/sortedBy13'
          - description: Field to sort by
      responses:
        '200':
          description: venues returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Venue'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /webhooks/{id}:
    get:
      tags:
      - Webhooks
      summary: find
      description: Get Webhook
      operationId: find
      parameters:
      - name: id
        in: path
        description: ''
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: Webhook returned
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkyboxWebhook'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '404':
          description: Webhook not found
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    put:
      tags:
      - Webhooks
      summary: update_13
      description: Update Webhook
      operationId: update_13
      parameters:
      - name: id
        in: path
        description: ''
        required: true
        style: simple
        schema:
          type: integer
          format: int64
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SkyboxWebhook'
        required: true
      responses:
        '200':
          description: Webhook updated
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkyboxWebhook'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    delete:
      tags:
      - Webhooks
      summary: delete_10
      description: Delete Webhook
      operationId: delete_10
      parameters:
      - name: id
        in: path
        description: ''
        required: true
        style: simple
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Webhook deleted
          headers: {}
          content: {}
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
  /webhooks:
    get:
      tags:
      - Webhooks
      summary: query_1
      description: Get all Webhooks created
      operationId: query_1
      parameters: []
      responses:
        '200':
          description: Webhooks returned
          headers: {}
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SkyboxWebhook'
                description: ''
        '401':
          description: not authorized
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
    post:
      tags:
      - Webhooks
      summary: create_1
      description: Create Webhook
      operationId: create_1
      parameters: []
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SkyboxWebhook'
        required: true
      responses:
        '200':
          description: Webhook created
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkyboxWebhook'
        '401':
          description: not authorized
          headers: {}
          content: {}
        '400':
          description: invalid request
          headers: {}
          content: {}
      deprecated: false
      security:
      - ApplicationToken: []
      - AuthorizationToken: []
      - Account: []
components:
  schemas:
    Notification:
      title: Notification
      type: object
      properties:
        title:
          type: string
        message:
          type: string
        extra:
          type: string
        type:
          $ref: '#/components/schemas/Type'
        alertId:
          type: integer
          format: int64
    DateTimeZone:
      title: DateTimeZone
      type: object
      properties:
        fixed:
          type: boolean
        id:
          type: string
    Account:
      title: Account
      required:
      - company
      - email
      - firstName
      - lastName
      - phone
      - address1
      - address2
      - city
      - state
      - postalCode
      - country
      - logo
      type: object
      properties:
        id:
          type: integer
          description: the account id (ignored by API)
          format: int64
        company:
          type: string
          description: the company name
        email:
          type: string
          description: the account contact email address
        firstName:
          type: string
          description: account contact's first name
        lastName:
          type: string
          description: account contact's last name
        phone:
          type: string
          description: account contact's phone number
        externalMerchantId:
          type: string
          description: account external merchant id
        creationDate:
          type: string
          format: date-time
        lastUpdate:
          type: string
          format: date-time
        address1:
          type: string
          description: the company's 1st address line
        address2:
          type: string
          description: the company's 2nd address line
        city:
          type: string
          description: the company's city
        state:
          allOf:
          - $ref: '#/components/schemas/State'
          - description: the company's state
        postalCode:
          type: string
          description: the company's postal code
        country:
          allOf:
          - $ref: '#/components/schemas/Country'
          - description: the company's country
        logo:
          type: string
          description: the company logo
        nativeIntegrationEnabled:
          type: boolean
        optInStf:
          type: boolean
        deleteCancelledTickets:
          type: boolean
        accountSettings:
          type: array
          items:
            $ref: '#/components/schemas/AccountSetting'
          description: ''
    AccountSetting:
      title: AccountSetting
      required:
      - settingName
      type: object
      properties:
        id:
          type: integer
          format: int64
        accountId:
          type: integer
          format: int64
        settingName:
          $ref: '#/components/schemas/SettingName'
        value:
          type: object
    Address:
      title: Address
      required:
      - address1
      - city
      - state
      - postalCode
      - country
      - phone1
      type: object
      properties:
        id:
          type: integer
          format: int64
        accountId:
          type: integer
          format: int64
        firstName:
          maxLength: 255
          minLength: 0
          type: string
        lastName:
          maxLength: 255
          minLength: 0
          type: string
        company:
          maxLength: 255
          minLength: 0
          type: string
        address1:
          maxLength: 255
          minLength: 0
          type: string
        address2:
          maxLength: 255
          minLength: 0
          type: string
        city:
          maxLength: 255
          minLength: 1
          type: string
        state:
          $ref: '#/components/schemas/State1'
        postalCode:
          maxLength: 45
          minLength: 1
          type: string
        country:
          maxLength: 45
          minLength: 1
          type: string
        phone1:
          maxLength: 45
          minLength: 0
          type: string
        phone2:
          maxLength: 45
          minLength: 0
          type: string
        fax:
          maxLength: 45
          minLength: 0
          type: string
    Alert:
      title: Alert
      required:
      - subject
      - message
      - alertType
      type: object
      properties:
        id:
          type: integer
          format: int64
        creatorId:
          type: integer
          format: int64
        accountId:
          type: integer
          format: int64
        subject:
          type: string
        message:
          type: string
        alertType:
          $ref: '#/components/schemas/AlertType'
        createdDate:
          type: string
          format: date-time
        lastUpdate:
          type: string
          format: date-time
        acknowledged:
          type: boolean
        senderName:
          type: string
        senderEmail:
          type: string
        releaseAlertId:
          type: integer
          format: int64
    PdfDetails:
      title: PdfDetails
      type: object
      properties:
        pageNumber:
          type: integer
          description: the page number within the original PDF
          format: int32
        pdfUrl:
          type: string
          description: the url for the individual pdf page
    PdfUpload:
      title: PdfUpload
      type: object
      properties:
        pdf:
          type: array
          items:
            type: string
          description: ''
    Audit:
      title: Audit
      required:
      - entityType
      - auditAction
      - json
      type: object
      properties:
        id:
          type: integer
          format: int64
        accountId:
          minimum: 1
          type: integer
          format: int64
        entityType:
          $ref: '#/components/schemas/EntityType'
        entityId:
          minimum: 1
          type: integer
          format: int64
        auditAction:
          $ref: '#/components/schemas/AuditAction'
        json:
          type: string
        email:
          type: string
        userId:
          type: integer
          format: int64
        authToken:
          type: string
        apiToken:
          type: string
        updatedFields:
          type: string
        createdDate:
          type: string
          format: date-time
        entity:
          type: object
          writeOnly: true
        updatedFieldList:
          type: array
          items:
            type: string
          description: ''
    CreditCard:
      title: CreditCard
      type: object
      properties:
        token:
          type: string
        billingAddress:
          $ref: '#/components/schemas/BillingAddress'
        cardholderName:
          type: string
        defaultCard:
          type: boolean
    CustomerCard:
      title: CustomerCard
      required:
      - cardType
      - lastFourDigits
      - externalId
      - customerExternalId
      - addressExternalId
      type: object
      properties:
        id:
          type: integer
          description: Required for updates, ignored on inserts.
          format: int64
        accountId:
          type: integer
          format: int64
        cardType:
          $ref: '#/components/schemas/CardType'
        lastFourDigits:
          type: integer
          format: int32
        externalId:
          type: string
        customerExternalId:
          type: string
        addressExternalId:
          type: string
        cardholderName:
          type: string
        expirationMonth:
          type: integer
          format: int32
        expirationYear:
          type: integer
          format: int32
        customerId:
          type: integer
          description: Required for updates, ignored on inserts.
          format: int64
        defaultCard:
          type: boolean
        lastDateUsed:
          type: string
          format: date-time
    CreditCardGroup:
      title: CreditCardGroup
      type: object
      properties:
        id:
          type: integer
          description: Required for updates, ignored on inserts.
          format: int64
        accountId:
          minimum: 1
          type: integer
          format: int64
        label:
          type: string
          description: The label of the credit card group.
        description:
          type: string
          description: The description of the credit card group.
        creditCards:
          type: array
          items:
            $ref: '#/components/schemas/CreditCard'
          description: ''
    Customer:
      title: Customer
      required:
      - accountId
      - email
      - address
      - displayName
      - customerType
      - salesTerm
      - paymentMethod
      - defaultDeliveryMethod
      type: object
      properties:
        id:
          type: integer
          description: Required for updates, ignored on inserts.
          format: int64
        accountId:
          type: integer
          format: int64
        createdDate:
          type: string
          format: date-time
        lastUpdate:
          type: string
          format: date-time
        lastInvoiceDate:
          type: string
          format: date-time
        email:
          type: string
        email2:
          type: string
        useEmail2:
          type: boolean
        company:
          type: string
        address:
          $ref: '#/components/schemas/Address'
        notes:
          type: string
        firstName:
          type: string
        lastName:
          type: string
        title:
          type: string
        outlawedPaymentMethods:
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/OutlawedPaymentMethod'
          description: ''
        displayName:
          maxLength: 100
          minLength: 0
          type: string
        customerType:
          $ref: '#/components/schemas/CustomerType'
        salesTerm:
          $ref: '#/components/schemas/SalesTerm'
        paymentMethod:
          $ref: '#/components/schemas/PaymentMethod'
        arThreshold:
          type: number
        deleted:
          type: boolean
        tags:
          type: string
        outstandingBalance:
          type: number
        defaultDeliveryMethod:
          allOf:
          - $ref: '#/components/schemas/DefaultDeliveryMethod'
          - description: The default delivery method to use on invoices.
    DefaultCustomer:
      title: DefaultCustomer
      required:
      - marketplace
      type: object
      properties:
        accountId:
          type: integer
          format: int64
        customerId:
          minimum: 1
          type: integer
          format: int64
        marketplace:
          $ref: '#/components/schemas/Marketplace'
    BillingAddress:
      title: BillingAddress
      type: object
      properties:
        firstName:
          type: string
        lastName:
          type: string
        email:
          type: string
        address1:
          type: string
        address2:
          type: string
        city:
          type: string
        state:
          $ref: '#/components/schemas/State1'
        postalCode:
          type: string
        phone:
          type: string
        country:
          type: string
        persistInVault:
          type: boolean
    TagRequest:
      title: TagRequest
      required:
      - tag
      type: object
      properties:
        tag:
          type: string
    BulkCustomerUpdate:
      title: BulkCustomerUpdate
      required:
      - customerIds
      type: object
      properties:
        customerIds:
          type: array
          items:
            type: integer
            format: int64
          description: Customer id's which will be updated.
        paymentMethod:
          allOf:
          - $ref: '#/components/schemas/PaymentMethod1'
          - description: Payment method to update.
        customerType:
          allOf:
          - $ref: '#/components/schemas/CustomerType1'
          - description: Customer type to update.
    Category:
      title: Category
      type: object
      properties:
        id:
          type: integer
          format: int32
        name:
          type: string
        eventType:
          $ref: '#/components/schemas/EventType'
    Performer:
      title: Performer
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
        eventType:
          $ref: '#/components/schemas/EventType'
        category:
          $ref: '#/components/schemas/Category'
    Event:
      title: Event
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
        date:
          type: string
          format: date-time
        venue:
          $ref: '#/components/schemas/Venue'
        performerId:
          type: integer
          format: int64
        performer:
          $ref: '#/components/schemas/Performer'
        keywords:
          type: string
        chartUrl:
          type: string
        stubhubEventId:
          type: integer
          format: int64
        stubhubEventUrl:
          type: string
        tags:
          type: string
        notes:
          type: string
        eiEventId:
          type: integer
          format: int64
        optOutReplenishment:
          type: boolean
        ticketCount:
          type: integer
          format: int32
        mySoldTickets:
          type: integer
          format: int32
        disabled:
          type: boolean
        vividSeatsEventUrl:
          type: string
    Venue:
      title: Venue
      type: object
      properties:
        id:
          type: integer
          format: int32
        name:
          type: string
        address:
          type: string
        city:
          type: string
        state:
          type: string
        country:
          type: string
        postalCode:
          type: string
        phone:
          type: string
        timeZone:
          $ref: '#/components/schemas/DateTimeZone'
    PerformerPosition:
      title: PerformerPosition
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
        eventType:
          $ref: '#/components/schemas/EventType'
        category:
          $ref: '#/components/schemas/Category'
        quantity:
          type: integer
          format: int32
        cost:
          type: number
        listingCount:
          type: integer
          format: int32
    EventPosition:
      title: EventPosition
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
        date:
          type: string
          format: date-time
        venue:
          $ref: '#/components/schemas/Venue'
        performerId:
          type: integer
          format: int64
        performer:
          $ref: '#/components/schemas/Performer'
        keywords:
          type: string
        chartUrl:
          type: string
        stubhubEventId:
          type: integer
          format: int64
        stubhubEventUrl:
          type: string
        tags:
          type: string
        notes:
          type: string
        eiEventId:
          type: integer
          format: int64
        optOutReplenishment:
          type: boolean
        ticketCount:
          type: integer
          format: int32
        mySoldTickets:
          type: integer
          format: int32
        disabled:
          type: boolean
        quantity:
          type: integer
          format: int32
        cost:
          type: number
        lastPriceUpdate:
          type: string
          format: date-time
        listingCount:
          type: integer
          format: int32
        vividSeatsEventUrl:
          type: string
    ExternalAccount:
      title: ExternalAccount
      required:
      - displayName
      - marketplace
      - integrationProvider
      type: object
      properties:
        id:
          type: integer
          format: int64
        accountId:
          type: integer
          format: int64
        displayName:
          type: string
        marketplace:
          $ref: '#/components/schemas/Marketplace'
        username:
          type: string
        password:
          type: string
        apiKey:
          type: string
        integrationProvider:
          $ref: '#/components/schemas/IntegrationProvider'
        lastSweep:
          type: string
          format: date-time
        creditCardId:
          type: integer
          format: int64
        creditCardGroupId:
          type: integer
          format: int64
        encryptedPassword:
          type: string
        customerId:
          type: integer
          format: int64
        vendorId:
          type: integer
          format: int64
        markup:
          type: number
        fee:
          type: number
        autoHideSeatNumbers:
          type: boolean
        optInStubhubInhandDateLogic:
          type: boolean
        optInStubHubTransferDetailsSweep:
          type: boolean
        confirmOrders:
          type: boolean
    Hold:
      title: Hold
      required:
      - expiryDate
      type: object
      properties:
        id:
          type: integer
          format: int64
        accountId:
          type: integer
          format: int64
        inventoryId:
          minimum: 1
          type: integer
          format: int64
        user:
          type: string
        userId:
          type: integer
          format: int64
        removedByUserId:
          type: integer
          format: int64
        createdDate:
          type: string
          format: date-time
        expiryDate:
          type: string
          format: date-time
        customerId:
          type: integer
          format: int64
        removedDate:
          type: string
          format: date-time
        notes:
          type: string
        externalRef:
          type: string
        quantity:
          type: integer
          format: int32
        section:
          type: string
        row:
          type: string
        seats:
          type: string
        cost:
          type: number
        listPrice:
          type: number
          readOnly: true
        eventId:
          type: integer
          format: int64
    HoldRequest:
      title: HoldRequest
      required:
      - expiryDate
      type: object
      properties:
        customerId:
          type: integer
          format: int64
        notes:
          type: string
        expiryDate:
          type: string
          format: date-time
        externalRef:
          type: string
        user:
          type: string
        userId:
          type: integer
          format: int64
        inventoryId:
          type: integer
          format: int64
        exchangePosId:
          type: integer
          format: int64
        quantity:
          minimum: 1
          type: integer
          format: int32
        lowSeat:
          minimum: 1
          type: integer
          format: int32
    EventMapping:
      title: EventMapping
      required:
      - eventName
      - venueName
      type: object
      properties:
        eventName:
          type: string
        venueName:
          type: string
        eventDate:
          type: string
          format: date-time
        valid:
          type: boolean
      description: Event mapping information, required on inserts if eventId is empty.
    HoldSummary:
      title: HoldSummary
      required:
      - expiryDate
      type: object
      properties:
        id:
          type: integer
          format: int64
        accountId:
          type: integer
          format: int64
        inventoryId:
          minimum: 1
          type: integer
          format: int64
        user:
          type: string
        userId:
          type: integer
          format: int64
        removedByUserId:
          type: integer
          format: int64
        createdDate:
          type: string
          format: date-time
        expiryDate:
          type: string
          format: date-time
        customerId:
          type: integer
          format: int64
        removedDate:
          type: string
          format: date-time
        notes:
          type: string
        externalRef:
          type: string
        quantity:
          type: integer
          format: int32
        section:
          type: string
        row:
          type: string
        seats:
          type: string
        cost:
          type: number
        listPrice:
          type: number
          readOnly: true
        eventId:
          type: integer
          format: int64
        customer:
          $ref: '#/components/schemas/Customer'
        inventory:
          allOf:
          - $ref: '#/components/schemas/Inventory'
          - description: The inventory item, if the line item is Inventory. Required for purchase type inserts, ignored otherwise.
        event:
          $ref: '#/components/schemas/Event'
    Inventory:
      title: Inventory
      required:
      - eventId
      - quantity
      - section
      - row
      - cost
      - stockType
      - splitType
      - seatType
      type: object
      properties:
        inHandDate:
          type: string
          description: The  date that the tickets will be in hand
          format: date
        id:
          type: integer
          description: Required for updates, ignored on inserts.
          format: int64
        accountId:
          type: integer
          format: int64
        eventId:
          type: integer
          description: Required on inserts if event mapping is empty.
          format: int64
        quantity:
          minimum: 1
          type: integer
          description: Number of tickets available, implied from tickets array if present.
          format: int32
        notes:
          maxLength: 1000
          minLength: 0
          type: string
        section:
          maxLength: 51
          minLength: 1
          type: string
        row:
          maxLength: 44
          minLength: 1
          type: string
        secondRow:
          maxLength: 44
          minLength: 1
          type: string
        lowSeat:
          minimum: 1
          type: integer
          description: Required on inserts if tickets array is empty.
          format: int32
        highSeat:
          type: integer
          description: Required on inserts if tickets array is empty.
          format: int32
        cost:
          minimum: 0
          type: number
        faceValue:
          minimum: 0
          type: number
        tickets:
          type: array
          items:
            $ref: '#/components/schemas/Ticket'
          description: ''
        ticketIds:
          type: array
          items:
            type: integer
            format: int64
          description: ''
        stockType:
          $ref: '#/components/schemas/StockType'
        splitType:
          allOf:
          - $ref: '#/components/schemas/SplitType'
          - description: How the tickets may be split
        customSplit:
          pattern: ^\d*(,\d*)*$
          type: string
        listPrice:
          minimum: 0
          type: number
        expectedValue:
          minimum: 0
          type: number
        publicNotes:
          maxLength: 1000
          minLength: 0
          type: string
        attributes:
          type: array
          items:
            type: string
          description: ''
        status:
          $ref: '#/components/schemas/Status1'
        inHandDaysBeforeEvent:
          type: integer
          format: int32
        lastPriceUpdate:
          type: string
          format: date-time
        createdDate:
          type: string
          format: date-time
        createdBy:
          type: string
        lastUpdate:
          type: string
          format: date-time
        lastUpdateBy:
          type: string
        lastDeltaUpdate:
          type: string
          format: date-time
        version:
          type: integer
          format: int64
        tags:
          type: string
        seatType:
          allOf:
          - $ref: '#/components/schemas/SeatType'
          - description: Seat type.
        eventMapping:
          allOf:
          - $ref: '#/components/schemas/EventMapping'
          - description: Event mapping information, required on inserts if eventId is empty.
        mappingId:
          type: integer
          description: Mapping id if this inventory was sent to mapping. Read-only.
          format: int64
        exchangePosId:
          type: integer
          description: Id to provide to exchanges for listing delete and regeneration compatibility. This id is automatically regenerated when files or bar codes are edited or remove and section or rows get updated. Read-only.
          format: int64
        broadcast:
          type: boolean
          description: Broadcast.
        zoneSeating:
          type: boolean
          description: Zone seating
        electronicTransfer:
          type: boolean
        optOutAutoPrice:
          type: boolean
        hideSeatNumbers:
          type: boolean
          description: Hide seat numbers from exchanges.
        vsrOption:
          $ref: '#/components/schemas/VsrOption'
        replenishmentGroupId:
          type: integer
          format: int64
        replenishmentGroup:
          type: string
        shownQuantity:
          minimum: 1
          type: integer
          format: int32
        ticketsMerged:
          type: boolean
          readOnly: true
        ticketsSplit:
          type: boolean
          readOnly: true
        auditNote:
          type: string
        filesUploaded:
          type: boolean
        barCodesEntered:
          type: boolean
      description: The inventory item, if the line item is Inventory. Required for purchase type inserts, ignored otherwise.
    Ticket:
      title: Ticket
      required:
      - seatNumber
      - section
      - row
      - cost
      - faceValue
      - sellPrice
      - stockType
      - status
      type: object
      properties:
        id:
          type: integer
          description: Unique identifier of the ticket.
          format: int64
        seatNumber:
          minimum: 1
          type: integer
          description: Seat number, must be numeric and passed low to high.
          format: int32
        fileName:
          maxLength: 45
          minLength: 0
          type: string
          description: If present, a pdf file exists for this ticket.
        barCode:
          maxLength: 45
          minLength: 0
          type: string
          description: The barcode associated with this ticket.
        inventoryId:
          type: integer
          format: int64
        invoiceLineId:
          type: integer
          format: int64
        purchaseLineId:
          type: integer
          format: int64
        section:
          maxLength: 51
          minLength: 1
          type: string
        row:
          maxLength: 44
          minLength: 1
          type: string
        notes:
          maxLength: 1000
          minLength: 0
          type: string
        cost:
          type: number
        faceValue:
          minimum: 0
          type: number
        sellPrice:
          minimum: 0
          type: number
        stockType:
          $ref: '#/components/schemas/StockType'
        eventId:
          type: integer
          format: int64
        accountId:
          type: integer
          format: int64
        status:
          $ref: '#/components/schemas/Status'
        base64FileBytes:
          type: string
          description: Base64 encoded byte array of the ticket file. Only used in write operations.
        disclosures:
          uniqueItems: true
          type: array
          items:
            type: string
          description: ''
        attributes:
          type: array
          items:
            type: string
          description: List of attributes for the ticket
        createdDate:
          type: string
          format: date-time
        createdBy:
          type: string
        lastUpdate:
          type: string
          format: date-time
        lastUpdateBy:
          type: string
        dateCancelled:
          type: string
          format: date-time
        cancelledByUserId:
          type: integer
          format: int64
        auditNote:
          type: string
      description: An individual ticket
    InventoryBarcodeResponse:
      title: InventoryBarcodeResponse
      type: object
      properties:
        exchangePosId:
          type: integer
          format: int64
        inventoryId:
          type: integer
          format: int64
        id:
          type: integer
          format: int64
        section:
          type: string
        row:
          type: string
        seatNumber:
          type: integer
          format: int32
        barCode:
          type: string
    SoldInventorySummary:
      title: SoldInventorySummary
      required:
      - eventId
      - quantity
      - section
      - row
      - cost
      - stockType
      - splitType
      - seatType
      type: object
      properties:
        inHandDate:
          type: string
          description: The  date that the tickets will be in hand
          format: date
        id:
          type: integer
          description: Required for updates, ignored on inserts.
          format: int64
        accountId:
          type: integer
          format: int64
        eventId:
          type: integer
          description: Required on inserts if event mapping is empty.
          format: int64
        quantity:
          minimum: 1
          type: integer
          description: Number of tickets available, implied from tickets array if present.
          format: int32
        notes:
          maxLength: 1000
          minLength: 0
          type: string
        section:
          maxLength: 51
          minLength: 1
          type: string
        row:
          maxLength: 44
          minLength: 1
          type: string
        secondRow:
          maxLength: 44
          minLength: 1
          type: string
        lowSeat:
          minimum: 1
          type: integer
          description: Required on inserts if tickets array is empty.
          format: int32
        highSeat:
          type: integer
          description: Required on inserts if tickets array is empty.
          format: int32
        cost:
          minimum: 0
          type: number
        faceValue:
          minimum: 0
          type: number
        tickets:
          type: array
          items:
            $ref: '#/components/schemas/Ticket'
          description: ''
        ticketIds:
          type: array
          items:
            type: integer
            format: int64
          description: ''
        stockType:
          $ref: '#/components/schemas/StockType'
        splitType:
          allOf:
          - $ref: '#/components/schemas/SplitType'
          - description: How the tickets may be split
        customSplit:
          pattern: ^\d*(,\d*)*$
          type: string
        listPrice:
          minimum: 0
          type: number
        expectedValue:
          minimum: 0
          type: number
        publicNotes:
          maxLength: 1000
          minLength: 0
          type: string
        attributes:
          type: array
          items:
            type: string
          description: ''
        status:
          $ref: '#/components/schemas/Status1'
        inHandDaysBeforeEvent:
          type: integer
          format: int32
        lastPriceUpdate:
          type: string
          format: date-time
        createdDate:
          type: string
          format: date-time
        createdBy:
          type: string
        lastUpdate:
          type: string
          format: date-time
        lastUpdateBy:
          type: string
        lastDeltaUpdate:
          type: string
          format: date-time
        version:
          type: integer
          format: int64
        tags:
          type: string
        seatType:
          allOf:
          - $ref: '#/components/schemas/SeatType'
          - description: Seat type.
        eventMapping:
          allOf:
          - $ref: '#/components/schemas/EventMapping'
          - description: Event mapping information, required on inserts if eventId is empty.
        mappingId:
          type: integer
          description: Mapping id if this inventory was sent to mapping. Read-only.
          format: int64
        exchangePosId:
          type: integer
          description: Id to provide to exchanges for listing delete and regeneration compatibility. This id is automatically regenerated when files or bar codes are edited or remove and section or rows get updated. Read-only.
          format: int64
        broadcast:
          type: boolean
          description: Broadcast.
        zoneSeating:
          type: boolean
          description: Zone seating
        electronicTransfer:
          type: boolean
        optOutAutoPrice:
          type: boolean
        hideSeatNumbers:
          type: boolean
          description: Hide seat numbers from exchanges.
        vsrOption:
          $ref: '#/components/schemas/VsrOption'
        replenishmentGroupId:
          type: integer
          format: int64
        replenishmentGroup:
          type: string
        shownQuantity:
          minimum: 1
          type: integer
          format: int32
        ticketsMerged:
          type: boolean
          readOnly: true
        ticketsSplit:
          type: boolean
          readOnly: true
        auditNote:
          type: string
        filesUploaded:
          type: boolean
        barCodesEntered:
          type: boolean
        seatNumbers:
          type: string
        listed:
          type: boolean
        consignmentStatus:
          type: string
        cooperative:
          type: boolean
        holdId:
          type: integer
          format: int64
        hold:
          $ref: '#/components/schemas/Hold'
        unitCostAverage:
          type: number
          description: Unit Cost Average
        faceValueAverage:
          type: number
        currencies:
          type: array
          items:
            $ref: '#/components/schemas/Currency'
          description: ''
        received:
          type: string
        vendorId:
          type: array
          items:
            type: integer
            format: int64
          description: ''
        inHand:
          type: boolean
        daysOld:
          type: integer
          description: Days old since the listing was created
          format: int32
        invoiceId:
          type: integer
          format: int64
        invoiceLineId:
          type: integer
          format: int64
        invoiceDate:
          type: string
          format: date-time
        daysListed:
          type: integer
          format: int32
        purchaseDate:
          type: string
          format: date-time
        customerDisplayName:
          type: string
        customerId:
          type: integer
          format: int64
        deliveryMethod:
          $ref: '#/components/schemas/DeliveryMethod'
        total:
          type: number
        invoiceExternalRef:
          type: string
        purchaseExternalRef:
          type: string
        fulfillmentStatus:
          $ref: '#/components/schemas/FulfillmentStatus'
        paymentStatus:
          $ref: '#/components/schemas/PaymentStatus'
        profit:
          type: number
        profitMargin:
          type: number
        roi:
          type: number
        pdfsOrBarcodesAttached:
          type: boolean
        lastInvoiceNotes:
          type: string
        lastInvoiceNotesDate:
          type: string
          format: date-time
        invoiceAirbill:
          type: string
        vendor:
          type: string
        currencyCode:
          $ref: '#/components/schemas/CurrencyCode'
        purchaseIds:
          type: array
          items:
            type: integer
            format: int64
          description: ''
        fulfillmentDate:
          type: string
          format: date-time
        unitTicketSales:
          type: number
        invoiceCreatedBy:
          type: string
        invoiceTags:
          type: string
        purchaseTags:
          type: string
        outstandingBalance:
          type: number
        eventDayOfWeek:
          type: string
        invoiceStatus:
          $ref: '#/components/schemas/InvoiceStatus'
        lastInvoiceNotesUser:
          type: string
        poCreatedBy:
          type: string
        customerType:
          $ref: '#/components/schemas/CustomerType'
        ticketIdString:
          type: string
          writeOnly: true
        event:
          $ref: '#/components/schemas/Event'
    Consignment:
      title: Consignment
      required:
      - amount
      - mode
      type: object
      properties:
        id:
          type: integer
          format: int64
        accountId:
          minimum: 1
          type: integer
          format: int64
        purchaseId:
          minimum: 1
          type: integer
          format: int64
        amount:
          type: number
        mode:
          $ref: '#/components/schemas/Mode'
        completed:
          type: boolean
        created:
          type: string
          format: date-time
        lines:
          type: array
          items:
            $ref: '#/components/schemas/ConsignmentLine'
          description: ''
    ConsignmentLine:
      title: ConsignmentLine
      type: object
      properties:
        id:
          type: integer
          format: int64
        consignmentId:
          type: integer
          format: int64
        accountId:
          type: integer
          format: int64
        invoiceLineId:
          minimum: 1
          type: integer
          format: int64
        open:
          type: boolean
        originalUnitCost:
          type: number
        mode:
          $ref: '#/components/schemas/Mode'
        consignmentValue:
          type: number
    Line:
      title: Line
      required:
      - accountId
      - amount
      - lineItemType
      type: object
      properties:
        id:
          type: integer
          format: int64
        accountId:
          type: integer
          format: int64
        targetId:
          type: integer
          format: int64
        quantity:
          type: integer
          format: int32
        description:
          type: string
          description: The description of the line. Ignored for inventory lines.
        amount:
          type: number
          description: The total for this line. Passed through to ticket.sellPrice or ticket.cost for inventory items.
        lineType:
          $ref: '#/components/schemas/LineType'
        lineItemType:
          allOf:
          - $ref: '#/components/schemas/LineItemType'
          - description: The type of the line item.
        itemIds:
          type: array
          items:
            type: integer
            format: int64
          description: The itemIds, representing ticketIds if the line item is Inventory. Required for invoice line inserts, ignored otherwise.
        inventory:
          allOf:
          - $ref: '#/components/schemas/Inventory'
          - description: The inventory item, if the line item is Inventory. Required for purchase type inserts, ignored otherwise.
        cancelled:
          type: boolean
          description: True if the tickets on this line are cancelled, false otherwise. Read-only.
        delete:
          type: boolean
        cancel:
          type: boolean
        fillLineId:
          type: integer
          format: int64
        inventoryIds:
          type: array
          items:
            type: integer
            format: int64
          description: ''
        createdDate:
          type: string
          format: date-time
        createdBy:
          type: string
        lastUpdate:
          type: string
          format: date-time
        lastUpdateBy:
          type: string
    Purchase:
      title: Purchase
      required:
      - lines
      - purchaseTerm
      - paymentMethod
      - deliveryMethod
      - taxAmount
      - shippingAmount
      - otherAmount
      - dueDate
      - paymentStatus
      - currencyCode
      type: object
      properties:
        id:
          type: integer
          description: Required for updates, ignored on inserts.
          format: int64
        vendorId:
          minimum: 1
          type: integer
          format: int64
        accountId:
          type: integer
          format: int64
        internalId:
          type: integer
          format: int64
        lines:
          type: array
          items:
            $ref: '#/components/schemas/Line'
          description: ''
        purchaseTerm:
          $ref: '#/components/schemas/PurchaseTerm'
        paymentMethod:
          $ref: '#/components/schemas/PaymentMethod'
        paymentRef:
          maxLength: 45
          minLength: 0
          type: string
        deliveryMethod:
          $ref: '#/components/schemas/DeliveryMethod'
        shippingAddressId:
          minimum: 1
          type: integer
          format: int64
        billingAddressId:
          minimum: 1
          type: integer
          format: int64
        taxAmount:
          type: number
        shippingAmount:
          type: number
        otherAmount:
          type: number
        internalNotes:
          maxLength: 10000
          minLength: 0
          type: string
        publicNotes:
          maxLength: 10000
          minLength: 0
          type: string
        createdDate:
          type: string
          format: date-time
        lastUpdate:
          type: string
          format: date-time
        dueDate:
          type: string
          format: date-time
        tags:
          type: string
        createdBy:
          type: string
        lastUpdateBy:
          type: string
        externalRef:
          type: string
          description: External reference number for purchase
        paymentStatus:
          allOf:
          - $ref: '#/components/schemas/PaymentStatus1'
          - description: Payment status
        creditCardId:
          type: integer
          format: int64
        creditCardGroupId:
          type: integer
          format: int64
        currencyCode:
          $ref: '#/components/schemas/CurrencyCode'
        payments:
          type: array
          items:
            $ref: '#/components/schemas/PurchasePayment'
          description: ''
        notes:
          type: array
          items:
            $ref: '#/components/schemas/PurchaseNote'
          description: ''
        received:
          type: boolean
        consignment:
          $ref: '#/components/schemas/Consignment'
        cooperative:
          type: boolean
        status:
          $ref: '#/components/schemas/Status3'
        airbill:
          type: string
        outstandingBalance:
          type: number
        autoPo:
          type: boolean
          writeOnly: true
    PurchaseNote:
      title: PurchaseNote
      required:
      - text
      type: object
      properties:
        id:
          type: integer
          format: int64
        userId:
          type: integer
          format: int64
        accountId:
          type: integer
          format: int64
        purchaseId:
          type: integer
          format: int64
        date:
          type: string
          format: date-time
        text:
          type: string
        author:
          type: string
    PurchasePayment:
      title: PurchasePayment
      required:
      - accountId
      - amount
      type: object
      properties:
        id:
          type: integer
          format: int64
        accountId:
          minimum: 1
          type: integer
          format: int64
        referenceNumber:
          maxLength: 65
          minLength: 0
          type: string
        amount:
          type: number
          description: The total for this payment.
        paymentDate:
          type: string
          format: date-time
        userId:
          type: integer
          format: int64
        entityId:
          minimum: 1
          type: integer
          format: int64
        paymentType:
          $ref: '#/components/schemas/PaymentType'
        paymentMethod:
          $ref: '#/components/schemas/PaymentMethod'
        purchaseId:
          minimum: 1
          type: integer
          format: int64
    PurchasedInventorySummary:
      title: PurchasedInventorySummary
      required:
      - eventId
      - quantity
      - section
      - row
      - cost
      - stockType
      - splitType
      - seatType
      type: object
      properties:
        inHandDate:
          type: string
          description: The  date that the tickets will be in hand
          format: date
        id:
          type: integer
          description: Required for updates, ignored on inserts.
          format: int64
        accountId:
          type: integer
          format: int64
        eventId:
          type: integer
          description: Required on inserts if event mapping is empty.
          format: int64
        quantity:
          minimum: 1
          type: integer
          description: Number of tickets available, implied from tickets array if present.
          format: int32
        notes:
          maxLength: 1000
          minLength: 0
          type: string
        section:
          maxLength: 51
          minLength: 1
          type: string
        row:
          maxLength: 44
          minLength: 1
          type: string
        secondRow:
          maxLength: 44
          minLength: 1
          type: string
        lowSeat:
          minimum: 1
          type: integer
          description: Required on inserts if tickets array is empty.
          format: int32
        highSeat:
          type: integer
          description: Required on inserts if tickets array is empty.
          format: int32
        cost:
          minimum: 0
          type: number
        faceValue:
          minimum: 0
          type: number
        tickets:
          type: array
          items:
            $ref: '#/components/schemas/Ticket'
          description: ''
        ticketIds:
          type: array
          items:
            type: integer
            format: int64
          description: ''
        stockType:
          $ref: '#/components/schemas/StockType'
        splitType:
          allOf:
          - $ref: '#/components/schemas/SplitType'
          - description: How the tickets may be split
        customSplit:
          pattern: ^\d*(,\d*)*$
          type: string
        listPrice:
          minimum: 0
          type: number
        expectedValue:
          minimum: 0
          type: number
        publicNotes:
          maxLength: 1000
          minLength: 0
          type: string
        attributes:
          type: array
          items:
            type: string
          description: ''
        status:
          $ref: '#/components/schemas/Status1'
        inHandDaysBeforeEvent:
          type: integer
          format: int32
        lastPriceUpdate:
          type: string
          format: date-time
        createdDate:
          type: string
          format: date-time
        createdBy:
          type: string
        lastUpdate:
          type: string
          format: date-time
        lastUpdateBy:
          type: string
        lastDeltaUpdate:
          type: string
          format: date-time
        version:
          type: integer
          format: int64
        tags:
          type: string
        seatType:
          allOf:
          - $ref: '#/components/schemas/SeatType'
          - description: Seat type.
        eventMapping:
          allOf:
          - $ref: '#/components/schemas/EventMapping'
          - description: Event mapping information, required on inserts if eventId is empty.
        mappingId:
          type: integer
          description: Mapping id if this inventory was sent to mapping. Read-only.
          format: int64
        exchangePosId:
          type: integer
          description: Id to provide to exchanges for listing delete and regeneration compatibility. This id is automatically regenerated when files or bar codes are edited or remove and section or rows get updated. Read-only.
          format: int64
        broadcast:
          type: boolean
          description: Broadcast.
        zoneSeating:
          type: boolean
          description: Zone seating
        electronicTransfer:
          type: boolean
        optOutAutoPrice:
          type: boolean
        hideSeatNumbers:
          type: boolean
          description: Hide seat numbers from exchanges.
        vsrOption:
          $ref: '#/components/schemas/VsrOption'
        replenishmentGroupId:
          type: integer
          format: int64
        replenishmentGroup:
          type: string
        shownQuantity:
          minimum: 1
          type: integer
          format: int32
        ticketsMerged:
          type: boolean
          readOnly: true
        ticketsSplit:
          type: boolean
          readOnly: true
        auditNote:
          type: string
        filesUploaded:
          type: boolean
        barCodesEntered:
          type: boolean
        seatNumbers:
          type: string
        listed:
          type: boolean
        consignmentStatus:
          type: string
        cooperative:
          type: boolean
        holdId:
          type: integer
          format: int64
        hold:
          $ref: '#/components/schemas/Hold'
        unitCostAverage:
          type: number
          description: Unit Cost Average
        faceValueAverage:
          type: number
        currencies:
          type: array
          items:
            $ref: '#/components/schemas/Currency'
          description: ''
        received:
          type: string
        vendorId:
          type: array
          items:
            type: integer
            format: int64
          description: ''
        inHand:
          type: boolean
        daysOld:
          type: integer
          description: Days old since the listing was created
          format: int32
        vendorDisplayName:
          type: string
        purchase:
          $ref: '#/components/schemas/Purchase'
        invoiceId:
          type: array
          items:
            type: integer
            format: int64
          description: ''
        inventoryIds:
          type: array
          items:
            type: integer
            format: int64
          description: ''
        purchaseLineId:
          type: integer
          format: int64
        ticketStatus:
          $ref: '#/components/schemas/TicketStatus'
        ticketIdString:
          type: string
          writeOnly: true
        event:
          $ref: '#/components/schemas/Event'
    PurchasedInventorySummaryV2:
      title: PurchasedInventorySummaryV2
      type: object
      properties:
        purchaseLineId:
          type: integer
          format: int64
        accountId:
          type: integer
          format: int64
        purchase:
          $ref: '#/components/schemas/Purchase'
        allPurchaseLineIds:
          type: array
          items:
            type: integer
            format: int64
          description: ''
        event:
          $ref: '#/components/schemas/Event'
        section:
          type: string
        row:
          type: string
        secondRow:
          type: string
        zoneSeating:
          type: string
        seatType:
          $ref: '#/components/schemas/SeatType3'
        cost:
          type: number
        availableCost:
          type: number
        soldCost:
          type: number
        quantity:
          type: integer
          format: int32
        availableQuantity:
          type: integer
          format: int32
        soldQuantity:
          type: integer
          format: int32
        cancelledQuantity:
          type: integer
          format: int32
        seatNumbers:
          uniqueItems: true
          type: array
          items:
            type: integer
            format: int32
          description: ''
        inHandDate:
          uniqueItems: true
          type: array
          items:
            type: string
            format: date
          description: ''
        ticketStatus:
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/TicketStatus'
          description: ''
        holdInventory:
          type: boolean
        stockType:
          type: array
          items:
            $ref: '#/components/schemas/StockType'
          description: ''
        notes:
          type: string
        inventoryIds:
          type: array
          items:
            type: integer
            format: int64
          description: ''
        invoiceIds:
          type: array
          items:
            type: integer
            format: int64
          description: ''
        tags:
          type: string
        ticketIds:
          type: array
          items:
            type: integer
            format: int64
          description: ''
        vendorDisplayName:
          type: string
        unitCost:
          type: number
        consignmentStatus:
          type: string
        ticketFaceValueAverage:
          type: number
        received:
          type: string
        creditCardGroup:
          type: string
        creditCardLastDigits:
          type: string
        barCodesEntered:
          type: boolean
        filesUploaded:
          type: boolean
        ticketsMerged:
          type: boolean
    MergeInventoryRequest:
      title: MergeInventoryRequest
      required:
      - inventoryIds
      type: object
      properties:
        inventoryIds:
          maxItems: 2147483647
          minItems: 2
          type: array
          items:
            type: integer
            format: int64
          description: Inventory id's which will be merged.
        publicNotes:
          type: string
          description: Public notes of the merged inventory.
        mergingType:
          allOf:
          - $ref: '#/components/schemas/MergingType'
          - description: Strategy to merge public notes in the inventory
    InventoryPriceHistory:
      title: InventoryPriceHistory
      type: object
      properties:
        email:
          type: string
        id:
          type: integer
          format: int64
        action:
          $ref: '#/components/schemas/Action'
        price:
          type: number
        dateOfAction:
          type: string
          format: date-time
    BulkSwapEventRequest:
      title: BulkSwapEventRequest
      type: object
      properties:
        inventoryIds:
          type: array
          items:
            type: integer
            format: int64
          description: Inventory ids whose event will be swapped.
        eventId:
          type: integer
          description: The new event id for the inventory items.
          format: int64
    ExchangePosIdHistoryResponse:
      title: ExchangePosIdHistoryResponse
      type: object
      properties:
        exchangePosId:
          type: integer
          format: int64
        inventoryId:
          type: integer
          format: int64
    BulkInventoryUpdateRequest:
      title: BulkInventoryUpdateRequest
      required:
      - inventoryIds
      type: object
      properties:
        inventoryIds:
          type: array
          items:
            type: integer
            format: int64
          description: Inventory id's which will be update.
        publicNotesToReplace:
          type: string
          description: New public notes.
        publicNotesToAdd:
          type: string
          description: Public notes to add to existing notes.
        internalNotesToReplace:
          type: string
          description: New internal notes.
        internalNotesToAdd:
          type: string
          description: Internal notes to add to existing notes.
        splitType:
          allOf:
          - $ref: '#/components/schemas/SplitType3'
          - description: Split type to update
        customSplit:
          type: string
          description: Valid split quantities
        seatType:
          allOf:
          - $ref: '#/components/schemas/SeatType4'
          - description: Seat type to update
        inHandDaysBeforeEvent:
          type: integer
          description: In-hand days before event to update
          format: int32
        stockType:
          allOf:
          - $ref: '#/components/schemas/StockType5'
          - description: Stock type to update
        zoneSeating:
          type: boolean
          description: Zone seating
        hideSeatNumbers:
          type: boolean
          description: Hide seat numbers
        section:
          maxLength: 51
          minLength: 0
          type: string
          description: Section
        row:
          type: string
          description: Row
        removeBarcode:
          type: boolean
          description: Barcodes should be removed
        removePdf:
          type: boolean
          description: Whether pdfs should be removed
        ticketDisclosure:
          type: string
          description: Ticket disclosure to update
        inventoryAttribute:
          type: string
          description: Inventory attribute to update
        faceValue:
          minimum: 0
          type: number
          description: Amount to set to each ticket's face value
        optOutAutoPrice:
          type: boolean
          description: Opt-out auto-price
        broadcast:
          type: boolean
          description: Broadcast to exchanges
        electronicTransfer:
          type: boolean
          description: Electronic transfer to set
        noSplit:
          type: boolean
          description: Whether split type is full quantity (no splits)
        received:
          type: boolean
          description: Received status to be set to the purchases of the inventories.
        vsrOption:
          allOf:
          - $ref: '#/components/schemas/VsrOption3'
          - description: VSR option
        replenishmentGroupId:
          type: integer
          format: int64
        clearDisclosures:
          type: boolean
        clearAttributes:
          type: boolean
        shownQuantity:
          minimum: 1
          type: integer
          format: int32
        force:
          type: boolean
        inHandDate:
          type: string
          description: In-hand date to update
          format: date
    UpdatePurchaseInventoryRequest:
      title: UpdatePurchaseInventoryRequest
      required:
      - section
      - row
      type: object
      properties:
        inventoryId:
          type: integer
          format: int64
        section:
          maxLength: 51
          minLength: 0
          type: string
        row:
          maxLength: 44
          minLength: 0
          type: string
        secondRow:
          maxLength: 44
          minLength: 0
          type: string
        force:
          type: boolean
    ExpectedValueUpdateBulk:
      title: ExpectedValueUpdateBulk
      required:
      - expectedValue
      - id
      type: object
      properties:
        expectedValue:
          minimum: 0
          type: number
          description: Amount to increase or decrease each ticket by
        id:
          minimum: 1
          type: integer
          description: ID of inventory to update
          format: int64
    TicketUpdateRequest:
      title: TicketUpdateRequest
      required:
      - ticketId
      type: object
      properties:
        ticketId:
          type: integer
          description: id of the ticket.
          format: int64
        barCode:
          maxLength: 45
          minLength: 0
          type: string
          description: Barcode
        fileName:
          maxLength: 45
          minLength: 0
          type: string
          description: Ticket file name
        base64FileBytes:
          type: string
          description: Base64 ticket file
    InventorySummary:
      title: InventorySummary
      required:
      - eventId
      - quantity
      - section
      - row
      - cost
      - stockType
      - splitType
      - seatType
      type: object
      properties:
        inHandDate:
          type: string
          description: The  date that the tickets will be in hand
          format: date
        id:
          type: integer
          description: Required for updates, ignored on inserts.
          format: int64
        accountId:
          type: integer
          format: int64
        eventId:
          type: integer
          description: Required on inserts if event mapping is empty.
          format: int64
        quantity:
          minimum: 1
          type: integer
          description: Number of tickets available, implied from tickets array if present.
          format: int32
        notes:
          maxLength: 1000
          minLength: 0
          type: string
        section:
          maxLength: 51
          minLength: 1
          type: string
        row:
          maxLength: 44
          minLength: 1
          type: string
        secondRow:
          maxLength: 44
          minLength: 1
          type: string
        lowSeat:
          minimum: 1
          type: integer
          description: Required on inserts if tickets array is empty.
          format: int32
        highSeat:
          type: integer
          description: Required on inserts if tickets array is empty.
          format: int32
        cost:
          minimum: 0
          type: number
        faceValue:
          minimum: 0
          type: number
        tickets:
          type: array
          items:
            $ref: '#/components/schemas/Ticket'
          description: ''
        ticketIds:
          type: array
          items:
            type: integer
            format: int64
          description: ''
        stockType:
          $ref: '#/components/schemas/StockType'
        splitType:
          allOf:
          - $ref: '#/components/schemas/SplitType'
          - description: How the tickets may be split
        customSplit:
          pattern: ^\d*(,\d*)*$
          type: string
        listPrice:
          minimum: 0
          type: number
        expectedValue:
          minimum: 0
          type: number
        publicNotes:
          maxLength: 1000
          minLength: 0
          type: string
        attributes:
          type: array
          items:
            type: string
          description: ''
        status:
          $ref: '#/components/schemas/Status1'
        inHandDaysBeforeEvent:
          type: integer
          format: int32
        lastPriceUpdate:
          type: string
          format: date-time
        createdDate:
          type: string
          format: date-time
        createdBy:
          type: string
        lastUpdate:
          type: string
          format: date-time
        lastUpdateBy:
          type: string
        lastDeltaUpdate:
          type: string
          format: date-time
        version:
          type: integer
          format: int64
        tags:
          type: string
        seatType:
          allOf:
          - $ref: '#/components/schemas/SeatType'
          - description: Seat type.
        eventMapping:
          allOf:
          - $ref: '#/components/schemas/EventMapping'
          - description: Event mapping information, required on inserts if eventId is empty.
        mappingId:
          type: integer
          description: Mapping id if this inventory was sent to mapping. Read-only.
          format: int64
        exchangePosId:
          type: integer
          description: Id to provide to exchanges for listing delete and regeneration compatibility. This id is automatically regenerated when files or bar codes are edited or remove and section or rows get updated. Read-only.
          format: int64
        broadcast:
          type: boolean
          description: Broadcast.
        zoneSeating:
          type: boolean
          description: Zone seating
        electronicTransfer:
          type: boolean
        optOutAutoPrice:
          type: boolean
        hideSeatNumbers:
          type: boolean
          description: Hide seat numbers from exchanges.
        vsrOption:
          $ref: '#/components/schemas/VsrOption'
        replenishmentGroupId:
          type: integer
          format: int64
        replenishmentGroup:
          type: string
        shownQuantity:
          minimum: 1
          type: integer
          format: int32
        ticketsMerged:
          type: boolean
          readOnly: true
        ticketsSplit:
          type: boolean
          readOnly: true
        auditNote:
          type: string
        filesUploaded:
          type: boolean
        barCodesEntered:
          type: boolean
        seatNumbers:
          type: string
        listed:
          type: boolean
        consignmentStatus:
          type: string
        cooperative:
          type: boolean
        holdId:
          type: integer
          format: int64
        hold:
          $ref: '#/components/schemas/Hold'
        unitCostAverage:
          type: number
          description: Unit Cost Average
        faceValueAverage:
          type: number
        currencies:
          type: array
          items:
            $ref: '#/components/schemas/Currency'
          description: ''
        received:
          type: string
        vendorId:
          type: array
          items:
            type: integer
            format: int64
          description: ''
        inHand:
          type: boolean
        daysOld:
          type: integer
          description: Days old since the listing was created
          format: int32
        ticketIdString:
          type: string
          writeOnly: true
        event:
          $ref: '#/components/schemas/Event'
    InventoryPriceUpdateBulk:
      title: InventoryPriceUpdateBulk
      required:
      - listPrice
      - id
      type: object
      properties:
        listPrice:
          minimum: 0
          type: number
          description: Amount to increase or decrease each ticket by
        id:
          minimum: 1
          type: integer
          description: ID of inventory to update
          format: int64
        broadcast:
          type: boolean
    SyncInventoryRequest:
      title: SyncInventoryRequest
      type: object
      properties:
        inventoryIds:
          type: array
          items:
            type: integer
            format: int64
          description: ''
    Invoice:
      title: Invoice
      required:
      - lines
      - salesTerm
      - taxAmount
      - shippingAmount
      - otherAmount
      - paymentStatus
      - fulfillmentStatus
      type: object
      properties:
        id:
          type: integer
          description: Required for updates, ignored on inserts.
          format: int64
        customerId:
          minimum: 1
          type: integer
          format: int64
        accountId:
          type: integer
          format: int64
        internalId:
          type: integer
          format: int64
        lines:
          type: array
          items:
            $ref: '#/components/schemas/Line'
          description: ''
        salesTerm:
          $ref: '#/components/schemas/SalesTerm'
        paymentMethod:
          $ref: '#/components/schemas/PaymentMethod'
        paymentRef:
          maxLength: 45
          minLength: 0
          type: string
        deliveryMethod:
          $ref: '#/components/schemas/DeliveryMethod'
        shippingAddressId:
          type: integer
          format: int64
        billingAddressId:
          type: integer
          format: int64
        taxAmount:
          type: number
        shippingAmount:
          type: number
        otherAmount:
          type: number
        internalNotes:
          maxLength: 50000
          minLength: 0
          type: string
        publicNotes:
          maxLength: 50000
          minLength: 0
          type: string
        createdDate:
          type: string
          format: date-time
        lastUpdate:
          type: string
          format: date-time
        dueDate:
          type: string
          format: date-time
        tags:
          type: string
        createdBy:
          type: string
        lastUpdateBy:
          type: string
        paymentStatus:
          allOf:
          - $ref: '#/components/schemas/PaymentStatus2'
          - description: Payment status.
        fulfillmentStatus:
          allOf:
          - $ref: '#/components/schemas/FulfillmentStatus1'
          - description: Inventory fulfillment status.
        externalRef:
          maxLength: 255
          minLength: 0
          type: string
          description: External reference number for invoice
        airbill:
          type: string
        status:
          $ref: '#/components/schemas/Status3'
        currencyCode:
          $ref: '#/components/schemas/CurrencyCode'
        payments:
          type: array
          items:
            $ref: '#/components/schemas/InvoicePayment'
          description: ''
        invoiceDeliveryLink:
          $ref: '#/components/schemas/InvoiceDeliveryLink'
        notes:
          type: array
          items:
            $ref: '#/components/schemas/InvoiceNote'
          description: ''
        fulfillmentDate:
          type: string
          format: date-time
        fulfillmentByUserId:
          type: integer
          format: int64
        outstandingBalance:
          type: number
        barcodesEntered:
          type: boolean
        filesUploaded:
          type: boolean
    InvoiceDeliveryLink:
      title: InvoiceDeliveryLink
      type: object
      properties:
        enabled:
          type: boolean
        description:
          type: string
        allTicketsWithBarcodes:
          type: boolean
        allTicketsWithPdfs:
          type: boolean
    InvoiceNote:
      title: InvoiceNote
      required:
      - text
      type: object
      properties:
        id:
          type: integer
          format: int64
        userId:
          type: integer
          format: int64
        accountId:
          type: integer
          format: int64
        invoiceId:
          type: integer
          format: int64
        date:
          type: string
          format: date-time
        text:
          type: string
        author:
          type: string
    InvoicePayment:
      title: InvoicePayment
      required:
      - accountId
      - amount
      type: object
      properties:
        id:
          type: integer
          format: int64
        accountId:
          minimum: 1
          type: integer
          format: int64
        referenceNumber:
          maxLength: 65
          minLength: 0
          type: string
        amount:
          type: number
          description: The total for this payment.
        paymentDate:
          type: string
          format: date-time
        userId:
          type: integer
          format: int64
        entityId:
          minimum: 1
          type: integer
          format: int64
        paymentType:
          $ref: '#/components/schemas/PaymentType'
        paymentMethod:
          $ref: '#/components/schemas/PaymentMethod'
        invoiceId:
          minimum: 1
          type: integer
          format: int64
    InvoiceTicket:
      title: InvoiceTicket
      type: object
      properties:
        invoiceId:
          type: integer
          format: int64
        ticketId:
          type: integer
          format: int64
        section:
          type: string
        row:
          type: string
        seatNumber:
          type: integer
          format: int32
        barCode:
          type: string
    Payment:
      title: Payment
      type: object
      properties:
        amount:
          type: number
        comments:
          type: string
        card:
          $ref: '#/components/schemas/CreditCard'
        creditCard:
          $ref: '#/components/schemas/CreditCard'
    RefundRequest:
      title: RefundRequest
      type: object
      properties:
        amount:
          type: number
        comments:
          type: string
    InvoiceCurrencyUpdateBulkAction:
      title: InvoiceCurrencyUpdateBulkAction
      required:
      - invoiceIds
      - invoiceLineIds
      - currencyCode
      type: object
      properties:
        invoiceIds:
          type: array
          items:
            type: integer
            format: int64
          description: List or invoice ids.
        invoiceLineIds:
          type: array
          items:
            type: integer
            format: int64
          description: List of invoice line ids.
        currencyCode:
          allOf:
          - $ref: '#/components/schemas/CurrencyCode3'
          - description: New currency code.
        exchangeRate:
          type: number
          description: Exchange rate (null means ignored)
        force:
          type: boolean
    BulkInvoiceUpdate:
      title: BulkInvoiceUpdate
      required:
      - invoiceIds
      type: object
      properties:
        invoiceIds:
          uniqueItems: true
          type: array
          items:
            type: integer
            format: int64
          description: ''
        paymentStatus:
          $ref: '#/components/schemas/PaymentStatus'
        paymentMethod:
          $ref: '#/components/schemas/PaymentMethod'
        fulfillmentStatus:
          $ref: '#/components/schemas/FulfillmentStatus'
        paymentRef:
          maxLength: 45
          minLength: 0
          type: string
        paymentRefPaymentMethod:
          $ref: '#/components/schemas/PaymentRefPaymentMethod'
        customerId:
          type: integer
          format: int64
        invoiceNote:
          type: string
        status:
          $ref: '#/components/schemas/Status3'
    InvoiceSummary:
      title: InvoiceSummary
      required:
      - lines
      - salesTerm
      - taxAmount
      - shippingAmount
      - otherAmount
      - paymentStatus
      - fulfillmentStatus
      type: object
      properties:
        id:
          type: integer
          description: Required for updates, ignored on inserts.
          format: int64
        customerId:
          minimum: 1
          type: integer
          format: int64
        accountId:
          type: integer
          format: int64
        internalId:
          type: integer
          format: int64
        lines:
          type: array
          items:
            $ref: '#/components/schemas/Line'
          description: ''
        salesTerm:
          $ref: '#/components/schemas/SalesTerm'
        paymentMethod:
          $ref: '#/components/schemas/PaymentMethod'
        paymentRef:
          maxLength: 45
          minLength: 0
          type: string
        deliveryMethod:
          $ref: '#/components/schemas/DeliveryMethod'
        shippingAddressId:
          type: integer
          format: int64
        billingAddressId:
          type: integer
          format: int64
        taxAmount:
          type: number
        shippingAmount:
          type: number
        otherAmount:
          type: number
        internalNotes:
          maxLength: 50000
          minLength: 0
          type: string
        publicNotes:
          maxLength: 50000
          minLength: 0
          type: string
        createdDate:
          type: string
          format: date-time
        lastUpdate:
          type: string
          format: date-time
        dueDate:
          type: string
          format: date-time
        tags:
          type: string
        createdBy:
          type: string
        lastUpdateBy:
          type: string
        paymentStatus:
          allOf:
          - $ref: '#/components/schemas/PaymentStatus2'
          - description: Payment status.
        fulfillmentStatus:
          allOf:
          - $ref: '#/components/schemas/FulfillmentStatus1'
          - description: Inventory fulfillment status.
        externalRef:
          maxLength: 255
          minLength: 0
          type: string
          description: External reference number for invoice
        airbill:
          type: string
        status:
          $ref: '#/components/schemas/Status3'
        currencyCode:
          $ref: '#/components/schemas/CurrencyCode'
        payments:
          type: array
          items:
            $ref: '#/components/schemas/InvoicePayment'
          description: ''
        invoiceDeliveryLink:
          $ref: '#/components/schemas/InvoiceDeliveryLink'
        notes:
          type: array
          items:
            $ref: '#/components/schemas/InvoiceNote'
          description: ''
        fulfillmentDate:
          type: string
          format: date-time
        fulfillmentByUserId:
          type: integer
          format: int64
        outstandingBalance:
          type: number
        barcodesEntered:
          type: boolean
        filesUploaded:
          type: boolean
        displayName:
          type: string
        lineCount:
          type: integer
          format: int32
        quantity:
          type: integer
          format: int32
        section:
          type: string
        row:
          type: string
        seats:
          type: string
        category:
          type: string
        lineTotal:
          type: number
        total:
          type: number
        performer:
          type: string
        invoiceInHandDate:
          type: string
          format: date-time
        eventDate:
          type: string
          format: date-time
        paymentDate:
          type: string
          format: date-time
        totalPayments:
          type: number
        received:
          type: string
        vendor:
          type: string
        venue:
          type: string
        chargedCreditCards:
          type: array
          items:
            type: integer
            format: int32
          description: ''
        lastInvoiceNotes:
          type: string
        lastInvoiceNotesUser:
          type: string
        stockType:
          type: array
          items:
            $ref: '#/components/schemas/StockType'
          description: ''
        purchaseId:
          type: string
    InventoryMapping:
      title: InventoryMapping
      required:
      - eventName
      - venueName
      type: object
      properties:
        eventName:
          type: string
        venueName:
          type: string
        eventDate:
          type: string
          format: date-time
        id:
          type: integer
          format: int64
        accountId:
          type: integer
          format: int64
        purchaseLineId:
          type: integer
          format: int64
        createdDate:
          type: string
          format: date-time
        responseStatus:
          type: integer
          format: int32
        sendCount:
          type: integer
          format: int32
        mappedByUserId:
          type: integer
          format: int64
        mappedDate:
          type: string
          format: date-time
        valid:
          type: boolean
    InventoryMappingSummary:
      title: InventoryMappingSummary
      required:
      - eventName
      - venueName
      type: object
      properties:
        eventName:
          type: string
        venueName:
          type: string
        eventDate:
          type: string
          format: date-time
        id:
          type: integer
          format: int64
        accountId:
          type: integer
          format: int64
        purchaseLineId:
          type: integer
          format: int64
        createdDate:
          type: string
          format: date-time
        responseStatus:
          type: integer
          format: int32
        sendCount:
          type: integer
          format: int32
        mappedByUserId:
          type: integer
          format: int64
        mappedDate:
          type: string
          format: date-time
        purchaseId:
          type: integer
          format: int64
        quantity:
          type: integer
          format: int64
        section:
          type: string
        row:
          type: string
        seats:
          type: string
        cost:
          type: number
        externalRef:
          type: string
        currencyCode:
          $ref: '#/components/schemas/CurrencyCode'
        valid:
          type: boolean
    CurrencyUpdateBulkAction:
      title: CurrencyUpdateBulkAction
      required:
      - purchaseIds
      - purchaseLineIds
      - currencyCode
      type: object
      properties:
        purchaseIds:
          type: array
          items:
            type: integer
            format: int64
          description: List or purchase ids.
        purchaseLineIds:
          type: array
          items:
            type: integer
            format: int64
          description: List of purchase line ids.
        currencyCode:
          allOf:
          - $ref: '#/components/schemas/CurrencyCode3'
          - description: New currency code.
        exchangeRate:
          type: number
          description: Exchange rate (null means ignored)
        force:
          type: boolean
        purchaseLineId:
          type: array
          items:
            type: integer
            format: int64
          description: ''
          writeOnly: true
    PurchaseSummary:
      title: PurchaseSummary
      required:
      - lines
      - purchaseTerm
      - paymentMethod
      - deliveryMethod
      - taxAmount
      - shippingAmount
      - otherAmount
      - dueDate
      - paymentStatus
      - currencyCode
      type: object
      properties:
        id:
          type: integer
          description: Required for updates, ignored on inserts.
          format: int64
        vendorId:
          minimum: 1
          type: integer
          format: int64
        accountId:
          type: integer
          format: int64
        internalId:
          type: integer
          format: int64
        lines:
          type: array
          items:
            $ref: '#/components/schemas/Line'
          description: ''
        purchaseTerm:
          $ref: '#/components/schemas/PurchaseTerm'
        paymentMethod:
          $ref: '#/components/schemas/PaymentMethod'
        paymentRef:
          maxLength: 45
          minLength: 0
          type: string
        deliveryMethod:
          $ref: '#/components/schemas/DeliveryMethod'
        shippingAddressId:
          minimum: 1
          type: integer
          format: int64
        billingAddressId:
          minimum: 1
          type: integer
          format: int64
        taxAmount:
          type: number
        shippingAmount:
          type: number
        otherAmount:
          type: number
        internalNotes:
          maxLength: 10000
          minLength: 0
          type: string
        publicNotes:
          maxLength: 10000
          minLength: 0
          type: string
        createdDate:
          type: string
          format: date-time
        lastUpdate:
          type: string
          format: date-time
        dueDate:
          type: string
          format: date-time
        tags:
          type: string
        createdBy:
          type: string
        lastUpdateBy:
          type: string
        externalRef:
          type: string
          description: External reference number for purchase
        paymentStatus:
          allOf:
          - $ref: '#/components/schemas/PaymentStatus1'
          - description: Payment status
        creditCardId:
          type: integer
          format: int64
        creditCardGroupId:
          type: integer
          format: int64
        currencyCode:
          $ref: '#/components/schemas/CurrencyCode'
        payments:
          type: array
          items:
            $ref: '#/components/schemas/PurchasePayment'
          description: ''
        notes:
          type: array
          items:
            $ref: '#/components/schemas/PurchaseNote'
          description: ''
        received:
          type: boolean
        consignment:
          $ref: '#/components/schemas/Consignment'
        cooperative:
          type: boolean
        status:
          $ref: '#/components/schemas/Status3'
        airbill:
          type: string
        outstandingBalance:
          type: number
        autoPo:
          type: boolean
          writeOnly: true
        displayName:
          type: string
        consignmentStatus:
          type: string
        eventName:
          type: string
        quantity:
          type: integer
          format: int32
        section:
          type: string
        row:
          type: string
        lineCount:
          type: integer
          format: int32
        lineTotal:
          type: number
        total:
          type: number
        totalPayments:
          type: number
        lastPurchasePaymentNote:
          type: string
        hasZoneSeatingInventory:
          type: boolean
    PurchaseLineReplaceAction:
      title: PurchaseLineReplaceAction
      type: object
      properties:
        section:
          type: string
        row:
          type: string
        lowSeat:
          type: integer
          format: int32
        force:
          type: boolean
        seatType:
          $ref: '#/components/schemas/SeatType3'
    BulkPurchaseUpdate:
      title: BulkPurchaseUpdate
      required:
      - purchaseIds
      type: object
      properties:
        purchaseIds:
          type: array
          items:
            type: integer
            format: int64
          description: Purchase id's which will be updated.
        paymentStatus:
          allOf:
          - $ref: '#/components/schemas/PaymentStatus6'
          - description: Payment status to update.
        externalRef:
          type: string
          description: External reference to update.
        received:
          type: boolean
          description: Updates whether PO is received.
        currencyCode:
          $ref: '#/components/schemas/CurrencyCode'
        paymentRef:
          maxLength: 45
          minLength: 0
          type: string
        paymentReferenceNumber:
          type: string
        paymentMethod:
          $ref: '#/components/schemas/PaymentMethod'
        vendorId:
          type: integer
          format: int64
        cooperative:
          type: boolean
        splitAmount:
          maximum: 100
          minimum: 0
          type: number
    QuickSearchResult:
      title: QuickSearchResult
      type: object
      properties:
        entityId:
          type: integer
          format: int64
        entityType:
          $ref: '#/components/schemas/EntityType1'
        matchedField:
          type: string
        externalRef:
          type: string
    ReportSnapshot:
      title: ReportSnapshot
      type: object
      properties:
        id:
          type: integer
          format: int64
        accountId:
          type: integer
          format: int64
        scheduleId:
          type: integer
          format: int64
        reportId:
          type: integer
          format: int64
        filters:
          type: array
          items:
            $ref: '#/components/schemas/ReportSnapshotFilter'
          description: ''
        assetName:
          type: string
        createdDate:
          type: string
          format: date-time
        scheduledDate:
          type: string
          format: date-time
        number:
          type: integer
          format: int32
        notes:
          type: string
        notificationEmails:
          type: array
          items:
            type: string
          description: ''
    ReportSnapshotFilter:
      title: ReportSnapshotFilter
      required:
      - name
      - value
      type: object
      properties:
        name:
          type: string
        label:
          type: string
        labelValue:
          type: string
        value:
          type: object
        type:
          $ref: '#/components/schemas/Type1'
        gmt:
          type: boolean
    Report:
      title: Report
      type: object
      properties:
        reportDefinition:
          $ref: '#/components/schemas/ReportDefinition'
        results:
          type: array
          items:
            type: object
          description: ''
        version:
          type: integer
          format: int64
    ReportColumn:
      title: ReportColumn
      type: object
      properties:
        name:
          type: string
        label:
          type: string
        value:
          type: string
        dataType:
          type: string
        dataExpression:
          type: string
        total:
          type: boolean
        totalExpression:
          type: string
        defaultHidden:
          type: boolean
        maxLength:
          type: integer
          format: int32
        enumName:
          type: string
        linkExpression:
          type: string
        size:
          type: string
        align:
          type: string
        copyToClipboard:
          type: boolean
        minimum:
          type: string
    ReportDefinition:
      title: ReportDefinition
      required:
      - name
      - description
      - parameters
      - columns
      - validations
      - mapperMethodName
      - defaultSortedBy
      - defaultSortDir
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
        description:
          type: string
        help:
          type: string
        isFilteringRequired:
          type: boolean
        parameters:
          type: array
          items:
            $ref: '#/components/schemas/ReportParameter'
          description: ''
        groups:
          type: array
          items:
            $ref: '#/components/schemas/ReportGroup'
          description: ''
        columns:
          type: array
          items:
            $ref: '#/components/schemas/ReportColumn'
          description: ''
        validations:
          type: array
          items:
            type: string
          description: ''
        mapperMethodName:
          type: string
        defaultSortedBy:
          type: string
        defaultSortDir:
          type: string
        sortingDisabled:
          type: boolean
        category:
          $ref: '#/components/schemas/Category1'
    ReportGroup:
      title: ReportGroup
      type: object
      properties:
        name:
          type: string
        parameters:
          type: array
          items:
            type: string
          description: ''
    ReportParameter:
      title: ReportParameter
      type: object
      properties:
        name:
          type: string
        label:
          type: string
        type:
          $ref: '#/components/schemas/Type1'
        value:
          type: object
        defaultValue:
          type: string
        options:
          type: array
          items:
            type: object
          description: ''
        gmt:
          type: boolean
        required:
          type: boolean
        isIllegalFilter:
          type: boolean
        defaultHidden:
          type: boolean
        disableAllAnySelector:
          type: boolean
        table:
          type: string
        column:
          type: string
        mode:
          type: string
        isMulti:
          type: boolean
        illegalFilter:
          type: boolean
    ReportSnapshotResult:
      title: ReportSnapshotResult
      type: object
      properties:
        id:
          type: integer
          format: int64
        accountId:
          type: integer
          format: int64
        scheduleId:
          type: integer
          format: int64
        reportId:
          type: integer
          format: int64
        filters:
          type: array
          items:
            $ref: '#/components/schemas/ReportSnapshotFilter'
          description: ''
        assetName:
          type: string
        createdDate:
          type: string
          format: date-time
        scheduledDate:
          type: string
          format: date-time
        number:
          type: integer
          format: int32
        notes:
          type: string
        notificationEmails:
          type: array
          items:
            type: string
          description: ''
        report:
          $ref: '#/components/schemas/Report'
    TagSummary:
      title: TagSummary
      type: object
      properties:
        id:
          type: integer
          format: int64
        tag:
          type: string
        tagType:
          type: string
        inventoryCount:
          type: integer
          format: int64
        invoiceCount:
          type: integer
          format: int64
        poCount:
          type: integer
          format: int64
        eventCount:
          type: integer
          format: int64
        customerCount:
          type: integer
          format: int64
        vendorCount:
          type: integer
          format: int64
        totalCount:
          type: integer
          format: int64
    BulkTagRequest:
      title: BulkTagRequest
      required:
      - entityIds
      - entityType
      type: object
      properties:
        entityIds:
          type: array
          items:
            type: integer
            format: int64
          description: ''
        entityType:
          $ref: '#/components/schemas/EntityType2'
        tagsToAdd:
          type: array
          items:
            type: string
          description: ''
        tagsToRemove:
          type: array
          items:
            type: string
          description: ''
        cleanOldTags:
          type: boolean
    TicketSummary:
      title: TicketSummary
      required:
      - seatNumber
      - section
      - row
      - cost
      - faceValue
      - sellPrice
      - stockType
      - status
      type: object
      properties:
        id:
          type: integer
          description: Unique identifier of the ticket.
          format: int64
        seatNumber:
          minimum: 1
          type: integer
          description: Seat number, must be numeric and passed low to high.
          format: int32
        fileName:
          maxLength: 45
          minLength: 0
          type: string
          description: If present, a pdf file exists for this ticket.
        barCode:
          maxLength: 45
          minLength: 0
          type: string
          description: The barcode associated with this ticket.
        inventoryId:
          type: integer
          format: int64
        invoiceLineId:
          type: integer
          format: int64
        purchaseLineId:
          type: integer
          format: int64
        section:
          maxLength: 51
          minLength: 1
          type: string
        row:
          maxLength: 44
          minLength: 1
          type: string
        notes:
          maxLength: 1000
          minLength: 0
          type: string
        cost:
          type: number
        faceValue:
          minimum: 0
          type: number
        sellPrice:
          minimum: 0
          type: number
        stockType:
          $ref: '#/components/schemas/StockType'
        eventId:
          type: integer
          format: int64
        accountId:
          type: integer
          format: int64
        status:
          $ref: '#/components/schemas/Status'
        base64FileBytes:
          type: string
          description: Base64 encoded byte array of the ticket file. Only used in write operations.
        disclosures:
          uniqueItems: true
          type: array
          items:
            type: string
          description: ''
        attributes:
          type: array
          items:
            type: string
          description: List of attributes for the ticket
        createdDate:
          type: string
          format: date-time
        createdBy:
          type: string
        lastUpdate:
          type: string
          format: date-time
        lastUpdateBy:
          type: string
        dateCancelled:
          type: string
          format: date-time
        cancelledByUserId:
          type: integer
          format: int64
        auditNote:
          type: string
        invoiceDate:
          type: string
          format: date-time
    Role:
      title: Role
      required:
      - name
      - permissions
      type: object
      properties:
        id:
          type: integer
          format: int64
        accountId:
          type: integer
          format: int64
        name:
          type: string
        permissions:
          type: array
          items:
            $ref: '#/components/schemas/Permission'
          description: ''
        users:
          type: array
          items:
            $ref: '#/components/schemas/User'
          description: ''
    User:
      title: User
      required:
      - accountId
      - email
      - firstName
      - lastName
      - phone
      type: object
      properties:
        id:
          type: integer
          description: for vivid seats use only
          format: int64
        accountId:
          type: integer
          description: account id for this user. ignored on account sign up, required for user update
          format: int64
        email:
          maxLength: 255
          minLength: 6
          pattern: '[a-zA-Z0-9._%-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}'
          type: string
          description: user's email
        password:
          pattern: ^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])(?=.*[@#$%^&+=!?*])(?=\S+$).{8,}$
          type: string
          description: user's password only required for creation
          writeOnly: true
        firstName:
          maxLength: 200
          minLength: 1
          type: string
          description: user's first name
        lastName:
          maxLength: 200
          minLength: 1
          type: string
          description: user's last name
        phone:
          maxLength: 20
          minLength: 10
          type: string
          description: user's phone
        creationDate:
          type: string
          format: date-time
        lastUpdate:
          type: string
          format: date-time
        agreedToTerms:
          type: boolean
        agreedToReplenishmentTerms:
          type: boolean
        account:
          $ref: '#/components/schemas/Account'
        roles:
          type: array
          items:
            $ref: '#/components/schemas/Role'
          description: ''
        deleted:
          type: boolean
    Vendor:
      title: Vendor
      required:
      - email
      - address
      - displayName
      - type
      - paymentMethod
      - purchaseTerm
      - defaultDeliveryMethod
      type: object
      properties:
        id:
          type: integer
          description: Required for updates, ignored on inserts.
          format: int64
        accountId:
          type: integer
          format: int64
        createdDate:
          type: string
          format: date-time
        lastUpdate:
          type: string
          format: date-time
        lastName:
          type: string
        firstName:
          type: string
        title:
          type: string
        email:
          type: string
        email2:
          type: string
        useEmail2:
          type: boolean
        company:
          type: string
        address:
          $ref: '#/components/schemas/Address'
        notes:
          type: string
        displayName:
          type: string
        type:
          $ref: '#/components/schemas/Type3'
        paymentMethod:
          $ref: '#/components/schemas/PaymentMethod'
        purchaseTerm:
          $ref: '#/components/schemas/PurchaseTerm'
        deleted:
          type: boolean
        tags:
          type: string
        defaultDeliveryMethod:
          allOf:
          - $ref: '#/components/schemas/DefaultDeliveryMethod1'
          - description: The default delivery method to use on purchases.
        accountDefault:
          type: boolean
          description: True if this is the account's default vendor. Read-only.
        clientId:
          type: integer
          format: int64
        brokerId:
          type: integer
          format: int64
        vsrAccountId:
          type: integer
          format: int64
        outlawedPaymentMethods:
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/OutlawedPaymentMethod'
          description: ''
    BulkVendorUpdate:
      title: BulkVendorUpdate
      required:
      - vendorIds
      - paymentMethod
      type: object
      properties:
        vendorIds:
          type: array
          items:
            type: integer
            format: int64
          description: Vendor id's which will be updated.
        paymentMethod:
          allOf:
          - $ref: '#/components/schemas/PaymentMethod1'
          - description: Payment method to update.
    SkyboxWebhook:
      title: SkyboxWebhook
      required:
      - topic
      - url
      type: object
      properties:
        id:
          type: integer
          format: int64
          readOnly: true
        topic:
          type: string
        url:
          type: string
        headers:
          type: string
        secret:
          type: string
        verifySsl:
          type: boolean
        createdAt:
          type: string
          format: date-time
          readOnly: true
        updatedAt:
          type: string
          format: date-time
          readOnly: true
    Action:
      title: Action
      enum:
      - INSERT
      - UPDATE
      - DELETE
      - PARTIAL_UPDATE
      - CANCEL
      type: string
    AlertType:
      title: AlertType
      enum:
      - MESSAGE
      - RELEASE
      type: string
    AuditAction:
      title: AuditAction
      enum:
      - INSERT
      - UPDATE
      - DELETE
      - PARTIAL_UPDATE
      - CANCEL
      type: string
    auditEntity:
      title: auditEntity
      enum:
      - ACCOUNT
      - USER
      - HOLD
      - INVOICE
      - LINE
      - PURCHASE
      - AUTO_PURCHASE
      - PURCHASE_MAPPING
      - INVOICE_PAYMENT
      - PURCHASE_PAYMENT
      type: string
    CardType:
      title: CardType
      enum:
      - AMEX
      - DISCOVER
      - MASTERCARD
      - UNKNOWN
      - VISA
      type: string
    Category1:
      title: Category1
      enum:
      - ACCOUNTING
      - INVENTORY
      - PROFIT_LOSS
      - SALES
      - PURCHASES
      - PRICING
      - OPERATION_FULFILLMENT
      type: string
    consignment1:
      title: consignment1
      enum:
      - YES
      - NO
      - COMPLETED
      type: string
    Country:
      title: Country
      enum:
      - AD
      - AE
      - AF
      - AG
      - AI
      - AL
      - AM
      - AO
      - AQ
      - AR
      - AS
      - AT
      - AU
      - AW
      - AX
      - AZ
      - BA
      - BB
      - BD
      - BE
      - BF
      - BG
      - BH
      - BI
      - BJ
      - BL
      - BM
      - BN
      - BO
      - BQ
      - BR
      - BS
      - BT
      - BV
      - BW
      - BY
      - BZ
      - CA
      - CC
      - CD
      - CF
      - CG
      - CH
      - CI
      - CK
      - CL
      - CM
      - CN
      - CO
      - CR
      - CU
      - CV
      - CW
      - CX
      - CY
      - CZ
      - DE
      - DJ
      - DK
      - DM
      - DO
      - DZ
      - EC
      - EE
      - EG
      - EH
      - ER
      - ES
      - ET
      - FI
      - FJ
      - FK
      - FM
      - FO
      - FR
      - GA
      - GB
      - GD
      - GE
      - GF
      - GG
      - GH
      - GI
      - GL
      - GM
      - GN
      - GP
      - GQ
      - GR
      - GS
      - GT
      - GU
      - GW
      - GY
      - HK
      - HM
      - HN
      - HR
      - HT
      - HU
      - ID
      - IE
      - IL
      - IM
      - IN
      - IO
      - IQ
      - IR
      - IS
      - IT
      - JE
      - JM
      - JO
      - JP
      - KE
      - KG
      - KH
      - KI
      - KM
      - KN
      - KP
      - KR
      - KW
      - KY
      - KZ
      - LA
      - LB
      - LC
      - LI
      - LK
      - LR
      - LS
      - LT
      - LU
      - LV
      - LY
      - MA
      - MC
      - MD
      - ME
      - MF
      - MG
      - MH
      - MK
      - ML
      - MM
      - MN
      - MO
      - MP
      - MQ
      - MR
      - MS
      - MT
      - MU
      - MV
      - MW
      - MX
      - MY
      - MZ
      - NA
      - NC
      - NE
      - NF
      - NG
      - NI
      - NL
      - NO
      - NP
      - NR
      - NU
      - NZ
      - OM
      - PA
      - PE
      - PF
      - PG
      - PH
      - PK
      - PL
      - PM
      - PN
      - PR
      - PS
      - PT
      - PW
      - PY
      - QA
      - RE
      - RO
      - RS
      - RU
      - RW
      - SA
      - SB
      - SC
      - SD
      - SE
      - SG
      - SH
      - SI
      - SJ
      - SK
      - SL
      - SM
      - SN
      - SO
      - SR
      - SS
      - ST
      - SV
      - SX
      - SY
      - SZ
      - TC
      - TD
      - TF
      - TG
      - TH
      - TJ
      - TK
      - TL
      - TM
      - TN
      - TO
      - TR
      - TT
      - TV
      - TW
      - TZ
      - UA
      - UG
      - UM
      - US
      - UY
      - UZ
      - VA
      - VC
      - VE
      - VG
      - VI
      - VN
      - VU
      - WF
      - WS
      - YE
      - YT
      - ZA
      - ZM
      - ZW
      type: string
      description: the company's country
    Currency:
      title: Currency
      enum:
      - USD
      - CAD
      - EUR
      - GBP
      - JPY
      - BRL
      - XBT
      - AUD
      type: string
    CurrencyCode:
      title: CurrencyCode
      enum:
      - USD
      - CAD
      - EUR
      - GBP
      - JPY
      - BRL
      - XBT
      - AUD
      type: string
    CurrencyCode3:
      title: CurrencyCode3
      enum:
      - USD
      - CAD
      - EUR
      - GBP
      - JPY
      - BRL
      - XBT
      - AUD
      type: string
      description: New currency code.
    CustomerType:
      title: CustomerType
      enum:
      - MARKETPLACE
      - PERFORMER
      - BROKER
      - RETAIL
      - CONCIERGE
      - TRAVELAGENT
      type: string
    CustomerType1:
      title: CustomerType1
      enum:
      - MARKETPLACE
      - PERFORMER
      - BROKER
      - RETAIL
      - CONCIERGE
      - TRAVELAGENT
      type: string
      description: Customer type to update.
    DefaultDeliveryMethod:
      title: DefaultDeliveryMethod
      enum:
      - COURIER
      - EMAIL
      - USPS
      - UPS
      - FEDEX
      - WILLCALL
      - PAPERLESS
      - MEETANDGREET
      - FLASHSEATS
      - MOBILE_DELIVERY
      - OFFICE_PICKUP
      - OTHER
      type: string
      description: The default delivery method to use on invoices.
    DefaultDeliveryMethod1:
      title: DefaultDeliveryMethod1
      enum:
      - COURIER
      - EMAIL
      - USPS
      - UPS
      - FEDEX
      - WILLCALL
      - PAPERLESS
      - MEETANDGREET
      - FLASHSEATS
      - MOBILE_DELIVERY
      - OFFICE_PICKUP
      - OTHER
      type: string
      description: The default delivery method to use on purchases.
    DeliveryMethod:
      title: DeliveryMethod
      enum:
      - COURIER
      - EMAIL
      - USPS
      - UPS
      - FEDEX
      - WILLCALL
      - PAPERLESS
      - MEETANDGREET
      - FLASHSEATS
      - MOBILE_DELIVERY
      - OFFICE_PICKUP
      - OTHER
      type: string
    EntityType:
      title: EntityType
      enum:
      - ACCOUNT
      - USER
      - HOLD
      - INVOICE
      - LINE
      - PURCHASE
      - AUTO_PURCHASE
      - PURCHASE_MAPPING
      - INVOICE_PAYMENT
      - PURCHASE_PAYMENT
      type: string
    EntityType1:
      title: EntityType1
      enum:
      - INVOICE
      - PURCHASE
      - INVENTORY
      - HOLD
      type: string
    EntityType2:
      title: EntityType2
      enum:
      - EVENT
      - CUSTOMER
      - INVENTORY
      - VENDOR
      - PURCHASE
      - INVOICE
      type: string
    enumtype:
      title: enumtype
      enum:
      - event
      - seat
      - ticket_split_type
      - ticket_stock_type
      - ticket_status
      - term
      - payment_method
      - delivery_method
      - inventory_status
      - line_item_type
      - line_type
      - customer_type
      - vendor_type
      - country_type
      - state_type
      - marketplace
      - payment_status
      - fulfillment_status
      - audit_entity
      - audit_action
      - integration_provider
      - currency
      - consignment_sale_status
      - report_categories
      - card_type
      - holding_marketplace
      - invoice_status,
      - purchase_status
      - hold_status
      - email_protocol
      - ups_shipping_confirmation_type
      - ups_shipping_service_code
      - ups_shipping_charge_status
      - permission
      - permission_category
      - account_setting_names
      - account_setting_categories
      type: string
    EventType:
      title: EventType
      enum:
      - CONCERT
      - THEATER
      - SPORT
      - OTHER
      type: string
    FulfillmentStatus:
      title: FulfillmentStatus
      enum:
      - PENDING
      - COMPLETE
      type: string
    FulfillmentStatus1:
      title: FulfillmentStatus1
      enum:
      - PENDING
      - COMPLETE
      type: string
      description: Inventory fulfillment status.
    IntegrationProvider:
      title: IntegrationProvider
      enum:
      - NONE
      - NATIVE
      - THIRD_PARTY
      type: string
    InvoiceStatus:
      title: InvoiceStatus
      enum:
      - CONTACT_NEEDED
      - WAITING_FOR_RESPONSE
      - EVENT_CANCELLED
      - INVESTIGATION_PENDING
      - INVESTIGATION_CLOSED
      - MANAGER_REVIEW
      - COMPLETED
      - DELIVERY_FAILURE
      - ORDER_VOID_CANCELLED
      type: string
    LineItemType:
      title: LineItemType
      enum:
      - GENERIC
      - INVENTORY
      type: string
      description: The type of the line item.
    LineType:
      title: LineType
      enum:
      - PURCHASE
      - INVOICE
      type: string
    Marketplace:
      title: Marketplace
      enum:
      - STUBHUB
      - VIVID_SEATS
      - EVENT_INVENTORY
      - TICKET_CITY
      - RAZORGATOR
      - SCOREBIG
      - TICKPICK
      - TICKET_EVOLUTION
      - TICKET_NETWORK
      - SEATGEEK
      - FANXCHANGE
      - OTHER
      type: string
    MergingType:
      title: MergingType
      enum:
      - COMBINE
      - WIPE
      - NEW
      type: string
      description: Strategy to merge public notes in the inventory
    Mode:
      title: Mode
      enum:
      - FIXED
      - PERCENT
      type: string
    OutlawedPaymentMethod:
      title: OutlawedPaymentMethod
      enum:
      - CREDITCARD
      - CASH
      - CHECK
      - PAYPAL
      - TRADE
      - VENMO
      - OTHER
      - ACCRUEDCREDIT
      - ACH
      - AR
      - AP
      - EVOPAY
      - MULTIPLE
      - COMPLIMENTARY
      type: string
    PaymentMethod:
      title: PaymentMethod
      enum:
      - CREDITCARD
      - CASH
      - CHECK
      - PAYPAL
      - TRADE
      - VENMO
      - OTHER
      - ACCRUEDCREDIT
      - ACH
      - AR
      - AP
      - EVOPAY
      - MULTIPLE
      - COMPLIMENTARY
      type: string
    PaymentMethod1:
      title: PaymentMethod1
      enum:
      - CREDITCARD
      - CASH
      - CHECK
      - PAYPAL
      - TRADE
      - VENMO
      - OTHER
      - ACCRUEDCREDIT
      - ACH
      - AR
      - AP
      - EVOPAY
      - MULTIPLE
      - COMPLIMENTARY
      type: string
      description: Payment method to update.
    PaymentRefPaymentMethod:
      title: PaymentRefPaymentMethod
      enum:
      - CREDITCARD
      - CASH
      - CHECK
      - PAYPAL
      - TRADE
      - VENMO
      - OTHER
      - ACCRUEDCREDIT
      - ACH
      - AR
      - AP
      - EVOPAY
      - MULTIPLE
      - COMPLIMENTARY
      type: string
    PaymentStatus:
      title: PaymentStatus
      enum:
      - UNPAID
      - PAID
      - PARTIAL
      - VOID
      type: string
    PaymentStatus1:
      title: PaymentStatus1
      enum:
      - UNPAID
      - PAID
      - PARTIAL
      - VOID
      type: string
      description: Payment status
    PaymentStatus2:
      title: PaymentStatus2
      enum:
      - UNPAID
      - PAID
      - PARTIAL
      - VOID
      type: string
      description: Payment status.
    PaymentStatus6:
      title: PaymentStatus6
      enum:
      - UNPAID
      - PAID
      - PARTIAL
      - VOID
      type: string
      description: Payment status to update.
    PaymentType:
      title: PaymentType
      enum:
      - INVOICE
      - PURCHASE
      type: string
    Permission:
      title: Permission
      enum:
      - EDIT_PRICE
      - VIEW_EDIT_COST
      - ADD_EDIT_INVOICE_PO_PAYMENT
      - ACCESS_SALES_TAB
      - ACCESS_CUSTOMERS_LIST
      - CREATE_INVOICE
      - EDIT_INVOICE_PO_COST
      - REMOVE_TICKETS_FROM_INVOICE
      - ACCESS_PURCHASES_TAB
      - ACCESS_VENDORS_LIST
      - VIEW_EDIT_CONSIGNMENT_CO_OP
      - ADD_INVENTORY
      - BROADCAST_UNBROADCAST_INVENTORY
      - VIEW_EDIT_ZONE_STATUS
      - CANCEL_REPLACE_INVENTORY
      - ACCESS_REPORTS
      - ACCESS_TICKER
      - ACCESS_SHIPPING
      - EDIT_ACCOUNT_LEVEL_DETAILS
      - VIEW_EDIT_USER
      - VIEW_EDIT_PDF_BARCODE
      - EDIT_TAG
      - ADMIN
      - UPS_ADMIN
      - SFS_ADMIN
      - USER
      - ACCOUNT_ADMIN
      - ACCOUNT_OWNER
      - ANALYST
      - BASIC_USER
      - LIMITED_USER
      - PERFORMER_ANALYST
      - TAGS_LOCKED
      - VIEW_ONLY
      - LIMITED_PRICER
      - ACCOUNTING_RESTRICTION
      - VIEW_INVENTORY
      - VIEW_INVENTORY_HISTORY
      - EDIT_INVENTORY
      - SAVED_SEARCHES
      - VIEW_EVENT_DELTA
      - DELETE_EVENT_DELTA
      - VIEW_ADDRESS
      - VIEW_NOTIFICATIONS
      type: string
    purchaseStatus:
      title: purchaseStatus
      enum:
      - CONTACT_NEEDED
      - WAITING_FOR_RESPONSE
      - EVENT_CANCELLED
      - INVESTIGATION_PENDING
      - INVESTIGATION_CLOSED
      - MANAGER_REVIEW
      - COMPLETED
      - DELIVERY_FAILURE
      - ORDER_VOID_CANCELLED
      type: string
    PurchaseTerm:
      title: PurchaseTerm
      enum:
      - NET0
      - NET10
      - NET15
      - NET25
      - NET30
      - NET45
      - NET60
      type: string
    received:
      title: received
      enum:
      - YES
      - NO
      - MIXED
      type: string
    SalesTerm:
      title: SalesTerm
      enum:
      - NET0
      - NET10
      - NET15
      - NET25
      - NET30
      - NET45
      - NET60
      type: string
    SeatType:
      title: SeatType
      enum:
      - CONSECUTIVE
      - ALTERNATING
      - GA
      - PIGGYBACK
      type: string
      description: Seat type.
    SeatType3:
      title: SeatType3
      enum:
      - CONSECUTIVE
      - ALTERNATING
      - GA
      - PIGGYBACK
      type: string
    SeatType4:
      title: SeatType4
      enum:
      - CONSECUTIVE
      - ALTERNATING
      - GA
      - PIGGYBACK
      type: string
      description: Seat type to update
    SettingName:
      title: SettingName
      enum:
      - PRINT_INTERNAL_IDS
      - PRINT_PAYMENTS
      - PRINT_STOCK_TYPE
      - PRINT_CREATED_BY
      - PRINT_INVENTORY_TAGS_INVOICE
      - PRINT_PURCHASE_TAGS_PURCHASE
      - PRINT_AIRBILL_INVOICE
      - PRINT_DISCLOSURES_ATTRIBUTES_INVOICE
      - PRINT_INTERNAL_NOTES_INVOICE
      - PRINT_IN_HAND_DATE
      - PRINT_OLD_FORMAT
      - AUTO_DELIVERY_ENABLED
      - OUT_FULFILLMENT_STATUS_CHECK
      - TAGS_REQUIRED
      - ALLOW_COOPERATIVE_INVENTORY
      - DISABLE_BARCODE_SCRAPING
      - HIDE_DYNAMIC_FILTERS_TOGGLE
      type: string
    sortBy:
      title: sortBy
      enum:
      - CARD_TYPE
      - NAME_ON_CARD
      type: string
    sortDir:
      title: sortDir
      enum:
      - ASC
      - DESC
      type: string
    sortDirB:
      title: sortDirB
      enum:
      - ASC
      - DESC
      type: string
    sortedBy:
      title: sortedBy
      enum:
      - ID
      - DISPLAY_NAME
      - CUSTOMER_TYPE
      - EMAIL
      - LAST_NAME
      - COMPANY
      - CITY
      - STATE
      - COUNTRY
      type: string
    sortedBy1:
      title: sortedBy1
      enum:
      - ID
      - DATE
      - EVENT_NAME
      - VENUE_NAME
      - VENUE_CITY
      - VENUE_STATE
      - EVENT_TYPE
      - CATEGORY_NAME
      - MY_SOLD_TICKETS
      - TICKET_COUNT
      type: string
    sortedBy2:
      title: sortedBy2
      enum:
      - NAME
      type: string
    sortedBy3:
      title: sortedBy3
      enum:
      - EVENT_DATE
      - EVENT_NAME
      - VENUE_NAME
      - VENUE_CITY
      - VENUE_STATE
      - QUANTITY
      - COST
      - EVENT_TYPE
      - CATEGORY_NAME
      - LAST_PRICE_UPDATE
      - LAST_SALE
      type: string
    sortedBy4:
      title: sortedBy4
      enum:
      - EVENT_NAME
      - EVENT_DATE
      - VENUE_NAME
      - VENUE_CITY
      - VENUE_STATE
      - LISTING_ID
      - INVENTORY_QUANTITY
      - INVENTORY_SECTION
      - INVENTORY_ROW
      - SEATS
      - INVENTORY_COST
      - INVENTORY_LIST_PRICE
      - NOTES
      - USER
      - CREATED_DATE
      - EXPIRY_DATE
      - EXTERNAL_REF
      - CUSTOMER_DISPLAY_NAME
      type: string
    sortedBy5:
      title: sortedBy5
      enum:
      - EVENT_DATE
      - EVENT_DAY_OF_WEEK
      - EVENT_NAME
      - VENUE_NAME
      - VENUE_CITY
      - VENUE_STATE
      - CATEGORY_NAME
      - INVOICE_DATE
      - LAST_INVOICE_NOTES_DATE
      - LAST_INVOICE_NOTES
      - DISPLAY_NAME
      - STOCK_TYPE
      - TOTAL
      - INVOICE_ID
      - SECTION
      - ROW
      - QUANTITY
      - COST
      - EXPECTED_VALUE
      - FULFILLMENT_STATUS
      - PAYMENT_STATUS
      - INVOICE_EXTERNAL_REF
      - PURCHASE_EXTERNAL_REF
      - PERFORMER_NAME
      - CUSTOMER_DISPLAY_NAME
      - IN_HAND_DATE
      - AVERAGE_UNIT_COST
      - UNIT_TICKET_SALES
      - PUBLIC_NOTES
      - NOTES
      - PROFIT
      - PROFIT_MARGIN
      - TAGS
      - OUTSTANDING_BALANCE
      - INVOICE_STATUS
      - CUSTOMER_TYPE
      - DAYS_LISTED
      - SEATS
      - ELECTRONIC_TRANSFER
      - RECEIVED
      - CREATED_BY
      - FULFILLMENT_DATE
      - LAST_INVOICE_NOTES_USER
      - PURCHASE_ID
      - CURRENCY
      - PURCHASE_DATE
      - EVENT_ID
      - ZONE_SEATING
      type: string
    sortedBy6:
      title: sortedBy6
      enum:
      - EVENT_DATE
      - EVENT_NAME
      - VENUE_NAME
      - EVENT_TYPE
      - VENUE_CITY
      - VENUE_STATE
      - STOCK_TYPE
      - PURCHASE_DATE
      - VENDOR_ID
      - CREATED_BY
      - PAYMENT_STATUS
      - PAYMENT_METHOD
      - PURCHASE_ID
      - SECTION
      - ROW
      - QUANTITY
      - COST
      - UNIT_COST
      - VENDOR_DISPLAY_NAME
      - EXTERNAL_REF
      - STATUS
      type: string
    sortedBy7:
      title: sortedBy7
      enum:
      - EVENT_DATE
      - EVENT_NAME
      - VENUE_NAME
      - EVENT_TYPE
      - VENUE_CITY
      - VENUE_STATE
      - STOCK_TYPE
      - PURCHASE_DATE
      - VENDOR_ID
      - CREATED_BY
      - PAYMENT_STATUS
      - PAYMENT_METHOD
      - PURCHASE_ID
      - SECTION
      - ROW
      - QUANTITY
      - COST
      - UNIT_COST
      - VENDOR_DISPLAY_NAME
      - EXTERNAL_REF
      - STATUS
      - CREDIT_CARD_GROUP
      - CREDIT_CARD_LAST_DIGITS
      - TICKET_FACE_VALUE_AVERAGE
      - OUTSTANDING_BALANCE
      - NOTES
      type: string
    sortedBy8:
      title: sortedBy8
      enum:
      - EVENT_DATE
      - EVENT_NAME
      - VENUE_NAME
      - VENUE_CITY
      - VENUE_STATE
      - LAST_PRICE_UPDATE
      - LAST_SALE
      - QUANTITY
      type: string
    sortedBy9:
      title: sortedBy9
      enum:
      - ID
      - CREATED_DATE
      - DISPLAY_NAME
      - DELIVERY_METHOD
      - PAYMENT_METHOD
      - QUANTITY
      - SECTION
      - ROW
      - CATEGORY_NAME
      - TOTAL
      - FULFILLMENT_STATUS
      - FULFILLMENT_DATE
      - PAYMENT_STATUS
      - PAYMENT_REF
      - EXTERNAL_REF
      - LINE_COUNT
      - INVOICE_IN_HAND_DATE
      - EVENT_DATE
      - CREATED_BY
      - STOCK_TYPE
      - TAGS
      - OUTSTANDING_BALANCE
      - PERFORMER
      - INTERNAL_ID
      - SEATS
      - RECEIVED
      - VENUE
      - PURCHASE_ID
      - VENDOR
      - PAYMENT_DATE
      - LAST_INVOICE_NOTES
      - LAST_INVOICE_NOTES_USER
      - CURRENCY_CODE
      - STATUS
      - CUSTOMER_ID
      type: string
    sortedBy10:
      title: sortedBy10
      enum:
      - ID
      - CREATED_DATE
      - EXTERNAL_REF
      - PAYMENT_STATUS
      - PURCHASE_DATE
      - EVENT_NAME
      - EVENT_DATE
      - ROW
      - SECTION
      - UNIT_COST
      - SEATS
      - QUANTITY
      - LINE_TOTAL
      - USER
      - VENUE_NAME
      - GROUP_COST
      type: string
    sortedBy11:
      title: sortedBy11
      enum:
      - ID
      - CREATED_DATE
      - DISPLAY_NAME
      - PAYMENT_METHOD
      - DELIVERY_METHOD
      - QUANTITY
      - SECTION
      - ROW
      - TOTAL
      - LINE_COUNT
      - LINE_TOTAL
      - PAYMENT_STATUS
      - PURCHASE_STATUS
      - EXTERNAL_REF
      - OUTSTANDING_BALANCE
      - EVENT_NAME
      type: string
    sortedBy12:
      title: sortedBy12
      enum:
      - DISPLAY_NAME
      - VENDOR_TYPE
      - EMAIL
      - LAST_NAME
      - COMPANY
      - CITY
      - STATE
      - ACCOUNT_DEFAULT
      type: string
    sortedBy13:
      title: sortedBy13
      enum:
      - NAME
      - ID
      - CITY
      - STATE
      type: string
    sortedByB:
      title: sortedByB
      enum:
      - ID
      - SEAT
      - SECTION
      - ROW
      - COST
      - LIST_PRICE
      - FACE_VALUE
      - FACE_VALUE_AVERAGE
      - STOCK_TYPE
      - IN_HAND_DATE
      - IN_HAND_DATE_CALC
      - UNIT_COST_AVERAGE
      - LAST_PRICE_UPDATE
      - PUBLIC_NOTES
      - NOTES
      - SPLIT_TYPE
      - QUANTITY
      - BROADCAST
      - DAYS_OLD
      - EXPECTED_VALUE
      - ELECTRONIC_TRANSFER
      - CONSIGNMENT
      - RECEIVED
      - TAGS
      type: string
    SplitType:
      title: SplitType
      enum:
      - DEFAULT
      - ANY
      - CUSTOM
      - NEVERLEAVEONE
      type: string
      description: How the tickets may be split
    SplitType3:
      title: SplitType3
      enum:
      - DEFAULT
      - ANY
      - CUSTOM
      - NEVERLEAVEONE
      type: string
      description: Split type to update
    splitType5:
      title: splitType5
      enum:
      - DEFAULT
      - ANY
      - CUSTOM
      - NEVERLEAVEONE
      type: string
    State:
      title: State
      enum:
      - AL
      - AK
      - AS
      - AZ
      - AR
      - CA
      - CO
      - CT
      - DE
      - DC
      - FL
      - GA
      - GU
      - HI
      - ID
      - IL
      - IN
      - IA
      - KS
      - KY
      - LA
      - ME
      - MD
      - MA
      - MI
      - MN
      - MS
      - MO
      - MT
      - NE
      - NV
      - NH
      - NJ
      - NM
      - NY
      - NC
      - ND
      - MP
      - OH
      - OK
      - OR
      - PA
      - PR
      - RI
      - SC
      - SD
      - TN
      - TX
      - UT
      - VT
      - VI
      - VA
      - WA
      - WV
      - WI
      - WY
      - AB
      - BC
      - MB
      - NB
      - NL
      - NS
      - ON
      - PE
      - QC
      - SK
      - NT
      - NU
      - YT
      - OTHER
      - UNKNOWN
      type: string
      description: the company's state
    State1:
      title: State1
      enum:
      - AL
      - AK
      - AS
      - AZ
      - AR
      - CA
      - CO
      - CT
      - DE
      - DC
      - FL
      - GA
      - GU
      - HI
      - ID
      - IL
      - IN
      - IA
      - KS
      - KY
      - LA
      - ME
      - MD
      - MA
      - MI
      - MN
      - MS
      - MO
      - MT
      - NE
      - NV
      - NH
      - NJ
      - NM
      - NY
      - NC
      - ND
      - MP
      - OH
      - OK
      - OR
      - PA
      - PR
      - RI
      - SC
      - SD
      - TN
      - TX
      - UT
      - VT
      - VI
      - VA
      - WA
      - WV
      - WI
      - WY
      - AB
      - BC
      - MB
      - NB
      - NL
      - NS
      - ON
      - PE
      - QC
      - SK
      - NT
      - NU
      - YT
      - OTHER
      - UNKNOWN
      type: string
    Status:
      title: Status
      enum:
      - AVAILABLE
      - SOLD
      - CANCELLED
      type: string
    Status1:
      title: Status1
      enum:
      - AVAILABLE
      - ON_HOLD
      - DEPLETED
      type: string
    Status3:
      title: Status3
      enum:
      - CONTACT_NEEDED
      - WAITING_FOR_RESPONSE
      - EVENT_CANCELLED
      - INVESTIGATION_PENDING
      - INVESTIGATION_CLOSED
      - MANAGER_REVIEW
      - COMPLETED
      - DELIVERY_FAILURE
      - ORDER_VOID_CANCELLED
      type: string
    StockType:
      title: StockType
      enum:
      - HARD
      - ELECTRONIC
      - FLASH
      - PAPERLESS
      - PAPERLESS_CARD
      - MOBILE_TRANSFER
      - MOBILE_SCREENCAP
      type: string
    StockType5:
      title: StockType5
      enum:
      - HARD
      - ELECTRONIC
      - FLASH
      - PAPERLESS
      - PAPERLESS_CARD
      - MOBILE_TRANSFER
      - MOBILE_SCREENCAP
      type: string
      description: Stock type to update
    TicketStatus:
      title: TicketStatus
      enum:
      - AVAILABLE
      - SOLD
      - CANCELLED
      type: string
    Type:
      title: Type
      enum:
      - MESSAGE
      - RELEASE
      - MAPPING_QUEUE
      - UPCOMING_OPEN_ORDERS
      - EVENT_DELTA
      type: string
    Type1:
      title: Type1
      enum:
      - DATE
      - DATERANGE
      - EMAIL
      - NUMBER
      - TEXT
      - CUSTOMER
      - VENDOR
      - PERFORMER
      - EVENT_TYPE
      - CATEGORY
      - EXCLUDE_CATEGORY
      - ENUM
      - CHECKBOX
      - BOOLEAN
      - DAYOFWEEK
      - TAGS
      - CREDITCARDGROUP
      - USER
      type: string
    Type3:
      title: Type3
      enum:
      - MARKETPLACE
      - PRIMARY
      - PERFORMER
      - BROKER
      - INDY
      type: string
    vendorType:
      title: vendorType
      enum:
      - MARKETPLACE
      - PRIMARY
      - PERFORMER
      - BROKER
      - INDY
      type: string
    VsrOption:
      title: VsrOption
      enum:
      - ALL
      - EVENT_INVENTORY
      - OTHER
      - NONE
      type: string
    VsrOption3:
      title: VsrOption3
      enum:
      - ALL
      - EVENT_INVENTORY
      - OTHER
      - NONE
      type: string
      description: VSR option
  securitySchemes:
    Account:
      type: apiKey
      description: Account identification
      name: X-Account
      in: header
    AuthorizationToken:
      type: apiKey
      description: Used to identify the account
      name: X-Api-Token
      in: header
    ApplicationToken:
      type: apiKey
      description: Used to identify the app
      name: X-Application-Token
      in: header
security:
- ApplicationToken: []
- AuthorizationToken: []
- Account: []
tags:
- name: Account
  description: Account
- name: Addresses
  description: Addresses
- name: Alerts
  description: Alerts
- name: Assets
  description: PDF Upload/Download
- name: Audit
  description: Audit
- name: Credit Cards
  description: Credit Cards
- name: Customers
  description: Customers
- name: Enumerations
  description: Enumerations
- name: Events
  description: Events
- name: Event Positions
  description: Event Positions
- name: External Accounts
  description: External Accounts
- name: Holds
  description: Holds
- name: Inventory
  description: Inventory
- name: Invoices
  description: Invoices
- name: Lines
  description: Lines
- name: Mapping
  description: Mapping
- name: Purchases
  description: Purchases
- name: Quick Search
  description: Quick Search
- name: Reports
  description: Reports
- name: Tags
  description: Tags
- name: Tickets
  description: Tickets
- name: Users
  description: Users
- name: Vendors
  description: Vendors
- name: Venues
  description: Venues
- name: Webhooks
  description: Webhooks
  externalDocs:
    description: 'Important Details on Using Webhooks:'
    url: https://skybox.vividseats.com/api-docs/webhooks/
