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

# Link or unlink submission customer

> Requires `write:forms`. Body `{ customerId }` only — link or unlink a customer on the submission (`null` to unlink).



## OpenAPI

````yaml /api-reference/openapi.json patch /api/v1/marketing/forms/{id}/submissions/{submissionId}
openapi: 3.0.0
info:
  title: Car Storage Software API
  version: 1.1.0
  description: >-
    Team-scoped REST API for Car Storage Software. Authenticate with a team API
    key (`Authorization: Bearer <key>` or `x-api-key: <key>`) created under
    Settings → Integrations → API. Keys carry granular `read:*` / `write:*`
    scopes; read never implies write.
servers:
  - url: https://www.carstoragesoftware.com
security: []
paths:
  /api/v1/marketing/forms/{id}/submissions/{submissionId}:
    patch:
      tags:
        - Marketing
      summary: Link or unlink submission customer
      description: >-
        Requires `write:forms`. Body `{ customerId }` only — link or unlink a
        customer on the submission (`null` to unlink).
      parameters:
        - schema:
            type: string
            format: uuid
          required: true
          name: id
          in: path
        - schema:
            type: string
            format: uuid
          required: true
          name: submissionId
          in: path
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/V1FormSubmissionPatch'
      responses:
        '200':
          description: Updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1FormSubmissionResponse'
        '401':
          description: Missing, invalid, revoked, or expired API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: API key missing required scope, or API disabled for team.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '422':
          description: Request validation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    V1FormSubmissionPatch:
      type: object
      properties:
        customerId:
          type: string
          nullable: true
          format: uuid
      required:
        - customerId
    V1FormSubmissionResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/V1FormSubmission'
      required:
        - data
    ApiError:
      type: object
      properties:
        error:
          type: string
        code:
          type: string
        details:
          nullable: true
      required:
        - error
    V1FormSubmission:
      type: object
      properties:
        id:
          type: string
          format: uuid
        formId:
          type: string
          format: uuid
        teamId:
          type: string
        customerId:
          type: string
          nullable: true
          format: uuid
        respondentEmail:
          type: string
          nullable: true
        respondentName:
          type: string
          nullable: true
        respondentPhone:
          type: string
          nullable: true
        values:
          type: object
          additionalProperties:
            nullable: true
        fieldSnapshot:
          type: array
          items:
            type: object
            additionalProperties:
              nullable: true
        metadata:
          type: object
          additionalProperties:
            nullable: true
        submittedAt:
          type: string
          nullable: true
          format: date-time
      required:
        - id
        - formId
        - teamId
        - customerId
        - respondentEmail
        - respondentName
        - respondentPhone
        - values
        - fieldSnapshot
        - metadata
        - submittedAt
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        Team API key from Settings → Integrations. Use `Authorization: Bearer
        <key>` or `x-api-key`.

````

## Related topics

- [Connect iMessage to the AI Assistant](/docs/ai-assistant/connect-imessage-to-the-ai-assistant.md)
- [Get form submission](/docs/api-reference/marketing/get-form-submission.md)
- [List form submissions](/docs/api-reference/marketing/list-form-submissions.md)
- [Set up the vendor invoice portal](/docs/facility-web-pages/set-up-vendor-invoice-portal.md)
- [Go live checklist for public pages](/docs/facility-web-pages/go-live-checklist-for-public-pages.md)


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