Product Features
A product_feature represents an attachment between a feature and a product. When a product is purchased that has a feature attached, Stripe will create an entitlement to the feature for the purchasing customer.
Was this section helpful? Yes No
List all features attached to a product
GET / v1 / products /:id / features
Attach a feature to a product
POST / v1 / products /:id / features
Remove a feature from a product
DELETE / v1 / products /:id / features /:id
The ProductFeature object
Attributes
- id string Unique identifier for the object.
- entitlement _ feature object The Feature object attached to this product.
More attributes
- object string, value is "product_feature"
- livemode boolean
The ProductFeature object
{ "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": {} }}
List all features attached to a product
GET / v1 / products /:id / features
Retrieve a list of features for a product
Parameters
No parameters.
More parameters
- ending _ before string
- limit integer
- starting _ after string
Returns
Returns a list of features for a product
Response
