Component: Price Points

Unarchive Component Price Point

PUT
/components/{component_id}/price_points/{price_point_id}/unarchive.json

Unarchives a component price point.

Authorization

BasicAuth
AuthorizationBasic <token>

The username is a Maxio Chargify API key. The password is x.

In: header

Path Parameters

component_id*integer

The Advanced Billing id of the component to which the price point belongs

price_point_id*integer

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"      }    ]  }}