Feature Templates

Read Feature Template

GET
/features/{id}.json

Returns a single feature template. Archived feature templates are not addressable here and return 404. Restore a template first to read or update it.

Authorization

BasicAuth
AuthorizationBasic <token>

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

In: header

Path Parameters

id*integer

The Advanced Billing id of the feature template.

Response Body

application/json

application/json

curl -X GET "https://example.com/features/0.json"
{  "feature": {    "id": 0,    "key": "string",    "name": "string",    "description": "string",    "kind": "access_right",    "unit": "string",    "value_type": "text",    "default_value": "string",    "default_periodicity_interval": 0,    "default_periodicity_unit": "hour",    "archived_at": "2019-08-24T14:15:22Z",    "created_at": "2019-08-24T14:15:22Z",    "updated_at": "2019-08-24T14:15:22Z",    "products_count": 0,    "plans_count": 0  }}