Component Features
List Component Feature Catalog Items
Lists the feature catalog items attached to this component, including price-point-specific overrides.
Authorization
BasicAuth AuthorizationBasic <token>
The username is a Maxio Chargify API key. The password is x.
In: header
Path Parameters
component_id*integer
The Advanced Billing id of the component.
Response Body
application/json
application/json
curl -X GET "https://example.com/components/0/features.json"{ "features": [ { "id": 0, "feature_template_id": 0, "feature_key": "string", "feature_name": "string", "feature_kind": "access_right", "value": "string", "periodicity_interval": 0, "periodicity_unit": "hour", "price_point_type": "ProductPricePoint", "price_point_id": 0, "archived_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "subscriptions_count": 0}Restore Product Feature Catalog Item POST
Clears the archived state of a feature catalog item attached to this product. Returns `422` if the parent feature template is still archived. Restore the feature template first.
Create Component Feature Catalog Item POST
Attaches a feature template to this component with a concrete value. Pass `price_point_type: "PricePoint"` and `price_point_id` to create an override scoped to a single component price point instead of the whole component.