Products
Create Product
Creates a product in your site.
If you have the new Catalog experience enabled, the auto_create_signup_page parameter is not supported. If auto_create_signup_page is included (with any value) an error is returned.
For more information, see:
Authorization
BasicAuth AuthorizationBasic <token>
The username is a Maxio Chargify API key. The password is x.
In: header
Path Parameters
product_family_id*string
Either the product family's id or its handle prefixed with handle:
Request Body
application/json
product*
Response Body
application/json
application/json
curl -X POST "https://example.com/product_families/string/products.json" \ -H "Content-Type: application/json" \ -d '{ "product": { "name": "Gold Plan", "handle": "gold", "description": "This is our gold plan.", "accounting_code": "123", "require_credit_card": true, "price_in_cents": 1000, "interval": 1, "interval_unit": "month", "auto_create_signup_page": true, "tax_code": "D0000000" } }'{ "product": { "id": 4364984, "name": "Gold Plan", "handle": "gold", "description": "This is our gold plan.", "accounting_code": "123", "request_credit_card": true, "created_at": "2016-11-04T16:31:15-04:00", "updated_at": "2016-11-04T16:31:15-04:00", "price_in_cents": 1000, "interval": 1, "interval_unit": "month", "expiration_interval_unit": null, "initial_charge_in_cents": null, "trial_price_in_cents": null, "trial_interval": null, "trial_interval_unit": null, "archived_at": null, "require_credit_card": true, "return_params": null, "taxable": false, "update_return_url": null, "initial_charge_after_trial": false, "version_number": 1, "update_return_params": null, "product_family": { "id": 527890, "name": "Acme Projects", "description": "", "handle": "billing-plans", "accounting_code": null }, "public_signup_pages": [ { "id": 301078, "return_url": null, "return_params": null, "url": "https://general-goods.chargify.com/subscribe/ftgbpq7f5qpr/gold" } ], "product_price_point_name": "Default" }}