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

# Edit one of your cards: what the truck wants, the contact, from when, the partners switch

> Edit one of your cards: what the truck wants, the contact shown, from when, the partners switch.



## OpenAPI

````yaml /api-reference/openapi.json patch /v1/khali/{availability_id}
openapi: 3.1.0
info:
  title: Truckaurbus API
  version: v1
  description: >-
    The public v1 API at https://api.truckaurbus.com/v1. Authenticate with an
    API key in the Authorization header: Bearer tab_live_...


    Every figure carries its kind and its date. The API never carries the page a
    value came from.
servers:
  - url: https://api.truckaurbus.com
security: []
paths:
  /v1/khali/{availability_id}:
    patch:
      tags:
        - v1
      summary: >-
        Edit one of your cards: what the truck wants, the contact, from when,
        the partners switch
      description: >-
        Edit one of your cards: what the truck wants, the contact shown, from
        when, the partners switch.
      operationId: identity_api_v1_khali_edit
      parameters:
        - in: path
          name: availability_id
          required: true
          schema:
            title: Availability Id
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KhaliEditIn'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: true
                title: Response
                type: object
          description: OK
components:
  schemas:
    KhaliEditIn:
      properties:
        contact_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Contact Name
        contact_phone:
          anyOf:
            - type: string
            - type: 'null'
          title: Contact Phone
        from_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: From At
        partners:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Partners
        wants:
          anyOf:
            - type: string
            - type: 'null'
          title: Wants
      title: KhaliEditIn
      type: object

````