Updates an item with the changes specified. Unspecified item parameters are not modified.
Sample Request
Sample Result[JSON]
URL Format
Input Parameters
Description of the item. This is visible only in Chargebee and not to customers.
Note:
- The description field supports up to 2000 characters, including HTML tags. The inner text (excluding HTML tags) must not exceed 500 characters.
For example:
- testing - desc.
Total with tags: 38 characters,
inner text: 'testing desc' (12 characters). - If your input includes characters requiring sanitization, such as incomplete HTML tags, the sanitization process may alter the input and increase its length. If the sanitized content exceeds the allowed limit, the request will be rejected.
The id
of the Item family
that the item belongs to. Is mandatory when Product Families
have been enabled.
Allow customers to change their subscription to this plan via the Self-Serve Portal. Applies only for plan-items. This requires the Portal configuration to allow changing subscriptions .
Indicates which addon-items and charge-items can be applied to the item. Only possible for plan-items. Other details of attaching items such as whether to attach as a mandatory item or to attach on a certain event, can be specified using the Create or Update an attached item API.
all addon-items and charge-items are applicable to this plan-item.
only the addon-items or charge-items provided in applicable_items
can be applied to this plan-item.
The list of ids of addon-items and charge-items that can be applied to the plan-item. This parameter can be provided only for plan-items and that too when item_applicability is restricted. Other details of attaching items can be specified using the Create or Update an attached item API.
The unit of measure for a quantity-based item. This is displayed on the Chargebee UI and on customer facing documents/pages. The latter includes hosted pages , invoices and quotes. Examples follow:
- "user" for a cloud-collaboration platform.
- "GB" for a data service.
- "issue" for a magazine.
A collection of key-value pairs that provides extra information about the item. Learn more .
The item is included in MRR calculations for your site. This attribute is only applicable for items of type = charge
and when the feature is enabled in Chargebee. Note: If the site-level setting is to exclude charge-items from MRR calculations, this value is always returned false
.