Subscription Renewals

Unpublish Scheduled Renewal

PUT
/subscriptions/{subscription_id}/scheduled_renewals/{id}/unpublish.json

Restores a scheduled renewal configuration to an editable state.

Authorization

BasicAuth
AuthorizationBasic <token>

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

In: header

Path Parameters

subscription_id*integer

The Chargify id of the subscription.

id*integer

The renewal id.

Response Body

application/json

application/json

curl -X PUT "https://example.com/subscriptions/0/scheduled_renewals/0/unpublish.json"
{  "scheduled_renewal_configuration": {    "id": 987,    "site_id": 321,    "subscription_id": 12345,    "starts_at": "2025-12-01T00:00:00Z",    "ends_at": "2026-12-01T00:00:00Z",    "lock_in_at": "2025-11-15T00:00:00Z",    "created_at": "2025-09-01T12:00:00Z",    "status": "draft",    "scheduled_renewal_configuration_items": [      {        "id": 555,        "subscription_id": 12345,        "subscription_renewal_configuration_id": 987,        "item_id": 42,        "item_type": "Product",        "price_point_id": 73,        "price_point_type": "ProductPricePoint",        "quantity": 1,        "decimal_quantity": "1.0",        "created_at": "2025-09-01T12:00:00Z"      }    ],    "contract": {      "id": 222    }  }}