Products

Read Product

GET
/products/{product_id}.json

Reads the current details of a 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

Query Parameters

include_features?boolean

When true, embeds the active feature catalog items for each result in a features array. Default value is false.

Defaultfalse

Response Body

application/json

curl -X GET "https://example.com/products/0.json"
{  "product": {    "id": 4535635,    "name": "Paid Annual Seats",    "handle": "paid-annual-seats",    "description": "Paid annual seats for our commercial enterprise product",    "accounting_code": "paid-annual-seats",    "request_credit_card": true,    "expiration_interval": 1,    "expiration_interval_unit": "day",    "created_at": "2017-08-25T10:25:31-05:00",    "updated_at": "2018-01-16T12:58:04-06:00",    "price_in_cents": 10000,    "interval": 12,    "interval_unit": "month",    "initial_charge_in_cents": 4900,    "trial_price_in_cents": 1000,    "trial_interval": 14,    "trial_interval_unit": "day",    "archived_at": null,    "require_credit_card": true,    "return_params": "id={subscription_id}&ref={customer_reference}",    "taxable": true,    "update_return_url": "http://www.example.com",    "tax_code": "D0000000",    "initial_charge_after_trial": false,    "version_number": 4,    "update_return_params": "id={subscription_id}&ref={customer_reference}",    "product_family": {      "id": 1025627,      "name": "Acme Products",      "description": "",      "handle": "acme-products",      "accounting_code": null    },    "product_price_point_name": "Default"  }}