purchaseContract
Purchase a contract or membership for a client by specifying client ID, contract ID, and start date. Optionally set location, promotion code, client signature, and first payment timing.
Instructions
Purchase a contract/membership
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": {
"clientId": "<clientId>",
"contractId": "<contractId>",
"startDate": "<startDate>"
},
"name": "purchaseContract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clientId | Yes | Client ID | |
| startDate | Yes | Start date in YYYY-MM-DD format | |
| contractId | Yes | Contract ID | |
| locationId | No | Location ID | |
| promotionCode | No | Promotion code | |
| clientSignature | No | Client signature | |
| firstPaymentOccurs | No |