Bulk Update Subscription Components' Price Points
Updates the price points on one or more of a subscription's components.
The price_point key can take either a:
- Price point id (integer)
- Price point handle (string)
"_default"string, which will reset the price point to the component's current default price point.
Authorization
BasicAuth The username is a Maxio Chargify API key. The password is x.
In: header
Path Parameters
The Chargify id of the subscription.
Request Body
application/json
Response Body
application/json
application/json
curl -X POST "https://example.com/subscriptions/0/price_points.json" \ -H "Content-Type: application/json" \ -d '{ "components": [ { "component_id": 997, "price_point": 1022 }, { "component_id": 998, "price_point": "wholesale-handle" }, { "component_id": 999, "price_point": "_default" } ] }'{ "components": [ { "component_id": 123, "price_point": 456 }, { "component_id": 789, "price_point": 987 } ]}List Subscription Components GET
Lists a subscription's applied components. ## Archived Components When requesting to list components for a given subscription, if the subscription contains **archived** components they will be listed in the server response.
Bulk Reset Subscription Components' Price Points POST
Resets all of a subscription's components to use the current default. **Note**: this will update the price point for all of the subscription's components, even ones that have not been allocated yet.