Bulk Update Subscription Components' Price Points
Built with APIMatic
Updates the price points on one or more of a subscription's components.
The price_point key can take either a:
"_default" string, which will reset the price point to the component's current default price point.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 Chargify id of the subscription.
application/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
curl -X POST \ --url 'https://subdomain.chargify.com/subscriptions/1/price_points.json' \ -H 'Accept: application/json' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer ACCESS_TOKEN' \ --data-raw '{ "components": [ { "component_id": 997, "price_point": 1022 }, { "component_id": 998, "price_point": "wholesale-handle" }, { "component_id": 999, "price_point": "_default" } ]}'