create_product_rate_plan
Create subscription billing rate plans with required product ID, name, and type (contract, ongoing, or prepaid) to manage recurring payment structures.
Instructions
Create a rate plan. POST /product-rateplans. Required: productId (product reference, URI: /products/{productId}), name, type (contract|ongoing|prepaid). Optional: description, effectiveStartDate, effectiveEndDate, minimumCommitment, image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| productId | Yes | Product ID (URI: /products/{productId}) | |
| name | Yes | Rate plan name | |
| type | Yes | Type: contract, ongoing, or prepaid | |
| description | No | Description | |
| effectiveStartDate | No | Effective start date | |
| effectiveEndDate | No | Effective end date | |
| minimumCommitment | No | Minimum commitment | |
| minimumCommitmentLength | No | Minimum commitment length | |
| minimumCommitmentUnit | No | Minimum commitment unit | |
| changeStatusBasedOnCharge | No | Change status based on charge | |
| sourceTemplateId | No | Source template ID | |
| image | No | Image |