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

# Patch Widget Config

> Forward the patch payload to Zunkiree. Only fields the merchant
explicitly set are forwarded — Pydantic's `exclude_unset=True`
strips defaults so PATCH semantics are preserved (None = "don't
touch this field").



## OpenAPI

````yaml /api-reference/openapi.json patch /api/dashboard/integrations/zunkiree/widget-config
openapi: 3.1.0
info:
  title: Agentic Commerce API
  description: |2-

        Agentic Commerce API - E-commerce Backend

        ## APIs

        ### Dashboard API (`/api/dashboard`)
        Authenticated endpoints for merchant management:
        - Products, Variants, Options
        - Inventory management
        - Orders and fulfillment
        - Customers
        - Collections

        ### Storefront API (`/api/storefront`)
        Public endpoints for client websites:
        - Product catalog
        - Collections
        - Cart management
        - Checkout

        ### Sync API (`/api/sync`)
        Integration endpoints for zunkiree-search:
        - Product sync
        - Availability checks
        - Order creation from AI widget
        
  version: 1.0.0
servers: []
security: []
paths:
  /api/dashboard/integrations/zunkiree/widget-config:
    patch:
      tags:
        - Dashboard
        - Integrations
      summary: Patch Widget Config
      description: |-
        Forward the patch payload to Zunkiree. Only fields the merchant
        explicitly set are forwarded — Pydantic's `exclude_unset=True`
        strips defaults so PATCH semantics are preserved (None = "don't
        touch this field").
      operationId: >-
        patch_widget_config_api_dashboard_integrations_zunkiree_widget_config_patch
      parameters:
        - name: authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
        - name: X-API-Key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Api-Key
        - name: X-Stella-Merchant-Id
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Stella-Merchant-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WidgetConfigPatchRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: >-
                  Response Patch Widget Config Api Dashboard Integrations
                  Zunkiree Widget Config Patch
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    WidgetConfigPatchRequest:
      properties:
        brand_name:
          anyOf:
            - type: string
              maxLength: 120
            - type: 'null'
          title: Brand Name
        tone:
          anyOf:
            - type: string
              maxLength: 32
            - type: 'null'
          title: Tone
        primary_color:
          anyOf:
            - type: string
              maxLength: 16
            - type: 'null'
          title: Primary Color
          description: CSS color string, e.g. '#2563eb' or 'rgb(37,99,235)'.
        placeholder_text:
          anyOf:
            - type: string
              maxLength: 200
            - type: 'null'
          title: Placeholder Text
        welcome_message:
          anyOf:
            - type: string
              maxLength: 500
            - type: 'null'
          title: Welcome Message
        quick_actions:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Quick Actions
        lead_intents:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Lead Intents
        confidence_threshold:
          anyOf:
            - type: number
              maximum: 1
              minimum: 0
            - type: 'null'
          title: Confidence Threshold
        contact_email:
          anyOf:
            - type: string
              format: email
            - type: 'null'
          title: Contact Email
        contact_phone:
          anyOf:
            - type: string
              maxLength: 40
            - type: 'null'
          title: Contact Phone
      type: object
      title: WidgetConfigPatchRequest
      description: |-
        Body for `PATCH /widget-config`. Every field is optional; only
        non-None fields are forwarded to Z6 (PATCH semantics — explicit
        None means "don't touch"). Field set mirrors SHARED-CONTRACT §12.4.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````