Product Features

Create Product Feature Catalog Item

POST
/products/{product_id}/features.json

Attaches a feature template to this product with a concrete value. Pass price_point_type: "ProductPricePoint" and price_point_id to create an override scoped to a single product price point instead of the whole 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.

Request Body

application/json

The owning product or component is taken from the URL and must not be included in the request body.

feature*

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/products/0/features.json" \  -H "Content-Type: application/json" \  -d '{    "feature": {      "feature_template_id": 0,      "value": "string"    }  }'
{  "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"  }}