Deprecated
The Item Entitlements API is deprecated and no longer maintained. Migrate your integration to Entitlements API.
Warning
API operations listed on this page are not supported when grandfathering is enabled.
Items represent the products or services that you offer to your customers. Items often differ from each other in the product features that are available in them. An item entitlement object represents the entitlement an item has towards a feature. An item can have multiple such entitlements, each corresponding to a unique feature it is entitled to. Item entitlements can be created while creating a feature. All subscriptions containing an item also inherit its entitlements.
Sample Item entitlementJSON
API Index URL
Item entitlements attributes
The level of entitlement that the item has towards the feature. The possible values depend on the value of feature.type
:
-
When
feature.typeisquantityand: -
If
feature.levels[is_unlimited]is nottruefor any one offeature.levels[], then the value can be any one offeature.levels[value][]. -
If
feature.levels[is_unlimited]istruefor one of thefeature.levels[], then the value can also be:- any one of
feature.levels[value][] - or it can be
unlimited(case-insensitive), indicating unlimited entitlement.
- any one of
-
When
typeisrangeand: -
If
feature.levels[is_unlimited]is nottruefor any one offeature.levels[], then the value can be any whole number betweenlevels[value][0]andlevels[value][1](inclusive). -
If
feature.levels[is_unlimited]istruefor one of thefeature.levels[], then the value can be:- any whole number equal to or greater than
levels[value][0] - or it can be
unlimited(case-insensitive), indicating unlimited entitlement.
- any whole number equal to or greater than
-
When
typeiscustom, then the value can be any one offeature.levels[value][]. -
When
typeisswitch, then the value is set asavailableortrue.
The display name for the entitlement level. The default values are auto-generated based on feature.type as follows:
- When
feature.typeisquantityorrange, thennameis the space-separated concatenation ofvalueand the pluralized version offeature.unit. For example, ifvalueis20andfeature.unitisuser, thennamebecomes20 users. - When
feature.typeiscustom, thennameis the same asvalue. - When
feature.typeisswitch, thenameis set toAvailablewhenvalueistrue; it's set toNot Availablewhenvalueisfalse.