Bulk Create Product Price Points
Creates multiple product price points in one request.
Authorization
BasicAuth The username is a Maxio Chargify API key. The password is x.
In: header
Path Parameters
The Advanced Billing id of the product to which the price points belong
Request Body
application/json
Response Body
application/json
application/json
curl -X POST "https://example.com/products/0/price_points/bulk.json" \ -H "Content-Type: application/json" \ -d '{ "price_points": [ { "name": "Educational", "handle": "educational", "price_in_cents": 1000, "interval": 1, "interval_unit": "month", "trial_price_in_cents": 4900, "trial_interval": 1, "trial_interval_unit": "month", "trial_type": "payment_expected", "initial_charge_in_cents": 120000, "initial_charge_after_trial": false, "expiration_interval": 12, "expiration_interval_unit": "month" }, { "name": "More Educational", "handle": "more-educational", "price_in_cents": 2000, "interval": 1, "interval_unit": "month", "trial_price_in_cents": 4900, "trial_interval": 1, "trial_interval_unit": "month", "trial_type": "payment_expected", "initial_charge_in_cents": 120000, "initial_charge_after_trial": false, "expiration_interval": 12, "expiration_interval_unit": "month" } ] }'{ "price_points": [ { "id": 283, "name": "Educational", "handle": "educational", "price_in_cents": 1000, "interval": 1, "interval_unit": "month", "trial_price_in_cents": 4900, "trial_interval": 1, "trial_interval_unit": "month", "trial_type": "payment_expected", "initial_charge_in_cents": 120000, "initial_charge_after_trial": false, "expiration_interval": 12, "expiration_interval_unit": "month", "product_id": 901, "archived_at": "2023-11-30T06:37:20-05:00", "created_at": "2023-11-27T06:37:20-05:00", "updated_at": "2023-11-27T06:37:20-05:00" } ]}Promote Product Price Point to Default PATCH
Sets a product price point as the default for the product. Note: Custom product price points cannot be set as the default for a product.
Create Product Currency Prices POST
Creates currency prices for a given currency that has been defined on the site level in your settings. When creating currency prices, they need to mirror the structure of your primary pricing. If the product price point defines a trial and/or setup fee, each currency must also define a trial and/or setup fee. Note: Currency Prices are not able to be created for custom product price points.