# Adds lost benefits to product marketing features for the customer portal

## What’s new

You can now set `loss_message` on each item in a Product’s [marketing_features](https://docs.stripe.com/api/products/create.md?api-version=2026-11-18.endive#create_product-marketing_features) to describe what your customer loses by canceling. Messages can be up to 80 characters. In eligible [customer portal cancellation flows](https://docs.stripe.com/customer-management/cancellation-page.md), Stripe shows the message instead of the feature’s `name`. If you don’t set `loss_message`, the flow uses `name`.

## Impact

When you update `marketing_features`, Stripe keeps the stored `loss_message` for any feature you send with the same `name` and no `loss_message`. If several features share a `name`, Stripe matches them in order. To remove a message, set `loss_message` to an empty string. If you rename a feature, Stripe treats it as a new feature, so include `loss_message` again to keep the message.

## Changes

#### REST API

| Parameter | Change | Resources or endpoints |
| --- | --- | --- |
| `loss_message` | Added | [Product#create.marketing_features[]](/api/products/create?api-version=2026-11-18.endive#create_product-marketing_features), [Product#update.marketing_features[]](/api/products/update?api-version=2026-11-18.endive#update_product-marketing_features), [Product.marketing_features[]](/api/products/object?api-version=2026-11-18.endive#product_object-marketing_features) |

#### Ruby

| Parameter | Change | Resources or methods |
| --- | --- | --- |
| `loss_message` | Added | [Product::MarketingFeature](/api/products/object?api-version=2026-11-18.endive#product_object-marketing_features), [ProductCreateParams::MarketingFeature](/api/products/create?api-version=2026-11-18.endive#create_product-marketing_features), [ProductUpdateParams::MarketingFeature](/api/products/update?api-version=2026-11-18.endive#update_product-marketing_features) |

#### Python

| Parameter | Change | Resources or methods |
| --- | --- | --- |
| `loss_message` | Added | [Product.MarketingFeature](/api/products/object?api-version=2026-11-18.endive#product_object-marketing_features), [ProductCreateParamsMarketingFeature](/api/products/create?api-version=2026-11-18.endive#create_product-marketing_features), [ProductModifyParamsMarketingFeature](/api/products/update?api-version=2026-11-18.endive#update_product-marketing_features) |

#### PHP

| Parameter | Change | Resources or methods |
| --- | --- | --- |
| `loss_message` | Added | [Product.create().$params.marketing_feature](/api/products/create?api-version=2026-11-18.endive#create_product-marketing_features), [Product.marketing_features[]](/api/products/object?api-version=2026-11-18.endive#product_object-marketing_features), [Product.update().$params.marketing_feature](/api/products/update?api-version=2026-11-18.endive#update_product-marketing_features) |

#### Java

| Parameter | Change | Resources or methods |
| --- | --- | --- |
| `lossMessage` | Added | [Product.marketing_features[]](/api/products/object?api-version=2026-11-18.endive#product_object-marketing_features), [ProductCreateParams.marketing_features[]](/api/products/create?api-version=2026-11-18.endive#create_product-marketing_features), [ProductUpdateParams.marketing_features[]](/api/products/update?api-version=2026-11-18.endive#update_product-marketing_features) |

#### Node.js

| Parameter | Change | Resources or methods |
| --- | --- | --- |
| `loss_message` | Added | [Product.marketing_features[]](/api/products/object?api-version=2026-11-18.endive#product_object-marketing_features), [ProductCreateParams.marketing_features[]](/api/products/create?api-version=2026-11-18.endive#create_product-marketing_features), [ProductUpdateParams.marketing_features[]](/api/products/update?api-version=2026-11-18.endive#update_product-marketing_features) |

#### Go

| Parameter | Change | Resources or methods |
| --- | --- | --- |
| `LossMessage` | Added | [ProductMarketingFeature](/api/products/object?api-version=2026-11-18.endive#product_object-marketing_features), [ProductMarketingFeatureParams](/api/products/create?api-version=2026-11-18.endive#create_product-marketing_features), [ProductMarketingFeaturesParams](/api/products/update?api-version=2026-11-18.endive#update_product-marketing_features) |

#### .NET

| Parameter | Change | Resources or methods |
| --- | --- | --- |
| `LossMessage` | Added | [Product.MarketingFeature](/api/products/object?api-version=2026-11-18.endive#product_object-marketing_features), [ProductMarketingFeatureOptions](/api/products/create?api-version=2026-11-18.endive#create_product-marketing_features), [ProductMarketingFeaturesOptions](/api/products/update?api-version=2026-11-18.endive#update_product-marketing_features) |

## Upgrade

#### REST API

1. [View your current API version](https://docs.stripe.com/workbench/guides.md#view-api-versions) in Workbench.
2. If you use an SDK, upgrade to the corresponding SDK version for this API version.
   - If you don’t use an SDK, update your [API requests](https://docs.stripe.com/api-versions.md#how-versions-are-specified-in-requests) to include `Stripe-Version: 2026-11-18.endive`
3. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md).
4. [Test your integration](https://docs.stripe.com/testing.md) against the new version.
5. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md).

Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md).

#### Ruby

1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench.
2. Upgrade your Ruby SDK to [v21.1.0](https://github.com/stripe/stripe-ruby/releases/tag/v21.1.0)
3. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md).
4. [Test your integration](https://docs.stripe.com/testing.md) against the new version.
5. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md).
6. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours.

Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md).

#### Python

1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench.
2. Upgrade your Python SDK to [v17.1.0](https://github.com/stripe/stripe-python/releases/tag/v17.1.0)
3. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md).
4. [Test your integration](https://docs.stripe.com/testing.md) against the new version.
5. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md).
6. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours.

Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md).

#### PHP

1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench.
2. Upgrade your PHP SDK to [v23.1.0](https://github.com/stripe/stripe-php/releases/tag/v23.1.0)
3. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md).
4. [Test your integration](https://docs.stripe.com/testing.md) against the new version.
5. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md).
6. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours.

Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md).

#### Java

1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench.
2. Upgrade your Java SDK to [v34.2.0](https://github.com/stripe/stripe-java/releases/tag/v34.2.0)
3. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md).
4. [Test your integration](https://docs.stripe.com/testing.md) against the new version.
5. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md).
6. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours.

Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md).

#### Node.js

1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench.
2. Upgrade your Node SDK to [v23.2.0](https://github.com/stripe/stripe-node/releases/tag/v23.2.0)
3. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md).
4. [Test your integration](https://docs.stripe.com/testing.md) against the new version.
5. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md).
6. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours.

Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md).

#### Go

1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench.
2. Upgrade your Go SDK to [v87.2.0](https://github.com/stripe/stripe-go/releases/tag/v87.2.0)
3. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md).
4. [Test your integration](https://docs.stripe.com/testing.md) against the new version.
5. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md).
6. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours.

Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md).

#### .NET

1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench.
2. Upgrade your .NET SDK to [v53.2.0](https://github.com/stripe/stripe-dotnet/releases/tag/v53.2.0)
3. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md).
4. [Test your integration](https://docs.stripe.com/testing.md) against the new version.
5. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md).
6. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours.

Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md).
