Creates a product in your Advanced Billing 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.
See the following product documentation for more information:
The username is a Maxio Chargify API key and the password is x. Basic authentication works only with the US and EU environments, which connect to chargify.com directly. The Maxio API Gateway environment does not accept Basic authentication.
In: header
Either the product family's id or its handle prefixed with handle:
application/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
curl -X POST \ --url 'https://subdomain.chargify.com/product_families/PRODUCT_FAMILY_ID/products.json' \ -H 'Accept: application/json' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer ACCESS_TOKEN' \ --data-raw '{ "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" }}'