Unarchive Component Price Point
Unarchives a component price point.
Authorization
BasicAuth The username is a Maxio Chargify API key. The password is x.
In: header
Path Parameters
The Advanced Billing id of the component to which the price point belongs
The Advanced Billing id of the price point
Response Body
application/json
curl -X PUT "https://example.com/components/0/price_points/0/unarchive.json"{ "price_point": { "id": 79, "default": false, "name": "Wholesale", "pricing_scheme": "stairstep", "component_id": 74, "handle": "wholesale-handle", "archived_at": null, "created_at": "2017-07-05T13:44:30-04:00", "updated_at": "2017-07-05T13:44:30-04:00", "prices": [ { "id": 119, "component_id": 74, "starting_quantity": 1, "ending_quantity": 100, "unit_price": "5.0" }, { "id": 120, "component_id": 74, "starting_quantity": 101, "ending_quantity": null, "unit_price": "4.0" } ] }}Update Component Price Point PUT
Updates a component price point and its associated prices. Passing in a price bracket without an `id` will attempt to create a new price. Including an `id` will update the corresponding price, and including the `_destroy` flag set to true along with the `id` will remove that price. Note: Custom price points cannot be updated directly. They must be edited through the Subscription.
Create Currency Prices POST
Creates currency prices for a given currency defined at the site level. When creating currency prices, they need to mirror the structure of your primary pricing. For each price level defined on the component price point, there should be a matching price level created in the given currency. Note: Currency Prices are not able to be created for custom price points.