Edit subscription rule
sealsubscriptions_edit_subscription_ruleWRITE: Edit a subscription rule: its name, the plan selector label (options, e.g. "Deliver every") and the products it applies to. product_variants REPLACES all products and variants linked to the rule: to add some without removing the others use sealsubscriptions_append_rule_product_variants. PUT /subscription-rule.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| options | No | Label for the plan selector, e.g. "Deliver every". | |
| rule_id | Yes | Subscription rule id. | |
| product_variants | No | The complete new list of products/variants (replaces the current list; an empty list unlinks every product). |