create_product_rate_plan
Creates a product rate plan by specifying type, name, and product ID. Supports optional settings for dates, commitment, and image.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"productId": "<productId>",
"name": "<name>",
"type": "<type>"
},
"name": "create_product_rate_plan"
}
}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 |