Attach a feature to a product

Changed on

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

post/v1/products/{product}/features

Request

  • Base URL: https://api.stripe.com
  • URL: https://api.stripe.com/v1/products/{product}/features
  • Auth: one of:
    • HTTP basic
    • HTTP bearer

Path parameters

productstring required

Request body application/x-www-form-urlencoded

entitlement_featurestring required

The ID of the Feature object attached to this product.

expandstring[]

Specifies which fields in the response should be expanded.

Response

Successful response.

idstring required

Unique identifier for the object.

livemodeboolean required

If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.

object'product_feature' required

String representing the object's type. Objects of the same type share the same value.

Changes

    • info

      added the optional property ////// to the response with the status

    • info

      added the optional property ////////// to the response with the status

Some revisions have not been checked yet.