> ## Documentation Index
> Fetch the complete documentation index at: https://developer.qminder.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Save ticket input field value

> Saves or updates a custom input field value on a ticket. Use `value` for text fields or `optionIds` for select-type fields.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/tickets/{ticketId}/fields/{inputFieldId}
openapi: 3.1.0
info:
  title: Qminder API
  version: '1.0'
  description: >-
    The Qminder API allows you to integrate queue management into your own
    applications.
servers:
  - url: https://api.qminder.com
security:
  - sec0: []
tags:
  - name: Locations
    description: Manage physical service locations
  - name: Lines
    description: Manage virtual queues within locations
  - name: Input Fields
    description: Manage custom data fields for locations
  - name: Tickets
    description: Manage visitor queue entries
  - name: Appointments
    description: Manage scheduled appointments
  - name: Users
    description: Manage user accounts and permissions
  - name: Webhooks
    description: Manage webhook subscriptions
paths:
  /v1/tickets/{ticketId}/fields/{inputFieldId}:
    post:
      tags:
        - Tickets
      summary: Save ticket input field value
      description: >-
        Saves or updates a custom input field value on a ticket. Use `value` for
        text fields or `optionIds` for select-type fields.
      operationId: save-ticket-field
      parameters:
        - name: ticketId
          in: path
          description: ID of the ticket
          required: true
          schema:
            type: string
        - name: inputFieldId
          in: path
          description: UUID of the input field
          required: true
          schema:
            type: string
            format: uuid
        - name: X-Qminder-API-Version
          in: header
          description: API version. Must be set to `2020-09-01`.
          required: true
          schema:
            type: string
            enum:
              - '2020-09-01'
            default: '2020-09-01'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                value:
                  type: string
                  maxLength: 500
                  description: >-
                    Text value for text or URL input fields (max 500
                    characters).
                optionIds:
                  type: array
                  items:
                    type: string
                    format: uuid
                  description: UUIDs of selected options for select-type input fields.
            examples:
              textField:
                summary: Text field value
                value:
                  value: Customer needs wheelchair access
              selectField:
                summary: Select field options
                value:
                  optionIds:
                    - 550e8400-e29b-41d4-a716-446655440000
      responses:
        '200':
          description: Input field value saved successfully
        '400':
          description: Both value and options are null, or invalid options provided
        '404':
          description: Ticket or input field not found
        '409':
          description: Ticket and input field are from different locations
components:
  securitySchemes:
    sec0:
      type: apiKey
      in: header
      name: X-Qminder-REST-API-Key
      x-default: yourbusinessapikey

````