Create Component Price Point
Built with APIMatic
Creates a price point for an existing component.
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
The Advanced Billing id of the component
application/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
curl -X POST \ --url 'https://subdomain.chargify.com/components/1/price_points.json' \ -H 'Accept: application/json' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer ACCESS_TOKEN' \ --data-raw '{ "price_point": { "name": "Wholesale", "handle": "wholesale-handle", "pricing_scheme": "stairstep", "prices": [ { "starting_quantity": "1", "ending_quantity": "100", "unit_price": "5.00" }, { "starting_quantity": "101", "ending_quantity": "200", "unit_price": "4.00" } ], "use_site_exchange_rate": false }}'