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

# Save a proposal intake section with optimistic revision control



## OpenAPI

````yaml /api-reference/cx/swagger.json patch /cp/proposals/{proposal}
openapi: 3.0.0
info:
  description: CX API.
  title: CX API
  contact:
    name: API Support
    url: https://stax.ai
    email: support@stax.ai
  version: '1.0'
servers:
  - url: https://api.cx.stax.ai
security: []
paths:
  /cp/proposals/{proposal}:
    patch:
      tags:
        - client-portal
        - proposals
      summary: Save a proposal intake section with optimistic revision control
      parameters:
        - description: Proposal ID
          name: proposal
          in: path
          required: true
          schema:
            type: string
        - description: Intake capability
          name: token
          in: query
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/stax_ai_cx_cx-api_pkg_proposals.PublicPatchRequest
        description: Section patch
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
components:
  schemas:
    stax_ai_cx_cx-api_pkg_proposals.PublicPatchRequest:
      type: object
      properties:
        completed:
          type: boolean
        data:
          type: array
          items:
            type: integer
        revision:
          type: integer
        section:
          type: string
        step:
          type: string

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.