get_sales_statistics
Retrieve sales data for a specified time frame (daily, weekly, monthly, yearly) or custom period to analyze performance on CS-Cart MCP Server.
Instructions
Get sales statistics for a specific period
Input Schema
Name | Required | Description | Default |
---|---|---|---|
period | No | Time period (D=Today, W=This week, M=This month, Y=This year) | M |
time_from | No | Start date for custom period (YYYY-MM-DD) | |
time_to | No | End date for custom period (YYYY-MM-DD) |
Input Schema (JSON Schema)
{
"properties": {
"period": {
"default": "M",
"description": "Time period (D=Today, W=This week, M=This month, Y=This year)",
"enum": [
"D",
"W",
"M",
"Y"
],
"type": "string"
},
"time_from": {
"description": "Start date for custom period (YYYY-MM-DD)",
"type": "string"
},
"time_to": {
"description": "End date for custom period (YYYY-MM-DD)",
"type": "string"
}
},
"type": "object"
}