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

# Deprecated — Update a contract

> Deprecated: contracts are being removed; there is no replacement.

Changes a contract of your organization.


## OpenAPI

````yaml /api-reference/billing.openapi.json put /realms/{realmId}/organizations/{organizationId}/contracts/{contractId}
openapi: 3.0.3
info:
  title: Billing
  version: 1.0.0
  description: >-
    Portão 3 billing API. Every endpoint requires a bearer token in the
    Authorization header (Authorization: Bearer <token>) unless its page states
    otherwise; see the Authentication guide. That requirement is not repeated
    per endpoint. Generated by tools/openapi from code (routes + security) and
    the hand-written spec (request/response bodies). Full billing surface —
    contracts, deals, invoices, statements, payment links, checkout and NFSe
    orchestration. (The product/supplier catalog moved to registry.) Confidence
    tiers: generated:typed=74 copied:manual=0 unknown=5.
servers:
  - url: https://api.billing.v2.portao3.com.br/
    description: production
  - url: https://api.billing.dev.3pers.com.br/
    description: development
security: []
tags:
  - name: Contracts
  - name: Deals
  - name: Invoices
  - name: Invoice Entries
  - name: Invoice Statements
  - name: NFSe Configuration
  - name: Payment Links
paths:
  /realms/{realmId}/organizations/{organizationId}/contracts/{contractId}:
    put:
      tags:
        - Contracts
      summary: Deprecated — Update a contract
      description: 'Deprecated: contracts are being removed; there is no replacement.'
      operationId: putRealmsByRealmIdOrganizationsByOrganizationIdContractsByContractId
      parameters:
        - name: realmId
          in: path
          required: true
          schema:
            type: string
        - name: organizationId
          in: path
          required: true
          schema:
            type: string
        - name: contractId
          in: path
          required: true
          schema:
            type: string
      responses:
        default:
          description: Undocumented response (no code type, no existing spec).

````

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