Bulk Create Component Price Points
Built with APIMatic
Creates multiple component price points in one request.
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 for which you want to fetch price points.
application/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
curl -X POST \ --url 'https://subdomain.chargify.com/components/COMPONENT_ID/price_points/bulk.json' \ -H 'Accept: application/json' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer ACCESS_TOKEN' \ --data-raw '{ "price_points": [ { "name": "Wholesale", "handle": "wholesale", "pricing_scheme": "per_unit", "prices": [ { "starting_quantity": 1, "unit_price": 5 } ] }, { "name": "MSRP", "handle": "msrp", "pricing_scheme": "per_unit", "prices": [ { "starting_quantity": 1, "unit_price": 4 } ] }, { "name": "Special Pricing", "handle": "special", "pricing_scheme": "per_unit", "prices": [ { "starting_quantity": 1, "unit_price": 5 } ] } ]}'