Component Features
Update Component Feature Catalog Item
Updates the value or periodicity of a feature catalog item attached to this component.
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.
id*integer
The Advanced Billing id of the feature catalog item.
Request Body
application/json
feature*
Response Body
application/json
application/json
application/json
curl -X PUT "https://example.com/components/0/features/0.json" \ -H "Content-Type: application/json" \ -d '{ "feature": {} }'{ "feature": { "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" }}Remove Component Feature Catalog Item DELETE
Removes a feature catalog item from this component.
Restore Component Feature Catalog Item POST
Clears the archived state of a feature catalog item attached to this component. Returns `422` if the parent feature template is still archived. Restore the feature template first.