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

> ## Agent Instructions
> For new direct REST integrations, use the v2026-04 surfaces. The @fluid-app FairShare SDK continues to use its own published public-v2025-06 contract.
> Authenticate with the header Authorization: Bearer <token>; public storefront read endpoints require no auth.
> Lists use cursor pagination via the page[cursor] and page[limit] query params; follow meta.pagination.next_cursor until it is null.
> Never use /api/company/v1 or /api/v1 paths, page/per_page params, or offset pagination — they are legacy.
> The OpenAPI specs under api-reference/ are the authoritative contracts; prefer them over prose when in doubt. api-reference/storefront-v2026-04.yaml covers the v2026-04 storefront surface (/api/v202604/... paths); api-reference/auth-v0.yaml covers the unversioned auth surface (/api/... paths — authentication, MFA, social auth, and token exchange); api-reference/checkout-v2026-04.yaml covers the v2026-04 checkout surface (/api/checkout/v2026-04/... paths — carts, cart auth, discounts, items, subscriptions, orders, enrollments, and store config); api-reference/public-v2025-06.yaml covers the Public SDK surface used by the @fluid-app FairShare SDK, including its parallel cart lifecycle, browser integrations, versioned payment callbacks, unversioned public utilities, and the cart price-override operation; api-reference/payment-v2026-04.yaml covers the v2026-04 payment gateway admin surface (/api/payment/v2026-04/... paths, bearer-authenticated — gateway CRUD, gateway purchase/authorize/$0-verify, transaction list/show and capture/void/credit, and merchant payment configuration); api-reference/payments-v2026-04.yaml covers the v2026-04 cart payment surface (/api/payments/v2026-04/carts/{cart_token}/... paths, authenticated by the cart token in the path with no bearer — payment-method selection, VGS card tokenization, 3D Secure verification, and PayPal/Braintree/Klarna/Apple Pay flows); api-reference/commerce-v2026-04.yaml covers the v2026-04 commerce order-editing surface (/api/v202604/orders/{order_id}/edits paths, bearer-authenticated — post-checkout order edits that atomically insert items and add adjustments/discounts, with an optional dry-run preview); api-reference/webhooks-v0.yaml covers the unversioned webhooks surface (/api/... paths — webhook registration, delivery payloads, callback registrations, company events, and webhook/callback schemas).
> Successful responses wrap the resource payload alongside a top-level integer status and a meta object.

# Update a callback registration

> Updates a callback registration's `url`, `active`, and `country_codes`;
`definition_name` is fixed at creation. Returns `200` with the updated
registration, `404` when the uuid is unknown, and `422` when the body fails
validation. Requires a company Bearer token (`401` otherwise).




## OpenAPI

````yaml /api-reference/webhooks-v0.yaml put /api/callback/registrations/{uuid}
openapi: 3.1.0
info:
  title: Fluid Webhooks API
  description: >-
    Webhook subscriptions, callback registrations, webhook/callback schemas, and
    company events.
  version: v0
  contact:
    email: support@fluid.app
  license:
    name: Proprietary
    identifier: LicenseRef-Proprietary
servers:
  - url: https://api.fluid.app
  - url: https://{company}.fluid.app
    description: Production server with company subdomain
    variables:
      company:
        default: myco
        description: Company subdomain
security: []
tags:
  - name: webhooks
    description: >-
      Webhook subscriptions — create, list, update, delete, and inspect the most
      recent delivered event per resource.
  - name: webhooks-resources
    description: The catalog of resources (and their events) a webhook may subscribe to.
  - name: webhook-schemas
    description: >-
      Published JSON payload schemas for webhook events, keyed by event
      identifier.
  - name: callback-registrations
    description: >-
      Synchronous callback registrations that let a company or droplet respond
      to Fluid callbacks (e.g. tax, shipping).
  - name: callback-definitions
    description: The catalog of callback definitions a registration can target.
  - name: callback-schemas
    description: Request/response schemas for each callback definition.
  - name: company-events
    description: >-
      Company calendar events surfaced to members, with optional country-scoped
      notifications.
paths:
  /api/callback/registrations/{uuid}:
    put:
      tags:
        - callback-registrations
      summary: Update a callback registration
      description: >
        Updates a callback registration's `url`, `active`, and `country_codes`;

        `definition_name` is fixed at creation. Returns `200` with the updated

        registration, `404` when the uuid is unknown, and `422` when the body
        fails

        validation. Requires a company Bearer token (`401` otherwise).
      operationId: webhooks_v0_update_callback_registration
      parameters:
        - name: uuid
          in: path
          required: true
          description: >
            The callback registration's `uuid` — its immutable identifier,
            assigned at

            creation.
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                callback_registration:
                  type: object
                  properties:
                    url:
                      type: string
                    active:
                      type: boolean
                    country_codes:
                      type: array
                      description: ISO country codes the callback applies to.
                      items:
                        type: string
      responses:
        '200':
          description: Registration updated
          content:
            application/json:
              schema:
                type: object
                required:
                  - callback_registration
                properties:
                  callback_registration:
                    $ref: '#/components/schemas/CallbackRegistrationSummary'
                  meta:
                    $ref: '#/components/schemas/Meta'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Unprocessable entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearer_auth: []
components:
  schemas:
    CallbackRegistrationSummary:
      description: Callback registration
      type: object
      properties:
        uuid:
          type: string
          description: >
            Immutable identifier of the registration, assigned at create. Used
            to

            address it on the `/api/callback/registrations/{uuid}` endpoints.
        company_id:
          type: integer
          description: Id of the company that owns the registration.
        company_name:
          type:
            - string
            - 'null'
          description: Display name of the owning company, or `null`.
        definition_name:
          type: string
          description: >
            The callback definition this registration targets (e.g. a tax or
            shipping

            callback). Fixed at create.
        url:
          type: string
          description: Endpoint Fluid calls synchronously for this callback.
        verification_token:
          type:
            - string
            - 'null'
          description: >
            Token used to verify that a call to `url` originated from Fluid, or
            `null`

            when none is set.
        active:
          type: boolean
          description: Whether the registration is enabled.
        country_codes:
          type: array
          description: >
            ISO country codes the callback applies to; empty when it applies to
            all

            countries.
          items:
            type: string
        created_at:
          type: string
          format: date-time
          description: Timestamp when the registration was created (ISO 8601).
        owner_type:
          type:
            - string
            - 'null'
          description: >
            Type of the record that owns the registration (e.g. a company or
            droplet

            installation), or `null`.
        owner_id:
          type:
            - integer
            - 'null'
          description: Id of the owning record, or `null`.
        owner_name:
          type:
            - string
            - 'null'
          description: Display name of the owner, or `null`.
    Meta:
      type: object
      properties:
        request_id:
          type:
            - string
            - 'null'
        timestamp:
          type: string
          format: date-time
    UnauthorizedResponse:
      type: object
      properties:
        message:
          type: string
      required:
        - message
    ErrorResponse:
      type: object
      required:
        - error_message
        - errors
        - meta
      properties:
        error_message:
          type: string
        errors:
          $ref: '#/components/schemas/ErrorBag'
        meta:
          $ref: '#/components/schemas/Meta'
    ErrorBag:
      description: >-
        Validation errors keyed by field, a list of errors, a single error
        message, or null when no structured error details are available.
      anyOf:
        - type: string
        - type: array
          items:
            $ref: '#/components/schemas/ErrorValue'
        - type: object
          additionalProperties:
            $ref: '#/components/schemas/ErrorValue'
        - type: 'null'
    ErrorValue:
      description: A validation or API error value.
      anyOf:
        - type: string
        - type: array
          items:
            type: string
        - type: object
          additionalProperties:
            $ref: '#/components/schemas/JsonValue'
    JsonValue:
      description: >-
        Any valid JSON value for provider, integration, theme, metadata, or
        other dynamic payloads whose keys are not fixed by the API contract.
      anyOf:
        - type: string
        - type: number
        - type: boolean
        - type: 'null'
        - type: array
          items:
            $ref: '#/components/schemas/JsonValue'
        - type: object
          additionalProperties:
            $ref: '#/components/schemas/JsonValue'
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer
      description: Bearer token authentication

````