payware_products_create_schedule
Create a product price schedule to manage time-based pricing using start/end dates and correction rules; Premium plan required.
Instructions
[Merchant] Create a price schedule for a product to manage time-based pricing. Premium (PRM) plan only: the server answers 403 on any other plan (for an ISV, the merchant's plan).
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": "payware_products_create_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dateTo | No | Schedule end date (YYYY-MM-DD format) | |
| dateFrom | No | Schedule start date (YYYY-MM-DD format) | |
| partnerId | No | Merchant partner ID (uses PAYWARE_PARTNER_ID env var as default) | partner_12345 |
| productId | Yes | Product identifier (starts with 'pr') | |
| privateKey | No | RSA private key for authentication (uses environment-specific private key as default) | |
| useSandbox | No | Use sandbox environment | |
| description | No | Schedule description | |
| correctionType | No | Price correction method | PERCENTAGE |
| correctionValue | No | Correction value (positive number with max 2 decimals) | 0.00 |
| priceCorrection | No | Price correction direction | DISCOUNT |