> ## 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

> The custom_offer object contains information about whether a course, module, or lesson can be purchased inside the members area.

## Properties

<ParamField path="enabled" type="boolean" default="false">
  Whether a custom offer is enabled for the course, module, or lesson.
</ParamField>

<ParamField path="external_link" type="string">
  External link related to the custom offer.
</ParamField>

## Scope

It's accessible through a course, a module or a lesson.

<Frame>
  <div class="mermaid--large">
    ```mermaid theme={null}
    graph TD
        A[Global Context] --> 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="Example">
      <CodeGroup>
        ```json Purchasable theme={null}
        {
          "enabled": true,
          "external_link": ""
        }
        ```

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

        ```json Not purchasable theme={null}
        {
          "enabled": false,
          "external_link": "anything"
        }
        ```
      </CodeGroup>
    </Tab>
  </Tabs>
</Panel>
