If you're a company that sells multiple product lines then each product line or service is an item family in the Chargebee API. For example, if you are a SaaS company that offers separate products for project management, content collaboration, and customer support. Each of those can be an item family under which the various plans, addons and charges can be the items. Item families compartmentalize items such that only items belonging to the same family can be part of any given subscription.
Note:
You must have the Product Families enabled for your site to be able to set up item families.
{
"description": "Acme Inc Family",
"id": "acme-inc",
"name": "Acme Inc Family",
"resource_version": 1576400459324,
"updated_at": 1576400459
}item_family. This is applicable only when multiple business entities have been created for the site. The value of this attribute indicates that the resource is specific to the given business entity.
This endpoint creates an item family for your product line or service.
item_family. This is applicable only when multiple business entities have been created for the site. When provided, the operation will read or write data associated with the specified business entity. If not provided, the resource will be created at the site level, and the business_entity_id will not be included in the API response. An alternative way of passing this parameter is by means of a custom HTTP header.
This endpoint retrieves an item family based on the item family id.
Returns a list of item families satisfying all the conditions specified in the filter parameters below. The list is sorted by date of creation, in descending order.
item_family. Learn more about all the scenarios before using this filter.
Default value is true . To exclude site-level resources in specific cases, set this parameter to false.
This endpoint updates the name and/or description of the item family.
Deletes an item family, marking its status
as deleted
. This is not allowed if there are active
items under the item family. Once deleted, the id
and name
of the item family can be reused to create a new item family.