Product Features

Restore Product Feature Catalog Item

POST
/products/{product_id}/features/{id}/restore.json

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.

Authorization

BasicAuth
AuthorizationBasic <token>

The username is a Maxio Chargify API key. The password is x.

In: header

Path Parameters

product_id*integer

The Advanced Billing id of the product.

id*integer

The Advanced Billing id of the feature catalog item.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/products/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"  }}