# portal\_subscription\_update

From **Stripe API**.

- Type: `object`

## Properties

### `default_allowed_updates`

- Required: true
- Type: `array`

The types of subscription updates that are supported for items listed in the `products` attribute. When empty, subscriptions are not updateable.

### `enabled`

- Required: true
- Type: `boolean`

Whether the feature is enabled.

### `products`

- Required: false
- Type: `array`
- Nullable: true

The list of products that support subscription updates.

### `proration_behavior`

- Required: true
- Type: `string`
- Allowed values: `"always_invoice"`, `"create_prorations"`, `"none"`

Determines how to handle prorations resulting from subscription updates. Valid values are `none`, `create_prorations`, and `always_invoice`.

## JSON Schema

```json
{"properties":{"default_allowed_updates":{"description":"The types of subscription updates that are supported for items listed in the `products` attribute. When empty, subscriptions are not updateable.","items":{"enum":["price","promotion_code","quantity"],"type":"string"},"type":"array"},"enabled":{"description":"Whether the feature is enabled.","type":"boolean"},"products":{"description":"The list of products that support subscription updates.","items":{"$ref":"#/components/schemas/portal_subscription_update_product"},"nullable":true,"type":"array"},"proration_behavior":{"description":"Determines how to handle prorations resulting from subscription updates. Valid values are `none`, `create_prorations`, and `always_invoice`.","enum":["always_invoice","create_prorations","none"],"type":"string"}},"required":["default_allowed_updates","enabled","proration_behavior"],"title":"PortalSubscriptionUpdate","type":"object","x-expandableFields":["products"]}
```
