The ProductFeature object ​
Attributes ​
id(string) Unique identifier for the object.object(string) String representing the object’s type. Objects of the same type share the same value.entitlement_feature(object) The Feature object attached to this product.entitlement_feature.id(string) Unique identifier for the object.entitlement_feature.object(string) String representing the object’s type. Objects of the same type share the same value.entitlement_feature.active(boolean) Inactive features cannot be attached to new products and will not be returned from the features list endpoint.entitlement_feature.livemode(boolean) If the object exists in live mode, the value istrue. If the object exists in test mode, the value isfalse.entitlement_feature.lookup_key(string) A unique key you provide as your own system identifier. This may be up to 80 characters.entitlement_feature.metadata(object) Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.entitlement_feature.name(string) The feature’s name, for your own purpose, not meant to be displayable to the customer.The maximum length is 80 characters.
livemode(boolean) If the object exists in live mode, the value istrue. If the object exists in test mode, the value isfalse.
The ProductFeature object ​
json
{
"id": "prodft_BcMBZUWCIOEgEc",
"object": "product_feature",
"livemode": false,
"entitlement_feature": {
"id": "feat_test_61QGU1MWyFMSP9YBZ41ClCIKljWvsTgu",
"object": "entitlements.feature",
"livemode": false,
"name": "My super awesome feature",
"lookup_key": "my-super-awesome-feature",
"metadata": {}
}
}