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

# Save staging or production form values for a funder integration

> Creates or updates the Integration record for the broker's BrokerFunder link. Production saves are gated by a successful staging test within the last 30 days (skipped for funders without a staging environment).




## OpenAPI

````yaml https://app.herondata.io/swagger put /api/funder_integrations/{funder_heron_id}/
openapi: 3.0.0
info:
  contact:
    email: support@herondata.io
    name: Support
  title: Heron Data API
  version: '2021-07-19'
servers:
  - description: Production
    url: https://app.herondata.io
security:
  - ApiKeyAuth:
      - key_XXX
externalDocs:
  description: Read Tutorial
  url: https://docs.herondata.io/
paths:
  /api/funder_integrations/{funder_heron_id}/:
    put:
      summary: Save staging or production form values for a funder integration
      description: >
        Creates or updates the Integration record for the broker's BrokerFunder
        link. Production saves are gated by a successful staging test within the
        last 30 days (skipped for funders without a staging environment).
      parameters:
        - in: path
          name: funder_heron_id
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SaveFunderIntegrationRequestSchema'
        required: true
      responses:
        '200':
          description: Integration saved
        '400':
          description: Invalid input (missing fields, unsupported funder, promotion gate)
        '404':
          description: Funder not linked to current broker
      security:
        - ApiKeyAuth: []
components:
  schemas:
    SaveFunderIntegrationRequestSchema:
      properties:
        environment:
          enum:
            - staging
            - production
        form_values:
          additionalProperties:
            type: string
          type: object
      required:
        - environment
        - form_values
      type: object
  securitySchemes:
    ApiKeyAuth:
      in: header
      name: x-api-key
      type: apiKey

````