Restore Component Feature Catalog Item
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.
Authorization
BasicAuth The username is a Maxio Chargify API key. The password is x.
In: header
Path Parameters
The Advanced Billing id of the component.
The Advanced Billing id of the feature catalog item.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/components/0/features/0/restore.json"{ "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" }}Update Component Feature Catalog Item PUT
Updates the value or periodicity of a feature catalog item attached to this component.
Read Subscription Entitlements GET
Returns every feature a subscription is entitled to, collapsed into one entry per feature key and periodicity window across all products and components on the subscription. A `usage_limit` feature granted with two different periodicities comes back as two entries sharing one `feature_key`, each identified by its own `periodicity_key`. When more than one product or component grants the same feature key and periodicity, the values are combined: - **`access_right`** features are combined with a boolean OR. If any contributor grants access, the aggregate is `true`. `source_products` only lists the contributors that granted `true`. - **`usage_limit`** features are summed across every contributor sharing the same periodicity window. `source_products` lists every contributor. Grants with different periodicities are not summed together. Each periodicity is returned as a separate entry. - **`service_right`** features are not combined: one contributor's value wins. Do not rely on which one when several grant the same feature key. `enabled` reflects both the aggregated value and the subscription's state. The field is `false` whenever the subscription is not in a live state (`active`, `trialing`, `assessing`, `past_due`, `soft_failure`), regardless of the aggregated value. Entitlements deliberately stay enabled through dunning.