Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Attach a feature to a product


Attach a feature to a product

POST / v1 / products /:id / features

Creates a product_feature, which represents a feature attachment to a product

Parameters

  • entitlement _ feature string Required The ID of the Feature object attached to this product.

Returns

Returns a product_feature

Response

{ "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": {} }}

Remove a feature from a product

DELETE / v1 / products /:id / features /:id

Deletes the feature attachment to a product

Parameters

No parameters.

Returns

Returns an object with a deleted parameter on success. If the product feature ID does not exist, this call raises an error.

Response

{ "id": "prodft_BcMBZUWCIOEgEc", "object": "product_feature", "deleted": true}
Last verified 2026-09-24

Is this helpful?