Components

Archive Component

DELETE
/product_families/{product_family_id}/components/{component_id}.json

Archives the component; all current subscribers will continue to be charged as usual.

Authorization

BasicAuth
AuthorizationBasic <token>

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

In: header

Path Parameters

product_family_id*integer

The Advanced Billing id of the product family to which the component belongs

component_id*string

Either the Advanced Billing id of the component or the handle for the component prefixed with handle:

Match/\A(?:\d+|handle:(?:uuid:|[a-z])(?:\w|-)+)\z/

Response Body

application/json

application/json

curl -X DELETE "https://example.com/product_families/0/components/string.json"
{  "id": 25407138,  "name": "cillum aute",  "pricing_scheme": "stairstep",  "unit_name": "nulla in",  "unit_price": "Excepteur veniam",  "product_family_id": -56705047,  "kind": "prepaid_usage_component",  "archived": true,  "taxable": false,  "description": "reprehenderit laborum qui fugiat",  "default_price_point_id": -64328176,  "price_point_count": 15252407,  "price_points_url": "dolor mollit consequat",  "tax_code": "ea nisi",  "recurring": false,  "created_at": "2016-11-08T16:22:26-05:00",  "default_price_point_name": "cupidatat Lorem non aliqua",  "product_family_name": "do elit",  "hide_date_range_on_invoice": false}