create_subscription
Create a new subscription by linking a product rate plan to a customer, payment method, billing address, and start date.
Instructions
Create a subscription from a product rate plan. POST /subscriptions/from-product-rateplan. Required: productRatePlanId, customerId, customerPaymentMethodId, billingAddressId, effectiveStartDate.
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": {
"productRatePlanId": "<productRatePlanId>",
"customerId": "<customerId>",
"customerPaymentMethodId": "<customerPaymentMethodId>",
"billingAddressId": "<billingAddressId>",
"effectiveStartDate": "<effectiveStartDate>"
},
"name": "create_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| productRatePlanId | Yes | Product rate plan ID | |
| customerId | Yes | Customer ID | |
| customerPaymentMethodId | Yes | Customer payment method ID | |
| billingAddressId | Yes | Billing address ID | |
| effectiveStartDate | Yes | Effective start date YYYY-MM-DD |