Change / upgrade service product
change_contract_productUpgrade or downgrade a contract product to a different product, generating a pro-rata invoice or credit note. Use dry_run to preview billing impact before making changes.
Instructions
Upgrade or downgrade a contract product to a different product (with pro-rata invoice/credit note). Set dry_run=true first to preview the billing impact without changing anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | Custom price override | |
| dry_run | No | Preview only — nothing is written (default false) | |
| quantity | No | ||
| contract_id | Yes | Contract UUID | |
| refund_source | No | 0 original source, 1 wallet | |
| new_product_id | Yes | New product UUID | |
| contract_product_id | Yes | Contract product UUID | |
| billing_cycle_months | No | ||
| use_current_due_date | No | Keep the existing next due date (default true) |