> ## 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.

# Update Plan Design Guide fields (client portal)

> Partially update approved Plan Design Guide data fields on the project associated with an active Plan Design Guide task. The request body is a direct key-value object; omitted fields are unchanged.



## OpenAPI

````yaml /api-reference/cx/swagger.json patch /cp/{client}/tasks/{task}/_plan_design
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/{client}/tasks/{task}/_plan_design:
    patch:
      tags:
        - client-portal
      summary: Update Plan Design Guide fields (client portal)
      description: >-
        Partially update approved Plan Design Guide data fields on the project
        associated with an active Plan Design Guide task. The request body is a
        direct key-value object; omitted fields are unchanged.
      parameters:
        - description: Client ID
          name: client
          in: path
          required: true
          schema:
            type: string
        - description: Task ID
          name: task
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
        description: Plan Design Guide field values
        required: true
      responses:
        '200':
          description: Update result
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/pkg_routes_cp_tasks.PlanDesignUpdateResponse
        '400':
          description: >-
            Bad request - invalid IDs, body, field name/value, or task has no
            project
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '403':
          description: Forbidden - no access to client
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '404':
          description: Task or project not found
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      security:
        - ApiKeyAuth: []
components:
  schemas:
    pkg_routes_cp_tasks.PlanDesignUpdateResponse:
      type: object
      properties:
        ok:
          type: boolean
  securitySchemes:
    ApiKeyAuth:
      description: CX API key. Create one in CX under Settings → Advanced → API Keys.
      in: header
      name: x-api-key
      type: apiKey

````

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