Edit subscription
sealsubscriptions_edit_subscriptionWRITE: Edit a subscription's schedule and details: delivery and billing interval (a billing interval longer than the delivery interval makes it prepaid), min/max number of payments, note attributes (an empty list removes them), delivery method and price, and the shipping address. Only the fields you pass change. To change items use the item tools. PUT /subscription action=edit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| s_zip | No | ||
| s_city | No | ||
| s_phone | No | ||
| s_company | No | ||
| s_country | No | ||
| s_address1 | No | ||
| s_address2 | No | ||
| s_province | No | ||
| s_last_name | No | ||
| s_first_name | No | ||
| delivery_price | No | ||
| s_country_code | No | ||
| note_attributes | No | Replaces all note attributes. | |
| s_province_code | No | ||
| subscription_id | Yes | The subscription's `id` (not its `internal_id`). | |
| billing_interval | No | Billing interval, e.g. "8 week". Longer than delivery_interval = prepaid. | |
| delivery_interval | No | Delivery interval, e.g. "4 week" or "1 month". | |
| billing_max_cycles | No | Maximum number of payments (0 = unlimited). | |
| billing_min_cycles | No | Minimum number of payments. | |
| delivery_method_code | No | ||
| delivery_method_title | No | ||
| delivery_method_presentment_title | No | ||
| automatically_update_product_prices | No | When switching between prepaid and not prepaid, reprice the items. |