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

# custom_offer

> O objeto custom_offer contém informações sobre se um curso, módulo ou aula pode ser comprado dentro da área de membros.

## Propriedades

<ParamField path="enabled" type="boolean" default="false">
  Se uma oferta personalizada está habilitada para o curso, módulo ou aula.
</ParamField>

<ParamField path="external_link" type="string">
  Link externo relacionado à oferta personalizada.
</ParamField>

## Escopo

É acessível através de um curso, um módulo ou uma aula.

<Frame>
  <div class="mermaid--large">
    ```mermaid theme={null}
    graph TD
        A[Contexto Global] --> B[all_courses]
        A --> C[all_courses_values]
        A --> D[all_modules]
        A --> E[all_lessons]
        B --> F[course]
        C --> F
        D --> G[module]
        E --> H[lesson]
        F --> I[custom_offer]
        G --> I
        H --> I
        classDef globalValue fill:#4B96FF,stroke:#333,stroke-width:1px,color:white,font-weight:bold;
        classDef property fill:#FFFFFF,stroke:#333,stroke-width:1px,color:#666;
        style A fill:#f9f9f9,stroke:#333,stroke-width:2px,color:#333,stroke-dasharray: 5 5
        class B,C,D,E globalValue
        class F,G,H,I property
        linkStyle 0,1,2,3 stroke:#4B96FF,stroke-width:2px
    ```
  </div>
</Frame>

<Panel>
  <Tabs>
    <Tab title="Exemplo">
      <CodeGroup>
        ```json Comprável theme={null}
        {
          "enabled": true,
          "external_link": ""
        }
        ```

        ```json Com link externo theme={null}
        {
          "enabled": true,
          "external_link": "https://buy.me/course_123456"
        }
        ```

        ```json Não comprável theme={null}
        {
          "enabled": false,
          "external_link": "anything"
        }
        ```
      </CodeGroup>
    </Tab>
  </Tabs>
</Panel>
