Product Features

Update Product Feature Catalog Item

PUT
/products/{product_id}/features/{id}.json

Updates the value or periodicity of a feature catalog item attached to this product.

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.

Request Body

application/json

feature*

Response Body

application/json

application/json

application/json

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