> For the complete documentation index, see [llms.txt](https://docs.2checkout.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.2checkout.com/soap-api-reference/soap-api-6.0/api-responses/subscription-churn-prevention-campaigns.md).

# Subscription churn prevention campaigns

The object below is returned directly or within a successful response from the following API requests:

<a href="/pages/179ad0b6a545e795d051e66257d9197b22cd2583" class="button primary" data-icon="folder-check">Retrieve eligible churn prevention campaigns</a>

<table><thead><tr><th width="391.066650390625">Parameter</th><th>Type / Description</th></tr></thead><tbody><tr><td><code>AvailableCancellationReasons</code></td><td><strong>Object with dynamic properties</strong> (as reasons number can change in time)</td></tr><tr><td><code>AvailableCancellationReasons.REASON_CODE_1</code></td><td><strong>Required (string)</strong></td></tr><tr><td><code>AvailableCancellationReasons.REASON_CODE_3</code></td><td><strong>Required (string)</strong></td></tr><tr><td><code>AvailableCancellationReasons.REASON_CODE_5</code></td><td><strong>Required (string)</strong></td></tr><tr><td><code>AvailableCancellationReasons.REASON_CODE_6</code></td><td><strong>Required (string)</strong></td></tr><tr><td><code>AvailableCancellationReasons.REASON_CODE_7</code></td><td><strong>Required (string)</strong></td></tr><tr><td><code>AvailableCancellationReasons.REASON_CODE_9</code></td><td><strong>Required (string)</strong></td></tr><tr><td><code>Campaigns</code></td><td><strong>Array of objects</strong></td></tr><tr><td><code>Campaigns.Code</code></td><td><p><strong>String</strong></p><p>Unique, system-generated campaign identifier.</p></td></tr><tr><td><code>Campaigns.Name</code></td><td><p><strong>String</strong></p><p>Name of the campaign.</p></td></tr><tr><td><code>Campaigns.DefaultMessage</code></td><td><p><strong>String</strong></p><p>Default message of the campaign displayed to shoppers.</p></td></tr><tr><td><code>Campaigns.CancellationReasonRequired</code></td><td><p><strong>Boolean</strong></p><p>Indicates whether shoppers must provide a cancellation reason; used to decide if you allow shoppers to pause subscription.</p></td></tr><tr><td><code>Campaigns.OfferDiscount</code></td><td><strong>Object</strong></td></tr><tr><td><code>Campaigns.OfferDiscount.Message</code></td><td><p><strong>String</strong></p><p>Discount message.</p></td></tr><tr><td><code>Campaigns.OfferDiscount.Discount</code></td><td><p><strong>String</strong></p><p>Discount value (decimal number).</p></td></tr><tr><td><code>Campaigns.OfferDiscount.BillingCycles</code></td><td><p><strong>String</strong></p><p>Number of billing cycles.</p></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.2checkout.com/soap-api-reference/soap-api-6.0/api-responses/subscription-churn-prevention-campaigns.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
